diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-01-04 14:54:08 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-01-04 14:54:08 +0100 |
| commit | ec9400821ecf45d9495740ebcea9e213ef12d3fe (patch) | |
| tree | 93a7753a321f05fe5fcd88b67e5e29034f5107e7 /addons/stock_picking_batch/wizard | |
| parent | 2cdc1cc9ced4364cac403fd0891836dba52bdd08 (diff) | |
| parent | 27a084eb814acd81679db1e461c53389d6afc875 (diff) | |
[MERGE] forward port branch saas-11.3 up to 27a084eb814
Diffstat (limited to 'addons/stock_picking_batch/wizard')
| -rw-r--r-- | addons/stock_picking_batch/wizard/stock_picking_to_batch.py | 2 | ||||
| -rw-r--r-- | addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/stock_picking_batch/wizard/stock_picking_to_batch.py b/addons/stock_picking_batch/wizard/stock_picking_to_batch.py index ddf02ffc172..4739e39670e 100644 --- a/addons/stock_picking_batch/wizard/stock_picking_to_batch.py +++ b/addons/stock_picking_batch/wizard/stock_picking_to_batch.py @@ -8,7 +8,7 @@ class StockPickingToBatch(models.TransientModel): _name = 'stock.picking.to.batch' _description = 'Batch Picking Lines' - batch_id = fields.Many2one('stock.picking.batch', string='Batch Picking', required=True, oldname="wave_id") + batch_id = fields.Many2one('stock.picking.batch', string='Batch Picking', oldname="wave_id") @api.multi def attach_pickings(self): diff --git a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml index da393c44972..b3b7b9a0108 100644 --- a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml +++ b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml @@ -8,7 +8,7 @@ <field name="arch" type="xml"> <form string="Add pickings to batch"> <separator string="Select a batch"/> - <field name="batch_id" class="oe_inline" options="{'no_create_edit': True, 'no_open': True}"/> + <field name="batch_id" class="oe_inline" required="1" options="{'no_create_edit': True, 'no_open': True}"/> <footer> <button name="attach_pickings" type="object" string="Add to Batch" class="btn-primary"/> <button string="Cancel" class="btn-secondary" special="cancel"/> |
