Implement task. This commit refs #1089

This commit is contained in:
Nicolás López 2016-02-29 14:23:57 +01:00
parent e92a3dfbde
commit 0ca9e5c447
2 changed files with 18 additions and 1 deletions

View File

@ -624,4 +624,8 @@ msgstr "Aceptar"
msgctxt "wizard_button:stock.unit_load.batch_drop,data,end:"
msgid "Cancel"
msgstr "Cancelar"
msgstr "Cancelar"
msgctxt "model:ir.action,name:act_unit_loads_shipment_out"
msgid "Shipment Out"
msgstr "Albarán"

View File

@ -10,5 +10,18 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">shipment_out_form</field>
<field name="inherit" ref="stock.shipment_out_view_form"/>
</record>
<!-- form relate -->
<record model="ir.action.act_window" id="act_unit_loads_shipment_out">
<field name="name">Shipment Out</field>
<field name="res_model">stock.shipment.out</field>
<field name="domain" eval="[('unit_loads', 'in', Eval('active_ids'))]" pyson="1"/>
</record>
<record model="ir.action.keyword" id="act_unit_loads_shipment_out_keyword1">
<field name="keyword">form_relate</field>
<field name="model">stock.unit_load,-1</field>
<field name="action" ref="act_unit_loads_shipment_out"/>
</record>
</data>
</tryton>