[MERGE] usability in purchase order and demo data of hr.expense

bzr revid: qdp-launchpad@openerp.com-20121212105944-3osl24f7i1przey1
This commit is contained in:
Quentin (OpenERP) 2012-12-12 11:59:44 +01:00
commit 1f92bd6854
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
<record id="air_ticket" model="product.product">
<field name="list_price">700.0</field>
<field name="standard_price">700.0</field>
<field name="type">service</field>
<field name="name">Air Ticket</field>
<field name="default_code">AT</field>

View File

@ -242,7 +242,7 @@
<field name="invoice_method"/>
<field name="invoiced"/>
<field name="payment_term_id" widget="selection"/>
<field name="fiscal_position"/>
<field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}" />
<!-- We do not need these fields anymore, the information is in open chatter -->
<field name="validator" groups="base.group_no_one"/>
<field name="date_approve" groups="base.group_no_one"/>