Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d28030e
[ADD] agriculture_shop: purchase flow tour
dhrs-odoo Oct 15, 2024
6f769f9
[ADD] art_craft: consignment purchase flow tour
dhrs-odoo Oct 15, 2024
c564cf4
[ADD] beverage_distributor: added tour
dhrs-odoo Oct 16, 2024
f4a94a5
[ADD] micro_brewery: added tour
dhrs-odoo Oct 16, 2024
1e3ea4e
[ADD] art_craft: added button in knowledge so it gets redirected dire…
dhrs-odoo Oct 17, 2024
c91387f
[ADD] automobile: added the button in the knowldege article so it red…
dhrs-odoo Oct 17, 2024
cce5ce4
[ADD] beverage_distributor: added button in knowledge
dhrs-odoo Oct 17, 2024
38006ac
[ADD] bookstore: customer order flow
dhrs-odoo Oct 17, 2024
8c97b29
[ADD] cake_shop: added button in knowledge
dhrs-odoo Oct 17, 2024
fdd2adf
[ADD] clothing_boutique: added the button so it redirects to purchase…
dhrs-odoo Oct 18, 2024
a4a6c62
[ADD] coal_petroleum: added the tours as well the buttons to redirect…
dhrs-odoo Oct 18, 2024
db21e75
[ADD] custom_furniture: added button in knowledge to redirect towards…
dhrs-odoo Oct 18, 2024
07b1127
[ADD] electronic_store: added the purchase with lot no
dhrs-odoo Oct 18, 2024
b4c6d0a
[ADD] eyewear_shop: added js tour for sale order cash flow and a butt…
dhrs-odoo Oct 21, 2024
01d04b8
[ADD] eyewear_shop: enabled some essential settings
dhrs-odoo Oct 21, 2024
335b92d
[ADD] eyewear_shop: added the stock route,rule and added company
dhrs-odoo Oct 22, 2024
43efaa4
[ADD] eyewear_shop: added new warehouse for another company
dhrs-odoo Oct 22, 2024
d6364cc
[ADD] eyewear_shop: test
dhrs-odoo Oct 23, 2024
3e48e01
[ADD] eyewear_shop: completed replenishment
dhrs-odoo Oct 23, 2024
38421e9
[ADD] fitness: added button for redirection of the tour
dhrs-odoo Nov 4, 2024
6073d57
[ADD] fitness: test
dhrs-odoo Nov 4, 2024
0862041
[ADD] fmcg_store: added button in knowledge for regular purchase flow
dhrs-odoo Nov 4, 2024
5de06a7
[ADD] furniture_store: added tour for the custom flows and also
dhrs-odoo Nov 4, 2024
32238af
[ADD] furniture_store: added tour for selling product in kit
dhrs-odoo Nov 5, 2024
141e7a1
[ADD] hardware_shop: added buttons in knowledge article
dhrs-odoo Nov 5, 2024
28506ab
[ADD] odoo_partner: added button in knowledge article
dhrs-odoo Nov 5, 2024
fb69aa0
[ADD] pharmacy_retail: added tour and buttons
dhrs-odoo Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions agriculture_shop/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'data/website_theme_apply.xml',
'data/ir_model_data.xml',
'data/knowledge_tour.xml',
'data/purchase_tour.xml',
],
'demo': [
'demo/res_partner.xml',
Expand Down Expand Up @@ -70,12 +71,14 @@
'assets': {
'web.assets_backend': [
'agriculture_shop/static/src/js/my_tour.js',
'agriculture_shop/static/src/js/tours/purchase_flow.js',
]
},
'author': 'Odoo S.A.',
"cloc_exclude": [
"data/knowledge_article.xml",
"static/src/js/my_tour.js",
"static/src/js/tours/purchase_flow.js",
],
'images': ['images/main.png'],
}
1 change: 1 addition & 0 deletions agriculture_shop/data/knowledge_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<li>Confirm RFQ based on best price</li>
<li><font style="color: var(--color) !important;">Validate the reception for all quantities at once. </font></li>
</ul>
<a class="btn btn-primary mb-2" href="/odoo?tour=purchase_custom_tour" data-bs-original-title="" title="">Purchase Flow Tutorial</a>
<h2 style="margin-bottom: 0px;">
<font class="text-black"><strong>Flow 2: Sales from Website (B2B / B2C) </strong></font>
</h2>
Expand Down
8 changes: 8 additions & 0 deletions agriculture_shop/data/purchase_tour.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="purchase_tour" model="web_tour.tour">
<field name="name">purchase_custom_tour</field>
<field name="sequence">1000</field>
<field name="rainbow_man_message">Good job! You went through all steps of this tour.</field>
</record>
</odoo>
4 changes: 3 additions & 1 deletion agriculture_shop/data/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
<record id="res_config_account_setting_agriculture" model="res.config.settings">
<field name="group_analytic_accounting" eval="1"/>
<field name="group_product_pricelist" eval="True"/>
<field name="module_purchase_requisition" eval="1"/>
<field name="group_purchase_alternatives" eval="1"/>
</record>
<function name="execute" model="res.config.settings">
<function model="res.config.settings" name="execute">
<value eval="[ref('res_config_account_setting_agriculture')]"/>
</function>
</odoo>
147 changes: 147 additions & 0 deletions agriculture_shop/static/src/js/tours/purchase_flow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
import { registry } from '@web/core/registry';

registry.category("web_tour.tours").add("purchase_custom_tour", {
url: "/odoo",
steps: () => [
{
"trigger": ".o_app[data-menu-xmlid='purchase\\.menu_purchase_root']",
"run": "click"
},
{
"trigger": ".o_list_button_add",
"run": "click"
},
{
"trigger": ".o_field_widget[name='partner_id'] .o-autocomplete--input",
"run": "edit gloster"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_field_x2many_list_row_add > a:nth-child(1)",
"run": "click"
},
{
"trigger": ".o_field_product_label_section_and_note_cell .o-autocomplete--input",
"run": "edit on"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_form_button_save",
"run": "click"
},
{
"trigger": ".o_notebook_headers a[name='alternative_pos']",
"run": "click"
},
{
"trigger": ".o_field_x2many_list_row_add > a",
"run": "click"
},
{
"trigger": ".o_create_button",
"run": "click"
},
{
"trigger": "main .o_field_widget[name='partner_id'] .o-autocomplete--input",
"run": "edit ast"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_section_and_note_list_view a:nth-child(1)",
"run": "click"
},
{
"trigger": ".o_field_product_label_section_and_note_cell .o-autocomplete--input",
"run": "edit on"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_field_widget[name='product_qty'] > .o_input",
"run": "edit 100"
},
{
"trigger": ".o-wysiwyg div[contenteditable='true']",
"run": "click"
},
{
"trigger": ".o_data_cell[name='price_unit']",
"run": "click"
},
{
"trigger": ".o_field_widget[name='price_unit'] > .o_input",
"run": "edit 110"
},
{
"trigger": ".o-wysiwyg div[contenteditable='true']",
"run": "click"
},
{
"trigger": "footer > .o_form_button_save",
"run": "click"
},
{
"trigger": ".o_cell button[name='action_compare_alternative_lines']",
"run": "click"
},
{
"trigger": ".o_data_row:nth-child(3) .o_clear_qty_buttons[name='action_choose']",
"run": "click"
},
{
"trigger": ".o_back_button > a",
"run": "click"
},
{
"trigger": ".o_statusbar_buttons > button[name='button_confirm']",
"run": "click"
},
{
"trigger": ".o_technical_modal button[name='action_cancel_alternatives']",
"run": "click"
},
{
"trigger": ".o_statusbar_buttons > button[name='action_view_picking']",
"run": "click"
},
{
"trigger": ".o_data_cell:nth-child(5) > button[name='Open\\ Move']",
"run": "click"
},
{
"trigger": ".o_data_cell[name='lot_name']",
"run": "click"
},
{
"trigger": ".o_field_widget[name='lot_name'] > .o_input",
"run": "edit lot001"
},
{
"trigger": "footer > .o_form_button_save",
"run": "click"
},
{
"trigger": ".o_statusbar_buttons > button[name='button_validate']",
"run": "click"
},
{
"trigger": ".o_breadcrumb li:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_menu_brand",
"run": "click"
}
]
})
3 changes: 3 additions & 0 deletions art_craft/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'data/website_view.xml',
'data/ir_model_data.xml',
'data/knowledge_tour.xml',
'data/consignment_purchase_tour.xml',
],
'demo': [
'demo/res_partner.xml',
Expand Down Expand Up @@ -79,12 +80,14 @@
'assets': {
'web.assets_backend': [
'art_craft/static/src/js/my_tour.js',
'art_craft/static/src/js/tours/consignment_purchase_tour.js',
]
},
'author': 'Odoo S.A.',
"cloc_exclude": [
"data/knowledge_article.xml",
"static/src/js/my_tour.js",
"static/src/js/tours/consignment_purchase_tour.js",
],
'images': ['images/main.png'],
}
8 changes: 8 additions & 0 deletions art_craft/data/consignment_purchase_tour.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="consignment_purchase_tour" model="web_tour.tour">
<field name="name">consignment_purchase</field>
<field name="sequence">1000</field>
<field name="rainbow_man_message">Good job! You went through all steps of this tour.</field>
</record>
</odoo>
4 changes: 4 additions & 0 deletions art_craft/data/knowledge_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
<li>Validate the reception for all quantities at once.</li>
</ul>
<p><br /></p>
<a class="btn btn-primary mb-2" href="/odoo?tour=purchase_tour" data-bs-original-title="" title="">Purchase Flow Tutorial</a>
<p><br /></p>
<h1 style="margin-bottom: 0px;">Flow 2: Consignment Purchase</h1>
<p style="margin-bottom: 0px;"><br /></p>
<p style="margin-bottom: 0px;">
Expand All @@ -70,6 +72,8 @@
<li>Validate the reception for all quantities at once.</li>
</ul>
<p><br /></p>
<a class="btn btn-primary mb-2" href="/odoo?tour=consignment_purchase" data-bs-original-title="" title="">Consignment Purchase Flow Tutorial</a>
<p><br /></p>
<h1 style="margin-bottom: 0px;">Flow 3: Point of sales - Regular</h1>
<p style="margin-bottom: 0px;"><br /></p>
<p style="margin-bottom: 0px;">For the Small Products, orders &amp; payments are done at the shop itself, and the customer pickups the products directly.</p>
Expand Down
79 changes: 79 additions & 0 deletions art_craft/static/src/js/tours/consignment_purchase_tour.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import { registry } from '@web/core/registry';

