[MIG] partner_statement: Migration to 15.0
This commit is contained in:
committed by
Miquel Raïch
parent
683730388e
commit
830d58e8f0
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 ForgeFlow, S.L. (https://www.forgeflow.com)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<template
|
||||
id="report_assets_common"
|
||||
name="oca_statements report assets"
|
||||
inherit_id="web.report_assets_common"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="/partner_statement/static/src/scss/layout_statement.scss"
|
||||
type="text/scss"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -7,76 +7,79 @@
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath
|
||||
expr="//field[@name='module_account_payment']/../.."
|
||||
expr="//div[@name='main_currency_setting_container']"
|
||||
position="after"
|
||||
>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_activity_statement" />
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_activity_statement" />
|
||||
<div class="text-muted">
|
||||
Activity Statements show all transactions between two dates.
|
||||
<h2>Partner Statements</h2>
|
||||
<div class="row mt16 o_settings_container" name="partner_statement">
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_activity_statement" />
|
||||
</div>
|
||||
<div
|
||||
class="content-group"
|
||||
attrs="{'invisible': [('group_activity_statement', '=', False), ('group_outstanding_statement', '=', False)]}"
|
||||
>
|
||||
<div class="row mt16">
|
||||
<label
|
||||
for="default_aging_type"
|
||||
class="col-lg-3 o_light_label"
|
||||
/>
|
||||
<field name="default_aging_type" />
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_activity_statement" />
|
||||
<div class="text-muted">
|
||||
Activity Statements show all transactions between two dates.
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_show_aging_buckets"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_show_aging_buckets"
|
||||
class="o_light_label"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_filter_partners_non_due"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_filter_partners_non_due"
|
||||
class="o_light_label"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_filter_negative_balances"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_filter_negative_balances"
|
||||
class="o_light_label"
|
||||
/>
|
||||
<div
|
||||
class="content-group"
|
||||
attrs="{'invisible': [('group_activity_statement', '=', False), ('group_outstanding_statement', '=', False)]}"
|
||||
>
|
||||
<div class="row mt16">
|
||||
<label
|
||||
for="default_aging_type"
|
||||
class="col-lg-3 o_light_label"
|
||||
/>
|
||||
<field name="default_aging_type" />
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_show_aging_buckets"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_show_aging_buckets"
|
||||
class="o_light_label"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_filter_partners_non_due"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_filter_partners_non_due"
|
||||
class="o_light_label"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<field
|
||||
name="default_filter_negative_balances"
|
||||
class="oe_inline"
|
||||
/>
|
||||
<label
|
||||
for="default_filter_negative_balances"
|
||||
class="o_light_label"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_outstanding_statement" />
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_outstanding_statement" />
|
||||
<div class="text-muted">
|
||||
Outstanding Statements show all transactions up to a date.
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="group_outstanding_statement" />
|
||||
</div>
|
||||
<div
|
||||
class="text-muted"
|
||||
attrs="{'invisible': [('group_outstanding_statement', '=', False)]}"
|
||||
>
|
||||
Please set defaults under Activity Statements.
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="group_outstanding_statement" />
|
||||
<div class="text-muted">
|
||||
Outstanding Statements show all transactions up to a date.
|
||||
</div>
|
||||
<div
|
||||
class="text-muted"
|
||||
attrs="{'invisible': [('group_outstanding_statement', '=', False)]}"
|
||||
>
|
||||
Please set defaults under Activity Statements.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user