diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-08-30 09:26:29 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-08-30 09:26:29 +0700 |
| commit | 69b4bef9770aaaefd40361acb9ca2b3974e163d5 (patch) | |
| tree | 40e8b7b8a0ca504a98f46fb89c4e26bda25b39de /indoteknik_custom/views | |
| parent | b557dfe5249e471a1b7277d5c189313ce303347b (diff) | |
add custom field internal use using force save
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/stock_picking_type.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_picking_type.xml b/indoteknik_custom/views/stock_picking_type.xml index 7a8f45dd..dfc74cad 100644 --- a/indoteknik_custom/views/stock_picking_type.xml +++ b/indoteknik_custom/views/stock_picking_type.xml @@ -15,4 +15,21 @@ </field> </record> </data> + <data> + <record id="stock_picking_form_view_inherit" model="ir.ui.view"> + <field name="name">Stock Picking</field> + <field name="model">stock.picking</field> + <field name="inherit_id" ref="stock.view_picking_form"/> + <field name="arch" type="xml"> + <field name="backorder_id" position="after"> + <field name="is_internal_use" + string="Internal Use" + type="object" + attrs="{'readonly': True}" + force_save="1" + /> + </field> + </field> + </record> + </data> </odoo>
\ No newline at end of file |
