addons/point_of_sale/static/tests/unit/data/account_fiscal_position.data.js
raw| 1 | import { models } from "@web/../tests/web_test_helpers"; |
| 2 | |
| 3 | export class AccountFiscalPosition extends models.ServerModel { |
| 4 | _name = "account.fiscal.position"; |
| 5 | |
| 6 | _load_pos_data_fields() { |
| 7 | return ["id", "name", "display_name", "tax_map", "tax_ids"]; |
| 8 | } |
| 9 | |
| 10 | _records = [ |
| 11 | { |
| 12 | id: 1, |
| 13 | name: "Domestic", |
| 14 | display_name: "Domestic", |
| 15 | tax_ids: [1], |
| 16 | }, |
| 17 | { |
| 18 | id: 2, |
| 19 | name: "No tax fp", |
| 20 | display_name: "No tax fp", |
| 21 | }, |
| 22 | ]; |
| 23 | } |