mirror of
https://github.com/bringout/oca-pos.git
synced 2026-04-23 11: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,46 @@
|
|||
odoo.define("pos_container_deposit.test_tour", function (require) {
|
||||
"use strict";
|
||||
|
||||
const {ProductScreen} = require("point_of_sale.tour.ProductScreenTourMethods");
|
||||
const {getSteps, startSteps} = require("point_of_sale.tour.utils");
|
||||
const Tour = require("web_tour.tour");
|
||||
const product_name = "Generic sugar liquid";
|
||||
const deposit_product_name = "Bottle deposit .25";
|
||||
|
||||
startSteps();
|
||||
|
||||
ProductScreen.do.clickHomeCategory();
|
||||
ProductScreen.do.clickDisplayedProduct(product_name);
|
||||
ProductScreen.do.clickDisplayedProduct(product_name);
|
||||
ProductScreen.check.checkOrderlinesNumber(2);
|
||||
ProductScreen.check.selectedOrderlineHas(product_name);
|
||||
getSteps().push({
|
||||
content: `selecting orderline with product '${deposit_product_name}' and quantity '2.0'`,
|
||||
trigger: `.order .orderline:not(:has(.selected)) .product-name:contains("${deposit_product_name}") ~ .info-list em:contains("2.0")`,
|
||||
});
|
||||
ProductScreen.check.selectedOrderlineHas(product_name);
|
||||
ProductScreen.do.pressNumpad("Price");
|
||||
ProductScreen.check.modeIsActive("Price");
|
||||
ProductScreen.do.pressNumpad("5");
|
||||
ProductScreen.check.selectedOrderlineHas(product_name, "2", "10");
|
||||
ProductScreen.do.clickDisplayedProduct(product_name);
|
||||
ProductScreen.do.clickDisplayedProduct(product_name);
|
||||
ProductScreen.check.checkOrderlinesNumber(4);
|
||||
ProductScreen.do.pressNumpad("Qty");
|
||||
ProductScreen.do.pressNumpad("Backspace");
|
||||
ProductScreen.do.pressNumpad("Backspace");
|
||||
ProductScreen.check.modeIsActive("Qty");
|
||||
ProductScreen.check.selectedOrderlineHas(product_name, "2", "10");
|
||||
ProductScreen.check.checkOrderlinesNumber(2);
|
||||
ProductScreen.do.pressNumpad("Qty");
|
||||
ProductScreen.do.pressNumpad("Backspace");
|
||||
ProductScreen.do.pressNumpad("Backspace");
|
||||
ProductScreen.check.modeIsActive("Qty");
|
||||
ProductScreen.check.orderIsEmpty();
|
||||
|
||||
Tour.register(
|
||||
"pos_container_deposit.test_tour",
|
||||
{test: true, url: "/pos/ui"},
|
||||
getSteps()
|
||||
);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue