mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-26 16:12:07 +02:00
Initial commit: Mrp packages
This commit is contained in:
commit
50d736b3bd
739 changed files with 538193 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
<odoo>
|
||||
<record id="view_purchase_order_inherit" model="ir.ui.view">
|
||||
<field name="name">Purchase Order Inherit Dropship Subcontractor</field>
|
||||
<field name="model">purchase.order</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="dest_address_id" position="before">
|
||||
<field name="default_location_dest_id_is_subcontracting_loc" invisible="1"/>
|
||||
</field>
|
||||
<field name="dest_address_id" position="attributes">
|
||||
<attribute name="attrs">{'invisible': [('default_location_dest_id_usage', '!=', 'customer'), ('default_location_dest_id_is_subcontracting_loc', '=', False)],
|
||||
'required': ['|', ('default_location_dest_id_usage', '=', 'customer'), ('default_location_dest_id_is_subcontracting_loc', '=', True)]}</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_warehouse_inherit_mrp_subcontracting_dropshipping" model="ir.ui.view">
|
||||
<field name="name">Stock Warehouse Inherit Subcontracting Dropshipping</field>
|
||||
<field name="model">stock.warehouse</field>
|
||||
<field name="inherit_id" ref="mrp_subcontracting.view_warehouse_inherit_mrp_subcontracting"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='subcontracting_to_resupply']" position="before">
|
||||
<field name="subcontracting_dropshipping_to_resupply" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue