mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
... on the policy level if it is empty. Also, it fixes a bug when a credit line had no currency and the level had the company's currency. As False is different than any currency, it entered in res_currency.compute() with a False currency. It must just fallback on the company's currency if the credit line's currency is empty.
25 lines
783 B
XML
25 lines
783 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="add_dunning_fees_on_policy" model="ir.ui.view">
|
|
<field name="name">add dunning fees on policy</field>
|
|
<field name="model">credit.control.policy</field>
|
|
<field name="inherit_id" ref="account_credit_control.credit_control_policy_form" />
|
|
<field name="arch" type="xml">
|
|
<page string="Mail and reporting" position="after">
|
|
<page string="Fees">
|
|
<group>
|
|
<group>
|
|
<field name="dunning_fixed_amount"/>
|
|
<field name="dunning_product_id"/>
|
|
<field name="dunning_currency_id"/>
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</page>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|