| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <odoo> |
| 3 | <record id='view_mrp_landed_costs_form' model='ir.ui.view'> |
| 4 | <field name="name">mrp.subcontracting.landed.cost.form</field> |
| 5 | <field name="model">stock.landed.cost</field> |
| 6 | <field name="inherit_id" ref="mrp_landed_costs.view_mrp_landed_costs_form"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <field name="mrp_production_ids" position="attributes"> |
| 9 | <attribute name="context">{'search_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_filter', 'list_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_tree_view'}</attribute> |
| 10 | </field> |
| 11 | <field name="picking_ids" position="attributes"> |
| 12 | <attribute name="domain">[('company_id', '=', company_id), '|', '|', ('move_ids.is_in', '!=', False), ('move_ids.is_out', '!=', False), '&', ('move_ids.is_subcontract', '!=', False), ('move_ids.state', '=', 'done')]</attribute> |
| 13 | </field> |
| 14 | </field> |
| 15 | </record> |
| 16 | </odoo> |