30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.website.sale.stock</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="website_sale.res_config_settings_view_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='product_availability_setting']" position="attributes">
|
|
<attribute name="title">Manage the inventory of your products and display their availability status on the website.</attribute>
|
|
</xpath>
|
|
|
|
<xpath expr="//div[@name='stock_inventory_availability']" position="inside">
|
|
<div class="content-group">
|
|
<div class="row mt16" title="Default availability mode set on newly created stockable products. This can be changed at the product level.">
|
|
<label for="inventory_availability" string="Default Availability Mode" class="col-md-3 o_light_label" />
|
|
<field name="inventory_availability" />
|
|
</div><br/>
|
|
<div class="row" attrs="{'invisible': [('inventory_availability', '!=', 'threshold')]}">
|
|
<label for="available_threshold" string="Default threshold" class="col-md-3 o_light_label" />
|
|
<field name="available_threshold" class="oe_inline" attrs="{'required': [('inventory_availability', '=', 'threshold')]}"/>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|
|
|