[FIX] point_of_sale: Show the opening_control & closing_control
bzr revid: stw@openerp.com-20120924102613-twii7ba34wctx6c6
This commit is contained in:
@@ -896,8 +896,11 @@
|
||||
<field name="stop_at" attrs="{'invisible' : [('state', '!=', 'closed')]}"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group string="Opening Cash Control" attrs="{'invisible' : [ '&' ,'!', '&', ('state', '=', 'opening_control'), ('cash_control', '=', True), ('state', '!=',
|
||||
'closed')] }" >
|
||||
<!-- (&, !, &, ('state', '=', 'opening_control'),('cash_control', '=', True), ('state', '!=', 'closed')) -->
|
||||
<!--
|
||||
attrs="{'invisible' : [ '&' ,'!', '&', ('state', '=', 'opening_control'), ('cash_control', '=', True), ('state', '!=', 'closed')] }" >
|
||||
-->
|
||||
<group string="Opening Cash Control" attrs="{'invisible' : [('state', 'not in', ('opening_control', 'closing_control', 'closed'))]}">
|
||||
<field name="opening_details_ids" nolabel="1" colspan="2" attrs="{'readonly' : [('state', 'not in', ('opening_control',))]}">
|
||||
<tree string="Opening Cashbox Lines" editable="bottom">
|
||||
<field name="pieces" readonly="1" />
|
||||
@@ -917,7 +920,7 @@
|
||||
</field>
|
||||
</group>
|
||||
|
||||
<div attrs="{'invisible' : [('state', '!=', 'closed')]}">
|
||||
<div attrs="{'invisible' : [('state', 'not in', ('opening_control', 'closing_control', 'closed'))]}">
|
||||
<group class="oe_subtotal_footer oe_right">
|
||||
<field name="cash_register_balance_start" readonly="1" string="Opening Balance" class="oe_subtotal_footer_separator"/>
|
||||
<field name="cash_register_total_entry_encoding" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="+ Transactions"/>
|
||||
|
||||
Reference in New Issue
Block a user