| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="res_config_settings_view_form" model="ir.ui.view"> |
| 5 | <field name="name">res.config.settings.view.form.inherit.pos_sale</field> |
| 6 | <field name="model">res.config.settings</field> |
| 7 | <field name="inherit_id" ref="point_of_sale.res_config_settings_view_form"/> |
| 8 | <field name="arch" type="xml"> |
| 9 | <block id="pos_accounting_section" position="after"> |
| 10 | <block title="Sales"> |
| 11 | <setting string="Sales Team" help="Sales are reported to the following sales team"> |
| 12 | <field name="pos_crm_team_id" context="{'kanban_view_ref': 'sales_team.crm_team_view_kanban'}" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"/> |
| 13 | </setting> |
| 14 | <setting id="down_payment_product" string="Down Payment Product" help="This product will be applied when down payment is made"> |
| 15 | <field |
| 16 | name="pos_down_payment_product_id" |
| 17 | domain="[('type', '=', 'service'), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" |
| 18 | context="{ |
| 19 | 'default_type': 'service', |
| 20 | 'default_taxes_id': False, |
| 21 | }" |
| 22 | /> |
| 23 | </setting> |
| 24 | </block> |
| 25 | </block> |
| 26 | </field> |
| 27 | </record> |
| 28 | </odoo> |