changeset b74467186247 in modules/account_fr:default
details:
https://hg.tryton.org/modules/account_fr?cmd=changeset;node=b74467186247
description:
Set default value for party_required and reconcile on 400 and 410
changeset e6eda2ef9d72 when changing the kind to view removed the field
but it
updates the existing record with invalid value for the domain.
issue8069
review49771003
diffstat:
account_fr.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 6aa9705b4af9 -r b74467186247 account_fr.xml
--- a/account_fr.xml Sat Jan 26 01:10:47 2019 +0100
+++ b/account_fr.xml Sun Feb 10 20:38:36 2019 +0100
@@ -5265,6 +5265,9 @@
<field name="code">400</field>
<field name="kind">view</field>
<field name="parent" ref="40"/>
+ <!-- Migration from 5.0 -->
+ <field name="party_required" eval="False"/>
+ <field name="reconcile" eval="False"/>
</record>
<record model="account.account.template" id="401">
<field name="name">Fournisseurs</field>
@@ -5450,6 +5453,9 @@
<field name="code">410</field>
<field name="kind">view</field>
<field name="parent" ref="41"/>
+ <!-- Migration from 5.0 -->
+ <field name="party_required" eval="False"/>
+ <field name="reconcile" eval="False"/>
</record>
<record model="account.account.template" id="411">
<field name="name">Clients</field>