[IMP] claim_from_delivery: display the 'Claims' button only on outgoing shipments
bzr revid: qdp-launchpad@openerp.com-20140422095926-w280p1pueb2ts0w3
This commit is contained in:
parent
57cebaaac6
commit
57e78c2846
|
@ -17,8 +17,7 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="/form/sheet/h1" position="before">
|
<xpath expr="/form/sheet/h1" position="before">
|
||||||
<div class="oe_right oe_button_box">
|
<div class="oe_right oe_button_box">
|
||||||
<!-- TODO: Show only when picking type out (or add boolean to picking type)-->
|
<button name="%(action_claim_from_delivery)d" string="Claims" type="action" attrs="{'invisible': [('picking_type_id.code', '=', 'outgoing')]}"/>
|
||||||
<button name="%(action_claim_from_delivery)d" string="Claims" type="action"/>
|
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
|
Loading…
Reference in New Issue