Odoo18-Base/addons/pos_sale/views/res_config_settings_views.xml
2025-01-06 10:57:38 +07:00

29 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.pos_sale</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="point_of_sale.res_config_settings_view_form"/>
<field name="arch" type="xml">
<block id="pos_accounting_section" position="after">
<block title="Sales">
<setting string="Sales Team" help="Sales are reported to the following sales team">
<field name="pos_crm_team_id" context="{'kanban_view_ref': 'sales_team.crm_team_view_kanban'}" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"/>
</setting>
<setting id="down_payment_product" string="Down Payment Product" help="This product will be applied when down payment is made">
<field
name="pos_down_payment_product_id"
domain="[('type', '=', 'service'), '|', ('company_id', '=', company_id), ('company_id', '=', False)]"
context="{
'default_type': 'service',
'default_taxes_id': False,
}"
/>
</setting>
</block>
</block>
</field>
</record>
</odoo>