Files
account-financial-tools/account_credit_control_dunning_fees/view/policy_view.xml
Guewen Baconnier 7e13c6ae26 Remove required on the currency and fallback to company's currency...
... 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.
2014-12-15 16:55:13 +01:00

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>