| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_view_form" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.view.form.inherit.point_of_sale</field> |
| 5 |
<field name="model">res.config.settings</field> |
| 6 |
<field name="priority" eval="95"/> |
| 7 |
<field name="inherit_id" ref="base.res_config_settings_view_form" /> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<xpath expr="//form" position="inside"> |
| 10 |
<t groups="point_of_sale.group_pos_manager"> |
| 11 |
<field name="is_kiosk_mode" invisible="1"/> |
| 12 |
<field name="pos_selectable_categ_ids" invisible="1"/> |
| 13 |
<field name="pos_has_active_session" invisible="1"/> |
| 14 |
<field name="pos_allowed_pricelist_ids" invisible="1"/> |
| 15 |
<field name="pos_cash_control" invisible="1"/> |
| 16 |
<field name="pos_iface_print_via_proxy" invisible="1"/> |
| 17 |
<field name="pos_company_has_template" invisible="1"/> |
| 18 |
<field name="group_cash_rounding" invisible="1"/> |
| 19 |
</t> |
| 20 |
|
| 21 |
<app data-string="Point of sale" string="Point of Sale" name="point_of_sale" groups="point_of_sale.group_pos_manager"> |
| 22 |
<div class="pos_res_config_container"> |
| 23 |
<div class="sticky-top w-100 bg-white"> |
| 24 |
<setting type="header" string="Point of Sale" class="bg-warning"> |
| 25 |
<field name="pos_config_id" options="{'no_open': True, 'no_create': True}" title="Settings on this page will apply to this point of sale."/> |
| 26 |
<button name="action_pos_config_create_new" type="object" string="+ New Shop" class="btn btn-link"/> |
| 27 |
</setting> |
| 28 |
</div> |
| 29 |
|
| 30 |
<div class="pos_config_content"> |
| 31 |
<div class="o_view_nocontent" invisible="pos_config_id"> |
| 32 |
<div class="o_nocontent_help"> |
| 33 |
<p class="o_view_nocontent_empty_folder">No Point of Sale selected</p> |
| 34 |
<p>Please create/select a Point of Sale above to show the configuration options.</p> |
| 35 |
</div> |
| 36 |
</div> |
| 37 |
<div class="o_notification_alert alert alert-warning mt-1 mb-0" invisible="not pos_has_active_session" role="alert"> |
| 38 |
A session is currently opened for this PoS. Some settings can only be changed after the session is closed. |
| 39 |
<button class="btn-link" style="padding:0" name="pos_close_ui" type="object" context="{'pos_config_id': pos_config_id}">Click here to close the session</button> |
| 40 |
</div> |
| 41 |
<div class="o_notification_alert alert alert-warning" invisible="pos_company_has_template or chart_template" role="alert"> |
| 42 |
There is no Chart of Accounts configured on the company. Please go to the invoicing settings to install a Chart of Accounts. |
| 43 |
</div> |
| 44 |
<div invisible="not pos_config_id"> |
| 45 |
<block title="Point of Sale" id="restaurant_section"> |
| 46 |
<!-- Wrap the warnings in an o_setting_box so that it doesn't show in the search. --> |
| 47 |
<setting id="is_restaurant"> |
| 48 |
<field name="pos_module_pos_restaurant" readonly="pos_has_active_session"/> |
| 49 |
<div class="content-group" id="warning_text_pos_restaurant" invisible="not pos_module_pos_restaurant"> |
| 50 |
<div class="text-warning mt16 mb4"> |
| 51 |
Save this page and come back here to set up the feature. |
| 52 |
</div> |
| 53 |
</div> |
| 54 |
</setting> |
| 55 |
<setting string="Take out / Delivery / Members" help="Define presets to manage taxes & prices for dine in, take out, members..." > |
| 56 |
<field name="pos_use_presets"/> |
| 57 |
<div class="content-group" invisible="not pos_use_presets"> |
| 58 |
<div class="row"> |
| 59 |
<label for="pos_available_preset_ids" class="col-lg-3" string="Available"/> |
| 60 |
<field name="pos_available_preset_ids" widget="many2many_tags" options="{'no_quick_create': True, 'color_field': 'color'}" /> |
| 61 |
</div> |
| 62 |
<div class="row"> |
| 63 |
<label for="pos_default_preset_id" class="col-lg-3" string="Default"/> |
| 64 |
<field name="pos_default_preset_id" |
| 65 |
options="{'no_create': True}" |
| 66 |
required="pos_use_presets" |
| 67 |
domain="[('id', 'in', pos_available_preset_ids)]"/> |
| 68 |
</div> |
| 69 |
<div> |
| 70 |
<button name="%(action_pos_preset_form)d" icon="oi-arrow-right" type="action" string="Configure Presets" class="btn-link"/> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</setting> |
| 74 |
</block> |
| 75 |
<block title="Payment" id="pos_payment_section"> |
| 76 |
<setting id="payment_methods_new" string="Payment Methods" help="Payment methods available" documentation="/applications/sales/point_of_sale/payment_methods.html"> |
| 77 |
<field name="pos_payment_method_ids" |
| 78 |
colspan="4" |
| 79 |
widget="many2many_tags" |
| 80 |
readonly="pos_has_active_session" |
| 81 |
required="pos_company_has_template" |
| 82 |
options="{'no_quick_create': True}" |
| 83 |
context="{'default_config_ids': [pos_config_id], 'form_view_ref': 'point_of_sale.action_pos_payment_method_form' }" /> |
| 84 |
<div> |
| 85 |
<button name="%(action_payment_methods_tree)d" icon="oi-arrow-right" type="action" string="Payment Methods" class="btn-link"/> |
| 86 |
</div> |
| 87 |
</setting> |
| 88 |
<setting string="Automatically validate order" help="Automatically validates orders paid with a payment terminal."> |
| 89 |
<field name="pos_auto_validate_terminal_payment"/> |
| 90 |
</setting> |
| 91 |
<setting string="Cash Rounding" invisible="is_kiosk_mode" documentation="/applications/sales/point_of_sale/pricing/cash_rounding.html" help="Define the smallest coinage of the currency used to pay by cash"> |
| 92 |
<field name="pos_cash_rounding" readonly="pos_has_active_session"/> |
| 93 |
<div class="content-group mt16" invisible="not pos_cash_rounding"> |
| 94 |
<div class="row mt16"> |
| 95 |
<label string="Rounding Method" for="pos_rounding_method" class="col-lg-3 o_light_label" /> |
| 96 |
<field name="pos_rounding_method" required="pos_cash_rounding" readonly="pos_has_active_session" options="{'no_quick_create': True}" /> |
| 97 |
</div> |
| 98 |
<div class="row mt16"> |
| 99 |
<div class="col"> |
| 100 |
<field name="pos_only_round_cash_method" readonly="pos_has_active_session"/> |
| 101 |
<label string="Only on cash methods" for="pos_only_round_cash_method" class="o_light_label" /> |
| 102 |
</div> |
| 103 |
</div> |
| 104 |
</div> |
| 105 |
<div class="mt8"> |
| 106 |
<button name="%(account.rounding_list_action)d" icon="oi-arrow-right" |
| 107 |
type="action" string="Cash Roundings" class="btn-link" |
| 108 |
invisible="not group_cash_rounding"/> |
| 109 |
</div> |
| 110 |
</setting> |
| 111 |
<setting title="Online payment, delivery payment, terminal payment, and methods that require customer identification are not supported for fast payment validation." help="Shortcut to skip payment screen" invisible="is_kiosk_mode"> |
| 112 |
<field name="pos_use_fast_payment" string="One-click Payment" /> |
| 113 |
<div class="content-group mt16" invisible="not pos_use_fast_payment"> |
| 114 |
<label for="pos_fast_payment_method_ids" class="fw-bold me-2"/> |
| 115 |
<field name="pos_fast_payment_method_ids" widget="many2many_tags" string="Payment Methods" |
| 116 |
options="{'no_create': True}" required="pos_use_fast_payment" domain="[('id', 'in', pos_payment_method_ids), ('use_payment_terminal', '=', False), ('split_transactions', '=', False)]"/> |
| 117 |
</div> |
| 118 |
</setting> |
| 119 |
<setting id="set_maximum_difference" help="Set a maximum difference allowed between the expected and counted money during the closing of the session"> |
| 120 |
<field name="pos_set_maximum_difference" /> |
| 121 |
<div class="content-group mt16" invisible="not pos_set_maximum_difference"> |
| 122 |
<label for="pos_amount_authorized_diff" string="Authorized Difference" class="fw-normal me-1"/> |
| 123 |
<field name="pos_amount_authorized_diff"/> |
| 124 |
</div> |
| 125 |
</setting> |
| 126 |
<setting id="iface_tipproduct" title="This product is used as reference on customer receipts." string="Tips" help="Accept customer tips or convert their change to a tip" documentation="/applications/sales/point_of_sale/restaurant/tips.html"> |
| 127 |
<field name="pos_iface_tipproduct"/> |
| 128 |
<div class="content-group" invisible="not pos_iface_tipproduct"> |
| 129 |
<div class="row mt16" id="tip_product"> |
| 130 |
<label string="Tip Product" for="pos_tip_product_id" class="col-lg-3 o_light_label "/> |
| 131 |
<field name="pos_tip_product_id"/> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
</setting> |
| 135 |
</block> |
| 136 |
<block title="PoS Interface" id="pos_interface_section"> |
| 137 |
<setting id="multiple_employee_session" title="Employees can scan their badge or enter a PIN to log in to a PoS session. These credentials are configurable in the *HR Settings* tab of the employee form." string="Log in with Employees" help="Allow to log and switch between selected Employees" documentation="/applications/sales/point_of_sale/employee_login.html"> |
| 138 |
<field name="pos_module_pos_hr"/> |
| 139 |
<div class="content-group mt16" invisible="not pos_module_pos_hr"> |
| 140 |
<div class="text-warning" id="warning_text_employees"> |
| 141 |
Save this page and come back here to set up the feature. |
| 142 |
</div> |
| 143 |
</div> |
| 144 |
</setting> |
| 145 |
<setting invisible="is_kiosk_mode" help="Improve navigation for imprecise industrial touchscreens"> |
| 146 |
<field name="pos_iface_big_scrollbars"/> |
| 147 |
</setting> |
| 148 |
<setting string="Share Open Orders" help="Allow to access each other's active orders" id="is_order_shared" invisible="pos_module_pos_restaurant or is_kiosk_mode"> |
| 149 |
<div class="content-group"> |
| 150 |
<div class="row mt16"> |
| 151 |
<label string="Trusted POS" for="pos_trusted_config_ids" class="col-lg-3 o_light_label" /> |
| 152 |
<field name="pos_trusted_config_ids" widget="many2many_tags" options="{'no_create':'true'}" placeholder="Select PoS to start sharing orders"/> |
| 153 |
</div> |
| 154 |
<div> |
| 155 |
<button name="%(point_of_sale.action_pos_config_tree)d" icon="oi-arrow-right" type="action" string="Point of Sales" class="btn-link"/> |
| 156 |
</div> |
| 157 |
</div> |
| 158 |
</setting> |
| 159 |
<setting string="Hide pictures in POS" help="Self-ordering interfaces are not impacted."> |
| 160 |
<div class="content-group"> |
| 161 |
<div> |
| 162 |
<field name="pos_show_product_images"/> |
| 163 |
<label for="pos_show_product_images" string="Show product images" class="fw-normal me-1"/> |
| 164 |
</div> |
| 165 |
<div> |
| 166 |
<field name="pos_show_category_images"/> |
| 167 |
<label for="pos_show_category_images" string="Show category images" class="fw-normal me-1"/> |
| 168 |
</div> |
| 169 |
</div> |
| 170 |
</setting> |
| 171 |
<setting help="Online reservation for Point of Sale" invisible="is_kiosk_mode"> |
| 172 |
<field name="pos_module_pos_appointment" string="Booking" widget="upgrade_boolean" /> |
| 173 |
<div class="content-group" id="pos_appointment_booking" invisible="not pos_module_pos_appointment"> |
| 174 |
<div class="text-warning mt16 mb4"> |
| 175 |
Save this page and come back here to set up the feature. |
| 176 |
</div> |
| 177 |
</div> |
| 178 |
</setting> |
| 179 |
<setting invisible="is_kiosk_mode" help="Display products grouped by categories."> |
| 180 |
<field name="pos_iface_group_by_categ"/> |
| 181 |
</setting> |
| 182 |
</block> |
| 183 |
<block id="product_and_category_block" title="Product & PoS categories"> |
| 184 |
<setting help="Pick which product PoS categories are available"> |
| 185 |
<field name="pos_limit_categories"/> |
| 186 |
<div class="content-group mt16" invisible="not pos_limit_categories"> |
| 187 |
<field name="pos_iface_available_categ_ids" widget="many2many_tags"/> |
| 188 |
</div> |
| 189 |
<div class="content-group mt16" invisible="not pos_limit_categories"> |
| 190 |
<button name="%(product_pos_category_action)d" icon="oi-arrow-right" type="action" string="PoS Product Categories" class="btn-link"/> |
| 191 |
</div> |
| 192 |
</setting> |
| 193 |
<setting id="margin_and_cost" string="Show margins & costs" help="Show margins & costs on product information"> |
| 194 |
<field name="pos_is_margins_costs_accessible_to_every_user"/> |
| 195 |
</setting> |
| 196 |
</block> |
| 197 |
<block title="Accounting" id="pos_accounting_section"> |
| 198 |
<setting id="default_sales_tax_setting" title="This tax is applied to any new product created in the catalog." documentation="/applications/finance/accounting/taxation/taxes/default_taxes.html"> |
| 199 |
<label string="Default Sales Tax" for="sale_tax_id"/> |
| 200 |
<i class="fa fa-info-circle me-1" title="This setting is common to all PoS." pos-data-toggle="tooltip"/> |
| 201 |
<div class="text-muted"> |
| 202 |
Default sales tax for products |
| 203 |
</div> |
| 204 |
<div class="content-group mt16"> |
| 205 |
<field name="sale_tax_id" colspan="4" nolabel="1" domain="[('type_tax_use', 'in', ('sale', 'all'))]"/> |
| 206 |
</div> |
| 207 |
<div class="mt8"> |
| 208 |
<button name="%(account.action_tax_form)d" icon="oi-arrow-right" type="action" string="Taxes" class="btn-link"/> |
| 209 |
</div> |
| 210 |
</setting> |
| 211 |
<setting groups="account.group_account_readonly"> |
| 212 |
<label string="Default POS Receivable Account" for="account_default_pos_receivable_account_id"/> |
| 213 |
<i class="fa fa-info-circle me-1" title="This setting is common to all PoS." pos-data-toggle="tooltip"/> |
| 214 |
<div class="text-muted"> |
| 215 |
Intermediary account used for unidentified customers. |
| 216 |
</div> |
| 217 |
<field name="account_default_pos_receivable_account_id" colspan="4" nolabel="1" domain="[('reconcile', '=', True), ('account_type', '=', 'asset_receivable')]"/> |
| 218 |
</setting> |
| 219 |
<setting id="order_edit_tracking" help="Store edited orders in the backend"> |
| 220 |
<field name="pos_order_edit_tracking"/> |
| 221 |
</setting> |
| 222 |
<setting id="flexible_taxes" invisible="pos_use_presets" title="Choose a specific fiscal position at the order depending on the kind of customer (tax exempt, onsite vs. takeaway, etc.)." string="Flexible Taxes" help="Use fiscal positions to get different taxes by order" documentation="/applications/sales/point_of_sale/pricing/fiscal_position.html"> |
| 223 |
<field name="pos_tax_regime_selection"/> |
| 224 |
<div class="content-group mt16" invisible="not pos_tax_regime_selection"> |
| 225 |
<div class="row"> |
| 226 |
<label string="Default" for="pos_default_fiscal_position_id" class="col-lg-3 o_light_label"/> |
| 227 |
<field name="pos_default_fiscal_position_id"/> |
| 228 |
</div> |
| 229 |
<div class="row"> |
| 230 |
<label string="Allowed" for="pos_fiscal_position_ids" class="col-lg-3 o_light_label"/> |
| 231 |
<field name="pos_fiscal_position_ids" widget="many2many_tags" options="{'no_create': True}"/> |
| 232 |
</div> |
| 233 |
<div> |
| 234 |
<button name="%(account.action_account_fiscal_position_form)d" icon="oi-arrow-right" type="action" string="Fiscal Positions" class="btn-link"/> |
| 235 |
</div> |
| 236 |
</div> |
| 237 |
</setting> |
| 238 |
<setting string="Default Journals" id="pos_default_journals" help="Default journals for orders and invoices"> |
| 239 |
<div class="content-group mt16"> |
| 240 |
<div class="row" title="Whenever you close a session, one entry is generated in the following accounting journal for all the orders not invoiced. Invoices are recorded in accounting separately."> |
| 241 |
<label string="Orders" for="pos_journal_id" class="col-lg-3 o_light_label" options="{'no_open': True, 'no_create': True}"/> |
| 242 |
<field name="pos_journal_id" domain="[('company_id', '=', company_id), ('type', 'in', ('general', 'sale'))]" context="{'default_company_id': company_id, 'default_type': 'general'}" required="pos_company_has_template"/> |
| 243 |
</div> |
| 244 |
<div class="row"> |
| 245 |
<label string="Invoices" for="pos_invoice_journal_id" class="col-lg-3 o_light_label"/> |
| 246 |
<field name="pos_invoice_journal_id" |
| 247 |
domain="[('company_id', '=', company_id), ('type', '=', 'sale')]" |
| 248 |
context="{'default_company_id': company_id, 'default_type': 'sale'}"/> |
| 249 |
</div> |
| 250 |
</div> |
| 251 |
</setting> |
| 252 |
<setting string="Closing Entry by product" id="pos_closeing_entry_by_product" help="Display the breakdown of sales lines by product in the automatically generated closing entry."> |
| 253 |
<field name="pos_is_closing_entry_by_product"/> |
| 254 |
</setting> |
| 255 |
<setting id="pos-avatax" help="Use automatic taxes mapping with Avatax"> |
| 256 |
<field name="pos_module_pos_avatax" /> |
| 257 |
</setting> |
| 258 |
</block> |
| 259 |
|
| 260 |
<block title="Pricing" id="pos_pricing_section"> |
| 261 |
<setting id="multiple_prices_setting" string="Flexible Pricelists" help="Set multiple prices per product, automated discounts, etc." documentation="/applications/sales/point_of_sale/pricing/pricelists.html"> |
| 262 |
<field name="pos_use_pricelist"/> |
| 263 |
<div class="content-group" invisible="not pos_use_pricelist"> |
| 264 |
<div class="row mt16"> |
| 265 |
<label string="Available" for="pos_available_pricelist_ids" class="col-lg-3 o_light_label"/> |
| 266 |
<field name="pos_available_pricelist_ids" widget="many2many_tags" domain="['|',('company_id', '=', company_id),('company_id', '=', False)]"/> |
| 267 |
</div> |
| 268 |
<div class="row mt16"> |
| 269 |
<label string="Default" for="pos_pricelist_id" class="col-lg-3 o_light_label"/> |
| 270 |
<field name="pos_pricelist_id" domain="[('id', 'in', pos_allowed_pricelist_ids)]" options="{'no_create': True}"/> |
| 271 |
</div> |
| 272 |
<div class="mt8"> |
| 273 |
<button name="%(product.product_pricelist_action2)d" icon="oi-arrow-right" type="action" string="Pricelists" groups="product.group_product_pricelist" class="btn-link"/> |
| 274 |
</div> |
| 275 |
</div> |
| 276 |
</setting> |
| 277 |
<setting id="price_control" class="price_control" title="Only users with Manager access rights for PoS app can modify the product prices on orders." string="Price Control" help="Restrict price modification to managers"> |
| 278 |
<field name="pos_restrict_price_control"/> |
| 279 |
</setting> |
| 280 |
<setting id="product_prices" string="Product Prices" help="Product prices on receipts"> |
| 281 |
<field name="pos_iface_tax_included" class="o_light_label" widget="radio"/> |
| 282 |
<div class="content-group"> |
| 283 |
<widget class="oe-link" name="documentation_link" path="/applications/finance/accounting/taxation/taxes/B2B_B2C.html" label="How to manage tax-included prices" icon="oi oi-fw oi-arrow-right"/> |
| 284 |
</div> |
| 285 |
</setting> |
| 286 |
<setting id="manual_discount" help="Allow cashiers to set a discount per line" documentation="/applications/sales/point_of_sale/pricing/discounts.html"> |
| 287 |
<field name="pos_manual_discount"/> |
| 288 |
</setting> |
| 289 |
<setting id="pos_global_discount" help="Adds a button to set a global discount" documentation="/applications/sales/point_of_sale/pricing/discounts.html"> |
| 290 |
<field name="pos_module_pos_discount"/> |
| 291 |
<div class="content-group mt16" invisible="not pos_module_pos_discount"> |
| 292 |
<div class="text-warning mb4" id="warning_text_pos_discount" > |
| 293 |
Save this page and come back here to set up the feature. |
| 294 |
</div> |
| 295 |
</div> |
| 296 |
</setting> |
| 297 |
<setting id="pos_pricer" string="Pricer" title="Pricer tags" help="Display and update your products information through electronic price tags"> |
| 298 |
<field name="module_pos_pricer"/> |
| 299 |
</setting> |
| 300 |
<setting id="pos-loyalty" title="Boost your sales with multiple kinds of programs: Coupons, Promotions, Gift Card, Loyalty. Specific conditions can be set (products, customers, minimum purchase amount, period). Rewards can be discounts (% or amount) or free products." string="Promotions, Coupons, Gift Card & Loyalty Program" help="Manage promotion that will grant customers discounts or gifts" documentation="/applications/sales/point_of_sale/pricing/loyalty.html"> |
| 301 |
<field name="module_loyalty"/> |
| 302 |
</setting> |
| 303 |
</block> |
| 304 |
|
| 305 |
<block title="Bills & Receipts" id="pos_bills_and_receipts_section"> |
| 306 |
<setting help="Add a custom message to header and footer" documentation="/applications/sales/point_of_sale/receipts_invoices.html"> |
| 307 |
<field name="pos_is_header_or_footer"/> |
| 308 |
<div class="content-group mt16" invisible="not pos_is_header_or_footer"> |
| 309 |
<div> |
| 310 |
<label string="Header" for="pos_receipt_header" class="col-lg-2 o_light_label"/> |
| 311 |
<field name="pos_receipt_header" placeholder="e.g. Company Address, Website"/> |
| 312 |
</div> |
| 313 |
<div> |
| 314 |
<label string="Footer" for="pos_receipt_footer" class="col-lg-2 o_light_label"/> |
| 315 |
<field name="pos_receipt_footer" placeholder="e.g. Return Policy, Thanks for shopping with us!"/> |
| 316 |
</div> |
| 317 |
</div> |
| 318 |
</setting> |
| 319 |
<setting id="auto_printing" help="Print receipts automatically once the payment is registered" documentation="/applications/sales/point_of_sale/receipts_invoices.html"> |
| 320 |
<field name="pos_iface_print_auto"/> |
| 321 |
<div class="content-group mt16" invisible="not pos_iface_print_auto or not pos_is_posbox and not pos_other_devices"> |
| 322 |
<div> |
| 323 |
<field name="pos_iface_print_skip_screen" class="oe_inline"/><span class="oe_inline"><b>Skip Preview Screen</b></span> |
| 324 |
</div> |
| 325 |
</div> |
| 326 |
</setting> |
| 327 |
<setting id="pos_sms" help="Send Text receipt Using sms"> |
| 328 |
<field name="pos_module_pos_sms"/> |
| 329 |
<div class="content-group" readonly="pos_has_active_session"> |
| 330 |
<div class="content-group mt16" invisible="not pos_module_pos_sms"> |
| 331 |
<div class="text-warning mb4" id="warning_text_pos_sms" > |
| 332 |
Save this page and come back here to set up the feature. |
| 333 |
</div> |
| 334 |
</div> |
| 335 |
</div> |
| 336 |
</setting> |
| 337 |
<setting help="Print information on the receipt to allow the customer to easily access the invoice anytime, from Odoo's portal." documentation="/applications/sales/point_of_sale/receipts_invoices.html" id="pos_use_ticket_qr_code"> |
| 338 |
<field name="point_of_sale_use_ticket_qr_code"/> |
| 339 |
<div class="content-group mt16" invisible="not point_of_sale_use_ticket_qr_code"> |
| 340 |
<div class="col mt16"> |
| 341 |
<div class="content-group row"> |
| 342 |
<label for="point_of_sale_ticket_portal_url_display_mode" class="col-lg-2" string="Print"/> |
| 343 |
<field name="point_of_sale_ticket_portal_url_display_mode"/> |
| 344 |
</div> |
| 345 |
</div> |
| 346 |
</div> |
| 347 |
</setting> |
| 348 |
<setting id="basic_receipt" help="Print basic ticket without prices. Can be used for gifts."> |
| 349 |
<field name="pos_basic_receipt"/> |
| 350 |
</setting> |
| 351 |
</block> |
| 352 |
|
| 353 |
<block title="Payment Terminals" help="Those settings are common to all PoS." id="pos_payment_terminals_section"> |
| 354 |
<setting id="adyen_payment_terminal_setting" title="The transactions are processed by Adyen. Set your Adyen credentials on the related payment method." string="Adyen" help="Accept payments with an Adyen payment terminal" |
| 355 |
documentation="/applications/sales/point_of_sale/payment_methods/terminals/adyen.html"> |
| 356 |
<field name="module_pos_adyen"/> |
| 357 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 358 |
context="{'selection': 'adyen', 'config_ids': [pos_config_id], 'provider_name': 'Adyen'}" invisible="not module_pos_adyen" /> |
| 359 |
</setting> |
| 360 |
<setting id="stripe_payment_terminal_setting" title="The transactions are processed by Stripe. Set your Stripe credentials on the related payment method." string="Stripe" help="Accept payments with a Stripe payment terminal" documentation="/applications/sales/point_of_sale/payment_methods/terminals/stripe.html"> |
| 361 |
<field name="module_pos_stripe"/> |
| 362 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 363 |
context="{'selection': 'stripe', 'config_ids': [pos_config_id], 'provider_name': 'Stripe'}" invisible="not module_pos_stripe" /> |
| 364 |
</setting> |
| 365 |
<setting title="The transactions are processed by Viva.com on terminal or tap on phone." string="Viva.com" help="Accept payments with Viva.com on a terminal or tap on phone" documentation="/applications/sales/point_of_sale/payment_methods/terminals/viva_com.html"> |
| 366 |
<field name="module_pos_viva_com"/> |
| 367 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 368 |
context="{'selection': 'viva_com', 'config_ids': [pos_config_id], 'provider_name': 'Viva.com'}" invisible="not module_pos_viva_com" /> |
| 369 |
</setting> |
| 370 |
<setting id="pos_razorpay_setting" title="The transactions are processed by Razorpay. Set your Razorpay credentials on the related payment method." string="Razorpay" help="Accept payments with a Razorpay payment terminal" documentation="/applications/sales/point_of_sale/payment_methods/terminals/razorpay.html"> |
| 371 |
<field name="module_pos_razorpay"/> |
| 372 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 373 |
context="{'selection': 'razorpay', 'config_ids': [pos_config_id], 'provider_name': 'Razorpay'}" invisible="not module_pos_razorpay" /> |
| 374 |
</setting> |
| 375 |
<setting title="The transactions are processed by Mercado Pago on terminal" string="Mercado Pago" help="Accept payments with Mercado Pago on a terminal" documentation="/applications/sales/point_of_sale/payment_methods/terminals/mercado_pago.html"> |
| 376 |
<field name="module_pos_mercado_pago"/> |
| 377 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 378 |
context="{'selection': 'mercado_pago', 'config_ids': [pos_config_id], 'provider_name': 'Mercado Pago'}" invisible="not module_pos_mercado_pago" /> |
| 379 |
</setting> |
| 380 |
<setting title="The transactions are processed by Pine Labs on the terminal." string="Pine Labs" help="Accept payments with a Pine Labs payment terminal" documentation="/applications/sales/point_of_sale/payment_methods/terminals/pine_labs.html"> |
| 381 |
<field name="module_pos_pine_labs"/> |
| 382 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 383 |
context="{'selection': 'pine_labs', 'config_ids': [pos_config_id], 'provider_name': 'Pine Labs'}" invisible="not module_pos_pine_labs" /> |
| 384 |
</setting> |
| 385 |
<setting title="The transactions are processed by QFPay on the terminal." string="QFPay" help="Accept payments with a QFPay payment terminal" documentation="/applications/sales/point_of_sale/payment_methods/terminals/qfpay.html"> |
| 386 |
<field name="module_pos_qfpay"/> |
| 387 |
<button name="open_payment_method_form" icon="oi-arrow-right" type="object" string="Payment method" class="btn-link" |
| 388 |
context="{'selection': 'qfpay', 'config_ids': [pos_config_id], 'provider_name': 'QFPay'}" invisible="not module_pos_qfpay" /> |
| 389 |
</setting> |
| 390 |
</block> |
| 391 |
|
| 392 |
<block title="Connected Devices" id="pos_connected_devices_section"> |
| 393 |
<setting id="pos_other_devices" string="ePos Printer" help="Connect device to your PoS without an IoT Box" documentation="/applications/sales/point_of_sale/configuration/epos_ssc.html"> |
| 394 |
<field name="pos_other_devices"/> |
| 395 |
<div class="row" invisible="not pos_other_devices"> |
| 396 |
<div class="col-lg-6"> |
| 397 |
<field name="pos_epson_printer_ip" placeholder="Epson Receipt Printer IP Address" class="w-100 pt-1" /> |
| 398 |
</div> |
| 399 |
<div class="col-lg-6"> |
| 400 |
<widget name="point_of_sale_test_epos" /> |
| 401 |
</div> |
| 402 |
<div class="col-12 mt-2"> |
| 403 |
<div class="row" invisible="pos_epson_printer_ip in [False, '']"> |
| 404 |
<label string="Link Cashdrawer" for="pos_iface_cashdrawer" class="col-lg-4 o_light_label"/> |
| 405 |
<field name="pos_iface_cashdrawer" class="col" /> |
| 406 |
</div> |
| 407 |
</div> |
| 408 |
</div> |
| 409 |
<div role="alert" class="alert alert-warning" invisible="not pos_iface_print_via_proxy or not pos_other_devices or pos_epson_printer_ip in [False, '']"> |
| 410 |
The Epson receipt printer will be used instead of the receipt printer connected to the IoT Box. |
| 411 |
</div> |
| 412 |
</setting> |
| 413 |
<setting id="customer_display" string="Customer Display" help="Set the background image of your customer display" documentation="/applications/sales/point_of_sale/shop/customer_display.html" > |
| 414 |
<label for="pos_customer_display_bg_img" /> |
| 415 |
<field name="pos_customer_display_bg_img" class="w-100" filename="pos_customer_display_bg_img_name"/> |
| 416 |
</setting> |
| 417 |
<setting string="IoT Box" help="Connect devices using an IoT Box"> |
| 418 |
<field name="pos_is_posbox"/> |
| 419 |
<div class="content-group pos_iot_config" invisible="not pos_is_posbox"> |
| 420 |
<div class="row"> |
| 421 |
<label string="IoT Box IP Address" for="pos_proxy_ip" class="col-lg-4 o_light_label"/> |
| 422 |
<field name="pos_proxy_ip"/> |
| 423 |
</div> |
| 424 |
<div class="row iot_barcode_scanner"> |
| 425 |
<label string="Barcode Scanner/Card Reader" for="pos_iface_scan_via_proxy" class="col-lg-4 o_light_label"/> |
| 426 |
<field name="pos_iface_scan_via_proxy"/> |
| 427 |
</div> |
| 428 |
<div class="row"> |
| 429 |
<label string="Electronic Scale" for="pos_iface_electronic_scale" class="col-lg-4 o_light_label"/> |
| 430 |
<field name="pos_iface_electronic_scale"/> |
| 431 |
</div> |
| 432 |
<div class="row"> |
| 433 |
<label string="Receipt Printer" for="pos_iface_print_via_proxy" class="col-lg-4 o_light_label"/> |
| 434 |
<field name="pos_iface_print_via_proxy"/> |
| 435 |
</div> |
| 436 |
<div class="row" invisible="not pos_iface_print_via_proxy"> |
| 437 |
<label string="Cashdrawer" for="pos_iface_cashdrawer" class="col-lg-4 o_light_label"/> |
| 438 |
<field name="pos_iface_cashdrawer"/> |
| 439 |
</div> |
| 440 |
</div> |
| 441 |
</setting> |
| 442 |
</block> |
| 443 |
|
| 444 |
<block title="Preparation" id="pos_preparation_section"> |
| 445 |
<setting string="Preparation Printers" help="Print orders at the kitchen, at the bar, etc." id="is_order_printer"> |
| 446 |
<field name="pos_is_order_printer"/> |
| 447 |
<div class="content-group" invisible="not pos_is_order_printer"> |
| 448 |
<div class="mt16 mb-1"> |
| 449 |
<label string="Printers" for="pos_printer_ids" class="o_light_label me-2"/> |
| 450 |
<field name="pos_printer_ids" widget="many2many_tags"/> |
| 451 |
</div> |
| 452 |
<div> |
| 453 |
<button name="action_pos_printer_dialog" |
| 454 |
context="{'default_pos_config_ids': [pos_config_id]}" |
| 455 |
icon="oi-arrow-right" |
| 456 |
type="object" |
| 457 |
string="Add Printer" |
| 458 |
class="btn-link"/> |
| 459 |
</div> |
| 460 |
<div> |
| 461 |
<button name="%(point_of_sale.action_pos_printer_form)d" icon="oi-arrow-right" type="action" string="Manage Printers" class="btn-link"/> |
| 462 |
</div> |
| 463 |
</div> |
| 464 |
</setting> |
| 465 |
<setting string="Internal Notes" help="Add internal notes on order lines for the kitchen" id="iface_orderline_notes"> |
| 466 |
<div class="content-group"> |
| 467 |
<div class="mt16"> |
| 468 |
<label string="Note Models" for="pos_note_ids" class="o_light_label me-2"/> |
| 469 |
<field name="pos_note_ids" widget="many2many_tags" readonly="pos_has_active_session" placeholder="All notes"/> |
| 470 |
</div> |
| 471 |
<div> |
| 472 |
<button name="%(point_of_sale.action_pos_note_model)d" icon="oi-arrow-right" type="action" string="Notes" class="btn-link"/> |
| 473 |
</div> |
| 474 |
</div> |
| 475 |
</setting> |
| 476 |
</block> |
| 477 |
|
| 478 |
<block title="Inventory" id="pos_inventory_section"> |
| 479 |
<setting title="Operation types show up in the Inventory dashboard." string="Operation Type" help="Used to record product pickings. Products are consumed from its default source location."> |
| 480 |
<field name="pos_picking_type_id" domain="[('company_id', '=', company_id)]" required="pos_config_id"/> |
| 481 |
</setting> |
| 482 |
<setting id="ship_later" string="Allow Ship Later" help="Sell products and deliver them later."> |
| 483 |
<field name="pos_ship_later"/> |
| 484 |
<div class="content-group mt16" invisible="not pos_ship_later"> |
| 485 |
<div class="row"> |
| 486 |
<label for="pos_warehouse_id" string="Warehouse" class="col-lg-3 o_light_label"/> |
| 487 |
<field name="pos_warehouse_id" required="pos_ship_later"/> |
| 488 |
</div> |
| 489 |
<div groups="stock.group_adv_location" class="row"> |
| 490 |
<label for="pos_route_id" string="Specific route" class="col-lg-3 o_light_label"/> |
| 491 |
<field name="pos_route_id"/> |
| 492 |
</div> |
| 493 |
<div class="row"> |
| 494 |
<label for="pos_picking_policy" class="col-lg-3 o_light_label"/> |
| 495 |
<field name="pos_picking_policy" required="pos_ship_later"/> |
| 496 |
</div> |
| 497 |
</div> |
| 498 |
</setting> |
| 499 |
<setting id="barcode_scanner"> |
| 500 |
<span class="o_form_label">Barcodes</span> |
| 501 |
<i class="fa fa-info-circle me-1" title="This setting is common to all PoS." pos-data-toggle="tooltip"/> |
| 502 |
<div class="text-muted"> |
| 503 |
Use barcodes to scan products, customer cards, etc. |
| 504 |
</div> |
| 505 |
<div class="content-group mt16 row"> |
| 506 |
<label for="barcode_nomenclature_id" string="Barcode Nomenclature" class="col-lg-3 o_light_label"/> |
| 507 |
<field name="barcode_nomenclature_id"/> |
| 508 |
</div> |
| 509 |
<div class="content-group mt16 row"> |
| 510 |
<label for="pos_fallback_nomenclature_id" string="Fallback Nomenclature" class="col-lg-3 o_light_label"/> |
| 511 |
<field name="pos_fallback_nomenclature_id"/> |
| 512 |
</div> |
| 513 |
</setting> |
| 514 |
<setting id="update_quantities_stock_setting" groups="base.group_no_one" string="Inventory Management" company_dependent="1" help="Update quantities in stock"> |
| 515 |
<field name="update_stock_quantities" colspan="4" widget="radio"/> |
| 516 |
</setting> |
| 517 |
</block> |
| 518 |
</div> |
| 519 |
</div> |
| 520 |
</div> |
| 521 |
</app> |
| 522 |
</xpath> |
| 523 |
</field> |
| 524 |
</record> |
| 525 |
</odoo> |