mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-22 17:32:11 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 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