addons/point_of_sale/static/tests/unit/data/res_country_state.data.js
raw| 1 | import { models } from "@web/../tests/web_test_helpers"; |
| 2 | |
| 3 | export class ResCountryState extends models.ServerModel { |
| 4 | _name = "res.country.state"; |
| 5 | |
| 6 | _load_pos_data_fields() { |
| 7 | return ["id", "name", "code", "country_id"]; |
| 8 | } |
| 9 | |
| 10 | _records = [ |
| 11 | { |
| 12 | id: 69, |
| 13 | name: "Armed Forces Europe", |
| 14 | code: "AE", |
| 15 | country_id: 233, |
| 16 | }, |
| 17 | ]; |
| 18 | } |