[IMP] Added attrs for closing balance.

bzr revid: psa@tinyerp.com-20131015064247-ibvmy8b8wzqjtklm
This commit is contained in:
Paramjit Singh Sahota 2013-10-15 12:12:47 +05:30
parent 760053f90c
commit bd7a61b8ff
1 changed files with 1 additions and 1 deletions

View File

@ -2327,7 +2327,7 @@
</field>
</group>
<group string="Closing Cash Control" attrs="{'invisible' : [('state', '=', 'draft')]}">
<field name="closing_details_ids" colspan="2" nolabel="1">
<field name="closing_details_ids" colspan="2" nolabel="1" attrs="{'readonly' : [('state', '=', 'confirm')]}">
<tree string="Closing Cashbox Lines" editable="bottom">
<field name="pieces" readonly="1" />
<field name="number_closing" on_change="on_change_sub_closing(pieces, number_closing)"/>