/
pos_config_view.xml
592 lines (580 loc) · 36.8 KB
/
pos_config_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--Account cashbox line-->
<record id="account_cashbox_line_view_tree" model="ir.ui.view">
<field name="name">account.cashbox.line.tree</field>
<field name="model">account.cashbox.line</field>
<field name="arch" type="xml">
<tree string="Cashbox balance" editable="top">
<field name="coin_value"/>
<field name="number"/>
<field name="subtotal"/>
</tree>
</field>
</record>
<record id="account_cashbox_line_action" model="ir.actions.act_window">
<field name="name">Opening/Closing Values</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.cashbox.line</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="account_cashbox_line_view_tree"/>
</record>
<record id="pos_config_view_form" model="ir.ui.view">
<field name="name">pos.config.form.view</field>
<field name="model">pos.config</field>
<field name="arch" type="xml">
<form string="Point of Sale Configuration">
<sheet>
<widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<field name="active" invisible="1"/>
<field name="currency_id" invisible="1"/>
<field name="selectable_categ_ids" invisible="1"/>
<field name="is_installed_account_accountant" invisible="1"/>
<field name="company_has_template" invisible="1"/>
<div class="oe_title" id="title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<div class="row mt16 o_settings_container">
<div id="company" class="col-12 col-lg-6 o_setting_box" groups="base.group_multi_company">
<div class="o_setting_right_pane">
<label for="company_id"/>
<div><field name="company_id" readonly="1"/></div>
<div class="o_notification_alert alert alert-warning" attrs="{'invisible':[('company_has_template','=',True)]}" role="alert">
There is no Chart of Accounts configured on the company. Please go to the invoicing settings to install a Chart of Accounts.
</div>
</div>
</div>
</div>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_pos_restaurant"/>
</div>
<div class="o_setting_right_pane">
<label for="module_pos_restaurant"/>
<button string="Save" type="object" name="execute" class="oe_highlight" id="btn_use_pos_restaurant" attrs="{'invisible': [('module_pos_restaurant','=',False)]}" />
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box"
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.">
<div class="o_setting_left_pane">
<field name="module_pos_hr"/>
</div>
<div class="o_setting_right_pane" id="login_with_employees">
<span class="o_form_label">Login with Employees</span>
<div class="text-muted">
Use employee credentials to log in to the PoS session and switch cashier
</div>
<button string="Save" type="object" name="execute" class="oe_highlight" id="btn_use_employees" attrs="{'invisible': [('module_pos_hr','=',False)]}" />
</div>
</div>
</div>
<h2 name="order">PoS Interface</h2>
<div class="row mt16 o_settings_container">
<div id="category_reference" class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="iface_display_categ_images"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_display_categ_images" string="Category Pictures"/>
<div class="text-muted">
Display pictures of product categories
</div>
<div class="content-group mt16" attrs="{'invisible': [('iface_display_categ_images', '=', False)]}">
<button name="%(product_pos_category_action)d" icon="fa-arrow-right" type="action" string="PoS Product Categories" class="btn-link"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" >
<div class="o_setting_left_pane">
<field name="limit_categories"/>
</div>
<div class="o_setting_right_pane">
<label for="limit_categories"/>
<div class="text-muted">
Available Product Categories
</div>
<div class="content-group mt16" attrs="{'invisible': [('limit_categories', '=', False)]}">
<field name="iface_available_categ_ids" widget="many2many_tags"/>
</div>
<div class="content-group mt16" attrs="{'invisible': [('limit_categories', '=', False)]}">
<button name="%(product_pos_category_action)d" icon="fa-arrow-right" type="action" string="PoS Product Categories" class="btn-link"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" title="Don't turn this option on if you take orders on smartphones or tablets. Such devices already benefit from a native keyboard.">
<div class="o_setting_left_pane">
<field name="iface_vkeyboard"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_vkeyboard"/>
<div class="text-muted">
Use a virtual keyboard for touchscreens
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="start_category"/>
</div>
<div class="o_setting_right_pane">
<label for="start_category"/>
<div class="text-muted">
Start selling from a default product category
</div>
<div class="content-group mt16" attrs="{'invisible': [('start_category', '=', False)]}">
<field name="iface_start_categ_id" domain="[('id','in',selectable_categ_ids)]"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" >
<div class="o_setting_left_pane">
<field name="iface_big_scrollbars"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_big_scrollbars"/>
<div class="text-muted">
Improve navigation for imprecise industrial touchscreens
</div>
</div>
</div>
</div>
<h2>Connected Devices</h2>
<div class="row mt16 o_settings_container" id="posbox_reference">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="is_posbox"/>
</div>
<div class="o_setting_right_pane">
<label for="is_posbox" string="IoT Box Devices"/>
<div class="text-muted">
Connect devices to your PoS through an IoT Box
</div>
<div class="content-group" attrs="{'invisible' : [('is_posbox', '=', False)]}">
<div class="row mt16">
<label string="IoT Box IP Address" for="proxy_ip" class="col-lg-3 o_light_label"/>
<field name="proxy_ip"/>
</div>
<div class="row">
<label string="Barcode Scanner" for="iface_scan_via_proxy" class="col-lg-3 o_light_label"/>
<field name="iface_scan_via_proxy"/>
</div>
<div class="row">
<label string="Electronic Scale" for="iface_electronic_scale" class="col-lg-3 o_light_label"/>
<field name="iface_electronic_scale"/>
</div>
<div class="row">
<label string="Receipt Printer" for="iface_print_via_proxy" class="col-lg-3 o_light_label"/>
<field name="iface_print_via_proxy"/>
</div>
<div class="row" attrs="{'invisible': [('iface_print_via_proxy', '=', False)]}">
<label string="Cashdrawer" for="iface_cashdrawer" class="col-lg-3 o_light_label"/>
<field name="iface_cashdrawer"/>
</div>
<div class="row">
<label string="Customer Display" for="iface_customer_facing_display" class="col-lg-3 o_light_label"/>
<field name="iface_customer_facing_display"/>
</div>
<field name="customer_facing_display_html" invisible="1"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="other_devices">
<div class="o_setting_left_pane">
<field name="other_devices"/>
</div>
<div class="o_setting_right_pane">
<label for="other_devices" string="Other Devices"/>
<div class="text-muted mb16">
Connect devices to your PoS
</div>
</div>
</div>
<div id="barcode_scanner" class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
</div>
<div class="o_setting_right_pane">
<span class="o_form_label">Barcode Scanner</span>
<div class="text-muted">
Set barcodes to scan products, customer cards, etc.
</div>
<div class="content-group mt16 row">
<label for="barcode_nomenclature_id" string="Barcode Nomenclature" class="col-lg-3 o_light_label"/>
<field name="barcode_nomenclature_id"/>
</div>
</div>
</div>
</div>
<h2>Taxes</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box" title="Choose a specific fiscal position at the order depending on the kind of customer (tax exempt, onsite vs. takeaway, etc.).">
<div class="o_setting_left_pane">
<field name="tax_regime_selection" domain="['|',('company_id', '=', company_id),('company_id', '=', False)]"/>
</div>
<div class="o_setting_right_pane">
<label for="tax_regime_selection" string="Fiscal Position per Order"/>
<div class="text-muted">
Choose among fiscal positions when processing an order
</div>
<div class="content-group" attrs="{'invisible': [('tax_regime_selection', '=', False)]}">
<div class="mt16">
<field name="fiscal_position_ids" widget="many2many_tags" options="{'no_create': True}" domain="['|',('company_id', '=', company_id),('company_id', '=', False)]"/>
</div>
<div>
<button name="%(account.action_account_fiscal_position_form)d" icon="fa-arrow-right" type="action" string="Fiscal Positions" class="btn-link"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="tax_regime"/>
</div>
<div class="o_setting_right_pane">
<label for="tax_regime" string="Fiscal Position"/>
<div class="text-muted">
Use a default specific tax regime
</div>
<div class="content-group" attrs="{'invisible': [('tax_regime', '=', False)]}">
<div class="mt16">
<field name="default_fiscal_position_id" attrs="{'required': [('tax_regime', '=', True)]}" domain="['|',('company_id', '=', company_id),('company_id', '=', False)]"/>
</div>
</div>
</div>
</div>
</div>
<h2>Pricing</h2>
<div class="row mt16 o_settings_container" id="pricing">
<div class="col-12 col-lg-6 o_setting_box" id="default_pricelist_setting" groups="base.group_multi_currency,product.group_product_pricelist">
<div class="o_setting_right_pane">
<span class="o_form_label">Default Pricelist</span>
<div class="content-group mt16">
<field name="pricelist_id" domain="[('id', 'in', available_pricelist_ids)]" options="{'no_create': True}"/>
</div>
<div>
<button name="%(product.product_pricelist_action2)d" icon="fa-arrow-right" type="action" string="Pricelists" class="btn-link"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="pricelist_setting" groups="product.group_product_pricelist">
<div class="o_setting_left_pane">
<field name="use_pricelist"/>
</div>
<div class="o_setting_right_pane">
<label for="use_pricelist" string="Advanced Pricelists"/>
<div class="text-muted">
Set shop-specific prices, seasonal discounts, etc.
</div>
<div class="content-group mt16" attrs="{'invisible': [('use_pricelist','=',False)], 'required' : [('use_pricelist', '=', True)]}">
<div class="row mt16">
<label string="Available Pricelists" for="available_pricelist_ids" class="col-lg-3 o_light_label"/>
<field name="available_pricelist_ids" widget="many2many_tags" domain="['|',('company_id', '=', company_id),('company_id', '=', False)]"/>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-lg-6 o_setting_box" id="product_prices">
<div class="o_setting_right_pane">
<label for="iface_tax_included" string="Product Prices"/>
<div class="text-muted">
Product prices on receipts
</div>
<div class="content-group">
<div class="mt16">
<field name="iface_tax_included" class="o_light_label" widget="radio"/>
</div>
<a attrs="{'invisible': [('iface_tax_included', '!=', 'total')]}" href="https://www.odoo.com/documentation/user/12.0/accounting/others/taxes/tax_included.html" target="_blank" class="oe-link"><i class="fa fa-fw fa-arrow-right"/>How to manage tax-included prices</a>
</div>
</div>
</div>
<div class="col-xs-12 col-lg-6 o_setting_box" >
<div class="o_setting_left_pane">
<field name="module_pos_discount"/>
</div>
<div class="o_setting_right_pane">
<label for="module_pos_discount"/>
<div class="text-muted">
Allow global discounts on orders
</div>
<div class="content-group " attrs="{'invisible':[('module_pos_discount','=',False)]}">
<div class="mt16" id="btn_use_pos_discount">
<button string="Save" type="object" name="execute" class="oe_highlight"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_pos_loyalty" widget="upgrade_boolean" nolabel="1"/>
</div>
<div class="o_setting_right_pane" title="Loyalty program to use for this point of sale. ">
<label for="module_pos_loyalty"/>
<div class="text-muted" id="loyalty_program">
Give customer rewards, free samples, etc.
</div>
<div class="content-group" attrs="{'invisible': [('module_pos_loyalty', '=', False)]}">
<div class="mt16" id="btn_use_pos_loyalty">
<button string="Save" type="object" name="execute" class="oe_highlight"/>
</div>
</div>
</div>
</div>
</div>
<h2>Payments</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box" id="payment_methods_new">
<div class="o_setting_right_pane">
<span class="o_form_label">Payment Methods</span>
<div class="text-muted">
Payment methods available
</div>
<div class="content-group mt16">
<field name="payment_method_ids" colspan="4" nolabel="1" context="{}" widget="many2many_tags"/>
</div>
<div>
<button name="%(action_payment_methods_tree)d" icon="fa-arrow-right" type="action" string="Payment Methods" class="btn-link"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="cash_control"/>
</div>
<div class="o_setting_right_pane">
<label for="cash_control"/>
<div class="text-muted">
Control cash box at opening and closing
</div>
<div class="content-group mt16" attrs="{'invisible': [('cash_control', '=', False)]}">
<div class="row mt16">
<label string="Default Opening" for="proxy_ip" class="col-lg-3 o_light_label" />
<field name="default_cashbox_id" domain="[('is_a_template', '=', True)]" context="{'default_is_a_template': True, 'current_currency_id': currency_id}"/>
</div>
</div>
<div attrs="{'invisible': [('cash_control', '=', False)]}">
<label for="amount_authorized_diff" string="Authorized Difference" class="font-weight-normal"/>
<field name="amount_authorized_diff"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="iface_precompute_cash"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_precompute_cash"/>
<div class="text-muted">
Prefill amount paid with the exact due amount
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box"
id="iface_tipproduct"
title="This product is used as reference on customer receipts.">
<div class="o_setting_left_pane">
<field name="iface_tipproduct"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_tipproduct" string="Tips"/>
<div class="text-muted">
Accept customer tips or convert their change to a tip
</div>
<div class="content-group" attrs="{'invisible': [('iface_tipproduct', '=', False)]}">
<div class="mt16">
<label string="Tip Product" for="tip_product_id" class="o_light_label"/>
<field name="tip_product_id"
domain="[('available_in_pos', '=', True)]"
context="{'default_available_in_pos': True}"/>
</div>
</div>
</div>
</div>
</div>
<h2>Bills & Receipts</h2>
<div class="row mt16 o_settings_container" id="receipt">
<div id="order_reference" class="col-12 col-lg-6 o_setting_box" groups="base.group_no_one">
<div class="o_setting_right_pane">
<span class="o_form_label">Order Reference</span>
<div class="text-muted">
Generation of your order references
</div>
<div class="content-group mt16">
<field name="sequence_id" readonly="1"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="is_header_or_footer"/>
</div>
<div class="o_setting_right_pane">
<label for="is_header_or_footer"/>
<div class="text-muted">
Add a custom message to header and footer
</div>
<div class="content-group mt16" attrs="{'invisible' : [('is_header_or_footer', '=', False)]}">
<div>
<label string="Header" for="receipt_header" class="col-lg-2 o_light_label"/>
<field name="receipt_header" placeholder="e.g. Company Address, Website"/>
</div>
<div>
<label string="Footer" for="receipt_footer" class="col-lg-2 o_light_label"/>
<field name="receipt_footer" placeholder="e.g. Return Policy, Thanks for shopping with us!"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="auto_printing">
<div class="o_setting_left_pane">
<field name="iface_print_auto"/>
</div>
<div class="o_setting_right_pane">
<label for="iface_print_auto"/>
<div class="text-muted">
Print receipts automatically once the payment is registered
</div>
<div class="content-group mt16" attrs="{'invisible' : ['|', ('iface_print_auto', '=', False), '&', ('is_posbox', '=', False), ('other_devices', '=', False)]}">
<div>
<field name="iface_print_skip_screen" class="oe_inline"/><span class="oe_inline"><b>Skip Preview Screen</b></span>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box pos_reprint_receipt" attrs="{'invisible': [('iface_print_via_proxy','=',False)]}">
<div class="o_setting_left_pane">
<field name='module_pos_reprint'/>
</div>
<div class="o_setting_right_pane">
<label for="module_pos_reprint"/>
<div class="text-muted">
Allow cashier to reprint receipts
</div>
<div class="content-group" attrs="{'invisible': [('module_pos_reprint', '=', False)]}">
<div class="mt16" id="btn_use_pos_reprint">
<button string="Save" type="object" name="execute" class="oe_highlight"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="iface_invoicing">
<div class="o_setting_left_pane">
<field name="module_account"/>
</div>
<div class="o_setting_right_pane">
<label for="module_account"/>
<div class="text-muted" id="invoice_journal">
Print invoices on customer request
</div>
<div class="content-group mt16" attrs="{'invisible': [('module_account', '=', False)]}">
<div class="row mt16">
<label string="Invoice Journal" for="invoice_journal_id" class="col-lg-3 o_light_label"/>
<field name="invoice_journal_id"
domain="[('company_id', '=', company_id), ('type', '=', 'sale')]"
attrs="{'required': [('module_account', '=', True)]}"
context="{'default_company_id': company_id, 'default_type': 'sale'}"/>
</div>
</div>
</div>
</div>
</div>
<h2>Inventory</h2>
<div class="row mt16 o_settings_container" id="inventory_location">
<div class="col-12 col-lg-6 o_setting_box" title="Operation types show up in the Inventory dashboard.">
<div class="o_setting_right_pane">
<label for="picking_type_id" string="Operation Type"/>
<div class="text-muted">
Operation type used to record product pickings <br/>
Products will be taken from the default source location of this operation type
</div>
<div class="content-group mt16">
<field name="picking_type_id" required="1" domain="[('company_id', '=', company_id)]"/>
</div>
</div>
</div>
</div>
<h2>Accounting</h2>
<div class="row mt16 o_settings_container" id="accounting_section">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<span class="o_form_label">Journal Entries</span>
<div class="text-muted">
Configuration for journal entries of PoS orders
</div>
<div class="content-group">
<div class="row mt16" 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.">
<label string="Sales Journal" for="journal_id" class="col-lg-3 o_light_label" widget="selection"/>
<field name="journal_id" required="1" domain="[('company_id', '=', company_id), ('type', '=', 'sale')]" context="{'default_company_id': company_id, 'default_type': 'sale'}"/>
</div>
</div>
</div>
</div>
</div>
</sheet>
</form>
</field>
</record>
<record id="view_pos_config_tree" model="ir.ui.view">
<field name="name">pos.config.tree.view</field>
<field name="model">pos.config</field>
<field name="arch" type="xml">
<tree string="Point of Sale Configuration">
<field name="name" />
<field name="picking_type_id"/>
<field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
</tree>
</field>
</record>
<record id="view_pos_config_search" model="ir.ui.view">
<field name="name">pos.config.search.view</field>
<field name="model">pos.config</field>
<field name="arch" type="xml">
<search string="Point of Sale Config">
<field name="name"/>
<field name="picking_type_id" />
<filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
</search>
</field>
</record>
<record id="action_pos_config_pos" model="ir.actions.act_window">
<field name="name">Point of Sale</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.config</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_pos_config_search" />
</record>
<menuitem
id="menu_pos_config_pos"
name="Point of Sale"
parent="menu_point_config_product"
sequence="1"
action="action_pos_config_pos"
groups="group_pos_manager"/>
<record id="action_pos_config_kanban" model="ir.actions.act_window">
<field name="name">Point of Sale</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.config</field>
<field name="view_mode">kanban,tree,form</field>
<field name="domain"></field>
<field name="search_view_id" ref="view_pos_config_search" />
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new PoS config
</p><p>
Configure at least one Point of Sale to be able to sell through the PoS interface.
</p>
</field>
</record>
<!-- Products sub Category -->
<menuitem id="menu_products_pos_category"
action="point_of_sale.product_pos_category_action"
parent="point_of_sale.pos_menu_products_configuration"
sequence="1"/>
<menuitem id="pos_menu_products_attribute_action"
action="product.attribute_action"
parent="point_of_sale.pos_menu_products_configuration" groups="product.group_product_variant" sequence="2"/>
<menuitem id="pos_menu_products_variants_action"
action="product.variants_action"
parent="point_of_sale.pos_menu_products_configuration" groups="product.group_product_variant" sequence="3"/>
<menuitem id="menu_pos_dashboard" action="action_pos_config_kanban" parent="menu_point_root" name="Dashboard" sequence="1"/>
</odoo>