[FIX] mrp_repair: error in rml fixed + [FIX] purchase_requisition, mrp_repair: added missing field picking_type_id in form view

bzr revid: qdp-launchpad@openerp.com-20130910100401-koyf5nh0m2fq7cjm
This commit is contained in:
Quentin (OpenERP) 2013-09-10 12:04:01 +02:00
parent 8c44eaf870
commit 7abdf00052
3 changed files with 3 additions and 2 deletions

View File

@ -53,6 +53,7 @@
<group>
<field name="guarantee_limit"/>
<field name="deliver_bool"/>
<field name="picking_type_id" attrs="{'invisible': [('deliver_bool','=', False)], 'required': [('deliver_bool', '=', True)]}"/>
<field name="repaired" groups="base.group_no_one"/>
<field name="invoiced" groups="base.group_no_one"/>
</group>

View File

@ -256,7 +256,7 @@
<para style="P16">[[ o.product_id.name or '' ]]</para>
</td>
<td>
<para style="P16">[[ o.prodlot_id.name or ' ' ]]</para>
<para style="P16">[[ ','.join([x.name for x in o.move_id.lot_ids]) ]]</para>
</td>
<td>
<para style="P16">[[ formatLang(o.guarantee_limit,date = True) ]]</para>

View File

@ -62,7 +62,7 @@
<field name="ordering_date" attrs="{'readonly': [('state','not in',('draft'))]}"/>
<field name="schedule_date" attrs="{'readonly': [('state','not in',('draft'))]}"/>
<field name="origin" placeholder="e.g. OP0025" attrs="{'readonly': [('state','not in',('draft'))]}"/>
<field name="warehouse_id" widget="selection" groups="stock.group_locations" attrs="{'readonly': [('state','not in',('draft'))]}"/>
<field name="picking_type_id" widget="selection" groups="stock.group_locations" attrs="{'readonly': [('state','not in',('draft'))]}"/>
<field name="company_id" groups="base.group_multi_company" widget="selection" attrs="{'readonly': [('state','not in',('draft'))]}"/>
</group>
</group>