diff options
| author | William Henrotin <whe@odoo.com> | 2020-04-27 11:56:02 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2020-06-15 16:59:41 +0200 |
| commit | 0e2765f5fd0ca0079f1f024ec3a1448b6d2ea3db (patch) | |
| tree | 90ea03d1aca1bf87a080775e7db07977b645c5cc /addons/mrp_subcontracting/views | |
| parent | 1b6421285c6bc4c61be3242cea30c2813251cbc7 (diff) | |
[REF] mrp: no more produce wizard
Use a view similar as the pickings one.
task-2241471
Diffstat (limited to 'addons/mrp_subcontracting/views')
| -rw-r--r-- | addons/mrp_subcontracting/views/stock_move_views.xml | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/addons/mrp_subcontracting/views/stock_move_views.xml b/addons/mrp_subcontracting/views/stock_move_views.xml index 63ccc1c0a62..58159cc81c9 100644 --- a/addons/mrp_subcontracting/views/stock_move_views.xml +++ b/addons/mrp_subcontracting/views/stock_move_views.xml @@ -17,11 +17,6 @@ <field name="state" invisible="1"/> <field name="tracking" invisible="1"/> <field name="product_id" readonly="1"/> - <field name="lot_produced_ids" - widget="many2many_tags" - context="{'default_product_id': parent.product_id}" - attrs="{'column_invisible': [('parent.finished_lots_exist', '!=', True)]}" - /> <field name="qty_done"/> <field name="lot_id" context="{'default_product_id': product_id}"/> </tree> @@ -30,17 +25,17 @@ </form> </field> </record> - <record id="mrp_subcontracting_move_tree_view" model="ir.ui.view"> - <field name="name">mrp.subcontracting.move.tree.view</field> - <field name="model">stock.move</field> - <field name="priority">1000</field> - <field name="mode">primary</field> - <field name="inherit_id" ref="mrp.view_stock_move_raw_tree"/> - <field name="arch" type="xml"> - <xpath expr="//tree" position="attributes"> - <attribute name="create">0</attribute> - <attribute name="delete">0</attribute> - </xpath> - </field> - </record> + <!-- <record id="mrp_subcontracting_move_tree_view" model="ir.ui.view"> --> + <!-- <field name="name">mrp.subcontracting.move.tree.view</field> --> + <!-- <field name="model">stock.move</field> --> + <!-- <field name="priority">1000</field> --> + <!-- <field name="mode">primary</field> --> + <!-- <field name="inherit_id" ref="mrp.view_stock_move_raw_tree"/> --> + <!-- <field name="arch" type="xml"> --> + <!-- <xpath expr="//tree" position="attributes"> --> + <!-- <attribute name="create">0</attribute> --> + <!-- <attribute name="delete">0</attribute> --> + <!-- </xpath> --> + <!-- </field> --> + <!-- </record> --> </odoo> |
