[IMP] Route_ids invisible
bzr revid: jco@openerp.com-20130926090912-rwcfzj1h7a64sbs5
This commit is contained in:
parent
8ea2a7555b
commit
8f43801a7a
|
@ -16,7 +16,6 @@
|
|||
#TODO: to check start date of next line should be end of date of previous line.
|
||||
assert line.date_planned, "Planned Start date is not computed: %s" %(line)
|
||||
assert line.date_planned_end, "Planned End date is not computed: %s" %(line)
|
||||
|
||||
-
|
||||
I confirm the Production Order.
|
||||
-
|
||||
|
|
|
@ -23,5 +23,5 @@
|
|||
-
|
||||
!python {model: mrp.repair}: |
|
||||
repair_id = self.browse(cr, uid, [ref('mrp_repair_rmrp1')], context=context)[0]
|
||||
assert not repair_id.invoice_id.id, "Invoice should not be exists for this repair order"
|
||||
assert not repair_id.invoice_id.id, "Invoice should not exist for this repair order"
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
<field name="inherit_id" ref="stock.view_warehouse"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='partner_id']" position="after">
|
||||
<field name="route_ids" attrs="{'invisible': [('route_id', '=', False)]}"/>
|
||||
<field name="route_ids" invisible="1"/>
|
||||
|
||||
</xpath>
|
||||
<xpath expr="//group[last()]" position="after">
|
||||
|
|
Loading…
Reference in New Issue