registry.category("web_tour.tours").add("consignment_purchase", {
url: "/odoo",
steps: () => [
{
"trigger": ".o_app[data-menu-xmlid='purchase\\.menu_purchase_root']",
"run": "click"
},
{
"trigger": ".o_list_button_add",
"run": "click"
},
{
"trigger": ".o_field_widget[name='partner_id'] .o-autocomplete--input",
"run": "edit demo"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_field_widget[name='x_is_consignee'] input",
"run": "click"
},
{
"trigger": ".o_field_x2many_list_row_add > a:nth-child(1)",
"run": "click"
},
{
"trigger": ".o_field_product_label_section_and_note_cell .o-autocomplete--input",
"run": "click"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a",
"run": "click"
},
{
"trigger": ".o_section_and_note_list_view tr:nth-child(3) > td",
"run": "click"
},
{
"trigger": ".o_field_x2many_list_row_add > a:nth-child(1)",
"run": "click"
},
{
"trigger": ".o_field_product_label_section_and_note_cell .o-autocomplete--input",
"run": "click"
},
{
"trigger": ".o-autocomplete--dropdown-item:nth-child(5) > a",
"run": "click"
},
{
"trigger": ".o_section_and_note_list_view tr:nth-child(4) > td",
"run": "click"
},
{
"trigger": ".o_form_button_save",
"run": "click"
},
{
"trigger": ".o_statusbar_buttons > button[name='button_confirm']",
"run": "click"
},
{
"trigger": ".o_stat_text",
"run": "click"
},
{
"trigger": ".o_statusbar_buttons > button[name='button_validate']",
"run": "click"
},
{
"trigger": ".o_menu_brand",
"run": "click"
}
]
})
6 changes: 6 additions & 0 deletions automobile/data/knowledge_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
3. After confirming the PO Receipt will be generated based on the received quantity you have add that quantities in to the Done quantities and if some products have Lot &amp; Serial no. than at the time of validating receipt you have to
provide the lot &amp; Serial No.
</p>
<p><br /></p>
<a class="btn btn-primary mb-2" href="/odoo?tour=purchase_tour" data-bs-original-title="" title="">Purchase Flow Tutorial</a>
<p><br /></p>
<h2>Flow 2: B2B Customer<br /></h2>
<p>
1.For the B2B Sales we will use the normal process of the sales create the quotation than select the products and sent an quotation and after the negotiation via e-mail after the negotiation you can confirmed the quotation than your
Expand All @@ -49,6 +52,9 @@
</span>
<br />
</p>
<p><br /></p>
<a class="btn btn-primary mb-2" href="/odoo?tour=sale_tour" data-bs-original-title="" title="">Sales Flow Tutorial</a>
<p><br /></p>
<p data-o-mail-quote-node="1" data-o-mail-quote="1"><br /></p>
<h2>Flow 3: B2C Customer : Point of Sale<br /></h2>
<p>1.For the B2C sales we will use the POS module customer come to the shop the user will add the products which products want to buy customer and take payment of that product.<br /></p>
Expand Down
3 changes: 3 additions & 0 deletions beverage_distributor/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'data/pos_config.xml',
'data/res_config_settings.xml',
'data/knowledge_tour.xml',
'data/deposit_management_tour.xml',
],
'demo': [
'demo/website.xml',
Expand Down Expand Up @@ -77,11 +78,13 @@
'assets': {
'web.assets_backend': [
'beverage_distributor/static/src/js/my_tour.js',
'beverage_distributor/static/src/js/tours/deposit_management_tour.js',
]
},
"cloc_exclude": [
"data/knowledge_article.xml",
"static/src/js/my_tour.js",
"static/src/js/tours/deposit_management_tour.js",
],
'license': 'OPL-1',
'author': 'Odoo S.A.',
Expand Down
8 changes: 8 additions & 0 deletions beverage_distributor/data/deposit_management_tour.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="deposit_management_tour" model="web_tour.tour">
<field name="name">deposit_management_tour</field>
<field name="sequence">1000</field>
<field name="rainbow_man_message">Good job! You went through all steps of this tour.</field>
</record>
</odoo>
Loading