Debian Codegraph @

addons/point_of_sale/static/tests/unit/data/account_tax_group.data.js

raw
1 import { models } from "@web/../tests/web_test_helpers";
2
3 export class AccountTaxGroup extends models.ServerModel {
4 _name = "account.tax.group";
5
6 _load_pos_data_fields() {
7 return ["id", "name", "pos_receipt_label"];
8 }
9
10 _records = [
11 {
12 id: 1,
13 name: "Tax 15%",
14 pos_receipt_label: false,
15 },
16 {
17 id: 2,
18 name: "Tax 0%",
19 pos_receipt_label: false,
20 },
21 {
22 id: 3,
23 name: "Tax 25%",
24 pos_receipt_label: false,
25 },
26 {
27 id: 4,
28 name: "No group",
29 pos_receipt_label: false,
30 },
31 ];
32 }