[IMP] point_of_sale: View Improvements.

bzr revid: uco@tinyerp.com-20100812064021-hn28k1semhrip49x
This commit is contained in:
uco (Open ERP) 2010-08-12 12:10:21 +05:30
parent c4b8bfd231
commit 1c4eeb1909
2 changed files with 6 additions and 5 deletions

View File

@ -22,15 +22,16 @@
</field>
</record>
<menuitem name="Cash Register" parent="point_of_sale.menu_point_root" id="menu_cash_register" sequence="4"/>
<menuitem name="Cash Register" parent="point_of_sale.menu_point_root" id="menu_cash_register"
sequence="4" groups="group_pos_manager"/>
<menuitem
<!--<menuitem
name="All Cash Registers"
parent="menu_cash_register"
action="account.action_view_bank_statement_tree"
id="menu_all_menu_cash_register"
sequence="4"
/>
/>-->
<record id="action_new_bank_statement_tree" model="ir.actions.act_window">
<field name="name">Cash Register</field>

View File

@ -12,7 +12,7 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Add payment :">
<group colspan="4" width="600" height="230">
<group colspan="4" width="600" height="200">
<field name="journal"/>
<field name="amount" />
<field name="payment_date" />
@ -20,7 +20,7 @@
<field name="invoice_wanted" />
<field name="num_sale" />
<field name="is_acc" />
<group attrs="{'readonly':[('is_acc','=',False)]}" colspan="4" col="2">
<group attrs="{'invisible':[('is_acc','=',False)]}" colspan="4" col="2">
<field name="product_id" attrs="{'required':[('is_acc', '=', True)]}" domain="[('type','=','service')]"/>
</group>
<newline/>