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
2.0 KiB
40 lines
2.0 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- This view is used to add the fields into the settings page -->
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">
|
|
res.config.settings.view.form.inherit.sale.consignment
|
|
</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//block[@id='pricing_setting_container']"
|
|
position="after">
|
|
<block title="Sale Consignment" id="sale_consignment">
|
|
<setting id="sale_consignment_configuration"
|
|
help="Enable sale consignment">
|
|
<field name="group_consignment_order"/>
|
|
<div class="content-group">
|
|
<div class="mt16">
|
|
<field name="location_dest_id"
|
|
class="o_light_label"/>
|
|
</div>
|
|
</div>
|
|
</setting>
|
|
<setting id="sale_consignment_product_condition"
|
|
help="Enable product filtered in consignment by
|
|
consignment product">
|
|
<field name="consignment_product_only"
|
|
invisible="group_consignment_order == False"/>
|
|
</setting>
|
|
<setting id="sale_consignment_customer_condition"
|
|
help="Enable customer filter in consignment by
|
|
consignment product">
|
|
<field name="consignment_customer_only"
|
|
invisible="group_consignment_order == False"/>
|
|
</setting>
|
|
</block>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|