addons/point_of_sale/static/tests/unit/data/account_journal.data.js
raw| 1 | import { models } from "@web/../tests/web_test_helpers"; |
| 2 | |
| 3 | export class AccountJournal extends models.ServerModel { |
| 4 | _name = "account.journal"; |
| 5 | |
| 6 | _load_pos_data_fields() { |
| 7 | return []; |
| 8 | } |
| 9 | |
| 10 | _records = [ |
| 11 | { |
| 12 | id: 1, |
| 13 | name: "Point of Sale", |
| 14 | type: "sale", |
| 15 | code: "POS", |
| 16 | company_id: 250, |
| 17 | }, |
| 18 | ]; |
| 19 | } |