You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
1.8 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Inherited form view of configuration settings of stock to add field
move to scrap in settings-->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">
res.config.settings.view.form.inherit.scrap.management
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="stock.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='expiration_dates_serial_numbers']"
position="inside">
<div class="col-12 col-lg-6 o_setting_box"
attrs="{'invisible': [('module_product_expiry', '=', False)]}"
id="move_to_scrap">
<div class="o_setting_left_pane">
<field name="move_to_scrap"/>
</div>
<div class="o_setting_right_pane">
<label for="move_to_scrap" string="Move To Scrap "/>
<div class="text-muted mb16">
Move to Scrap for Expired Products
</div>
<div class="content-group"
attrs="{'invisible': [('move_to_scrap','=',False)]}">
<div class="mt16">
<span class="col-lg-3">After:
<field name="move_to_scrap_days"
attrs="{'required': [('move_to_scrap', '=', True)]}"/>
days
</span>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>