mirror of
https://github.com/bringout/oca-pos.git
synced 2026-04-23 07:21:59 +02:00
Move all OCA POS modules from oca-technical to dedicated oca-pos submodule
Reorganized 74 POS-related modules for better structure: - Moved all odoo-bringout-oca-pos-* packages from packages/oca-technical/ - Now organized in dedicated packages/oca-pos/ submodule - Includes payment, receipt, loyalty, order, product, and partner modules - Maintains all module functionality while improving project organization This creates a cleaner separation between general technical modules and Point of Sale specific functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3791451dc1
commit
377f346a99
2675 changed files with 93308 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import {getSteps, startSteps} from "point_of_sale.tour.utils";
|
||||
import {ProductScreen} from "point_of_sale.tour.ProductScreenTourMethods";
|
||||
import Tour from "web_tour.tour";
|
||||
|
||||
startSteps();
|
||||
ProductScreen.do.clickHomeCategory();
|
||||
ProductScreen.do.confirmOpeningPopup();
|
||||
|
||||
ProductScreen.do.clickPartnerButton();
|
||||
ProductScreen.do.clickCustomer("Mr Odoo");
|
||||
ProductScreen.exec.addOrderline("Product Include Loyalty", "1.00", "90");
|
||||
ProductScreen.check.totalAmountIs("90.00");
|
||||
// Excluded-loyalty product has no effect on the minimum amount required to apply for the loyalty program.
|
||||
ProductScreen.exec.addOrderline("Product Exclude Loyalty", "1.00", "100");
|
||||
ProductScreen.check.totalAmountIs("190.00");
|
||||
|
||||
// Increase the quantity of applicable product for loyalty program
|
||||
ProductScreen.do.clickOrderline("Product Include Loyalty", "1.00");
|
||||
// Change the quantity of the product to 2
|
||||
ProductScreen.do.pressNumpad("Qty 2");
|
||||
ProductScreen.check.totalAmountIs("270.00");
|
||||
|
||||
Tour.register("PosExcludeLoyaltyPromotion", {test: true, url: "/pos/web"}, getSteps());
|
||||
Loading…
Add table
Add a link
Reference in a new issue