| 1 | <?xml version="1.0"?> |
| 2 | <odoo> |
| 3 | <record id="res_config_settings_view_form" model="ir.ui.view"> |
| 4 | <field name="name">res.config.settings.view.form.inherit.pos_restaurant</field> |
| 5 | <field name="model">res.config.settings</field> |
| 6 | <field name="inherit_id" ref="point_of_sale.res_config_settings_view_form"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <div id="warning_text_pos_restaurant" position="replace"/> |
| 9 | <block id="restaurant_section" position="inside"> |
| 10 | <setting id="floor_and_table_map" string="Floors & Tables Map" help="Design floors and assign orders to tables" documentation="/applications/sales/point_of_sale/restaurant/floors_tables.html" invisible="is_kiosk_mode or not pos_module_pos_restaurant"> |
| 11 | <div class="content-group"> |
| 12 | <div class="mt16"> |
| 13 | <label string="Floors" for="pos_floor_ids" class="o_light_label me-2"/> |
| 14 | <field name="pos_floor_ids" widget="many2many_tags" readonly="pos_has_active_session" /> |
| 15 | </div> |
| 16 | <div> |
| 17 | <button name="%(pos_restaurant.action_restaurant_floor_form)d" icon="oi-arrow-right" type="action" string="Floors" class="btn-link"/> |
| 18 | </div> |
| 19 | </div> |
| 20 | </setting> |
| 21 | <setting string="Early Receipt Printing" help="Allow to print receipt before payment" id="iface_printbill" invisible="not pos_module_pos_restaurant or is_kiosk_mode"> |
| 22 | <field name="pos_iface_printbill"/> |
| 23 | </setting> |
| 24 | <setting help="Split total or order lines" id="iface_splitbill" documentation="/applications/sales/point_of_sale/restaurant/bill_printing.html" invisible="not pos_module_pos_restaurant or is_kiosk_mode"> |
| 25 | <field name="pos_iface_splitbill" string="Allow Bill Splitting"/> |
| 26 | </setting> |
| 27 | </block> |
| 28 | <div id="tip_product" position="after"> |
| 29 | <div invisible="not pos_module_pos_restaurant or not pos_iface_tipproduct or country_code == 'BE'"> |
| 30 | <field name="pos_set_tip_after_payment" class="oe_inline"/> |
| 31 | <label class="fw-normal" for="pos_set_tip_after_payment" string="Add tip after payment"/> |
| 32 | </div> |
| 33 | </div> |
| 34 | <block id="pos_interface_section" position="inside"> |
| 35 | <setting invisible="not pos_module_pos_restaurant or is_kiosk_mode" help="Select the table first or after registering the order"> |
| 36 | <field name="pos_default_screen" widget="radio"/> |
| 37 | </setting> |
| 38 | </block> |
| 39 | </field> |
| 40 | </record> |
| 41 | </odoo> |