mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-23 17:02:00 +02:00
19.0 vanilla
This commit is contained in:
parent
6e54c1af6c
commit
3ca647e428
1087 changed files with 132065 additions and 108499 deletions
|
|
@ -0,0 +1,7 @@
|
|||
import { PosConfig } from "@point_of_sale/../tests/unit/data/pos_config.data";
|
||||
|
||||
PosConfig._records = PosConfig._records.map((record) => ({
|
||||
...record,
|
||||
module_pos_discount: true,
|
||||
discount_product_id: 151,
|
||||
}));
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
import { ProductProduct } from "@point_of_sale/../tests/unit/data/product_product.data";
|
||||
|
||||
ProductProduct._records = [
|
||||
...ProductProduct._records,
|
||||
{
|
||||
id: 151,
|
||||
product_tmpl_id: 151,
|
||||
lst_price: 1,
|
||||
standard_price: 0,
|
||||
display_name: "Discount",
|
||||
product_tag_ids: [],
|
||||
barcode: false,
|
||||
default_code: false,
|
||||
product_template_attribute_value_ids: [],
|
||||
product_template_variant_value_ids: [],
|
||||
},
|
||||
];
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
import { ProductTemplate } from "@point_of_sale/../tests/unit/data/product_template.data";
|
||||
|
||||
ProductTemplate._records = [
|
||||
...ProductTemplate._records,
|
||||
{
|
||||
id: 151,
|
||||
name: "Discount",
|
||||
display_name: "Discount",
|
||||
list_price: 0,
|
||||
standard_price: 0,
|
||||
type: "consu",
|
||||
service_tracking: "none",
|
||||
pos_categ_ids: [1],
|
||||
categ_id: false,
|
||||
uom_id: 1,
|
||||
available_in_pos: true,
|
||||
active: true,
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue