Skip to content

Commit 969357e

Browse files
committed
Cleanup commit -3
- add a floors. - update article.
1 parent a213ad4 commit 969357e

File tree

8 files changed

+67
-3
lines changed

8 files changed

+67
-3
lines changed

bar_industry/__manifest__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
'data/hr_employee.xml',
2424
'data/product_category.xml',
2525
'data/product_pricelist.xml',
26+
# 'data/restaurant_floor.xml',
27+
# 'data/restaurant_table.xml',
2628
'data/pos_config.xml',
2729
'data/res_config_settings.xml',
2830
'data/ir_attachment_pre.xml',

bar_industry/data/knowledge_article.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
<h3>1. Point of sale</h3>
7474
<hr />
7575
<p>From the Point of Sale, open your register on the main dashboard.</p>
76+
<i class="o_editor_banner_icon mb-3 fst-normal">🔑</i>
77+
<div class="w-100 px-3" data-oe-protected="false">
78+
<p>The current setup requires your employees to pin to log in the POS register. This helps you manage rights and accesses.</p>
79+
<p>As an administrator your pin is 3333. You can edit the pin of your employees in the Employee App, in the Settings tab.</p>
80+
</div>
7681
<p>1. You are ready to welcome your first customers. To do so, select a table on the floor map and select the products they asked for from the list.</p>
7782
<div class="o_editor_banner o_not_editable lh-1 d-flex align-items-center alert alert-info pb-0 pt-3" data-oe-protected="true">
7883
<i class="o_editor_banner_icon mb-3 fst-normal">💡</i>
@@ -160,6 +165,10 @@
160165
<p>4. You can still reassign any shift to adapt the planning.</p>
161166
<p>5. Once you are happy with it, send it to your co-workers by smashing the publish button.</p>
162167
<p><br/></p>
168+
<i class="o_editor_banner_icon mb-3 fst-normal">🚀</i>
169+
<div class="w-100 px-3" data-oe-protected="false">
170+
<p>It is as well possible to leverage the Kiosk from the Attendance App for your employees to self check in and out when starting and ending their shifts. This way a summary of their worked shifts is available via the Reporting menu.</p>
171+
</div>
163172
<div data-oe-protected="true" class="o_editor_banner o_not_editable lh-1 d-flex align-items-center alert alert-success pb-0 pt-3">
164173
<i class="o_editor_banner_icon mb-3 fst-normal">🎉</i>
165174
<div data-oe-protected="false" class="w-100 ms-3">

bar_industry/data/pos_config.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<odoo noupdate="1">
3-
<!-- <function model="pos.config" name="load_onboarding_restaurant_scenario" /> -->
43
<function model="pos.config" name="load_onboarding_bar_scenario" />
54

65
<record id="pos_restaurant.pos_config_main_bar" model="pos.config">
76
<field name="module_pos_hr" eval="True"/>
7+
<field name="tip_product_id" eval="False"/>
8+
<!-- <field name="floor_ids" eval="[(6, 0, [ref('restaurant_floor_1')])]"/> -->
89
<field name="minimal_employee_ids" eval="[(6, 0, [ref('hr_employee_2')])]" />
910
<field name="basic_employee_ids" eval="[(6, 0, [ref('hr_employee_5'), ref('hr_employee_6')])]"/>
1011
<field name="advanced_employee_ids" eval="[(6, 0, [ref('hr.employee_admin'), ref('hr_employee_4')])]"/>

bar_industry/data/product_category.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<odoo noupdate="1">
33
<record id="product_category_1" model="product.category">
44
<field name="name">Beer</field>
5+
<field name="pos_config_ids" eval="[(6, 0, [ref('pos_restaurant.pos_config_main_bar')])]"/>
56
</record>
67
<record id="product_category_7" model="product.category">
78
<field name="name">Soft drinks</field>

bar_industry/data/product_product.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<field name="available_in_pos" eval="True"/>
1212
<field name="standard_price">2.5</field>
1313
<field name="uom_ids" eval="[Command.link(ref('uom_uom_1'))]"/>
14+
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_3')])]"/>
1415
</record>
1516
<record id="product_product_3" model="product.product">
1617
<field name="name">Gift Card</field>
@@ -68,4 +69,7 @@
6869
<field name="self_order_available" eval="False"/>
6970
<field name="standard_price">12.95</field>
7071
</record>
72+
<record id="point_of_sale.product_product_tip" model="product.product" forcecreate="1">
73+
<field name="available_in_pos">True</field>
74+
</record>
7175
</odoo>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="restaurant_floor_1" model="restaurant.floor">
4+
<field name="name">My Company</field>
5+
<field name="pos_config_ids" eval="[(6, 0, [ref('pos_restaurant.pos_config_main_bar')])]"/>
6+
</record>
7+
</odoo>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="restaurant_table_1" model="restaurant.table">
4+
<field name="floor_id" ref="restaurant_floor_1"/>
5+
<field name="table_number">1</field>
6+
<field name="position_h">100.0</field>
7+
<field name="position_v">100.0</field>
8+
<field name="width">130.0</field>
9+
<field name="height">130.0</field>
10+
<field name="identifier">413ed980</field>
11+
</record>
12+
</odoo>

bar_industry/i18n/bar_industry.pot

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Odoo Server saas~18.2+e\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-05-30 11:01+0000\n"
10-
"PO-Revision-Date: 2025-05-30 11:01+0000\n"
9+
"POT-Creation-Date: 2025-06-18 10:34+0000\n"
10+
"PO-Revision-Date: 2025-06-18 10:34+0000\n"
1111
"Last-Translator: \n"
1212
"Language-Team: \n"
1313
"MIME-Version: 1.0\n"
@@ -120,6 +120,11 @@ msgstr ""
120120
msgid "<i class=\"o_editor_banner_icon mb-3 fst-normal\">🔁</i>"
121121
msgstr ""
122122

123+
#. module: bar_industry
124+
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
125+
msgid "<i class=\"o_editor_banner_icon mb-3 fst-normal\">🔑</i>"
126+
msgstr ""
127+
123128
#. module: bar_industry
124129
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
125130
msgid "<i class=\"o_editor_banner_icon mb-3 fst-normal\">🚀</i>"
@@ -174,6 +179,13 @@ msgstr ""
174179
msgid "Aperol"
175180
msgstr ""
176181

182+
#. module: bar_industry
183+
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
184+
msgid ""
185+
"As an administrator your pin is 3333. You can edit the pin of your employees"
186+
" in the Employee App, in the Settings tab."
187+
msgstr ""
188+
177189
#. module: bar_industry
178190
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
179191
msgid ""
@@ -330,6 +342,15 @@ msgid ""
330342
"Article)."
331343
msgstr ""
332344

345+
#. module: bar_industry
346+
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
347+
msgid ""
348+
"It is as well possible to leverage the Kiosk from the Attendance App for "
349+
"your employees to self check in and out when starting and ending their "
350+
"shifts. This way a summary of their worked shifts is available via the "
351+
"Reporting menu."
352+
msgstr ""
353+
333354
#. module: bar_industry
334355
#: model:product.template,name:bar_industry.product_product_27_product_template
335356
msgid "Lemon"
@@ -437,6 +458,13 @@ msgid ""
437458
"will ensure a great follow up of every order in your bar and kitchen."
438459
msgstr ""
439460

461+
#. module: bar_industry
462+
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
463+
msgid ""
464+
"The current setup requires your employees to pin to log in the POS register."
465+
" This helps you manage rights and accesses."
466+
msgstr ""
467+
440468
#. module: bar_industry
441469
#: model_terms:ir.ui.view,arch_db:bar_industry.welcome_article_body
442470
msgid ""

0 commit comments

Comments
 (0)