| 1 |
import { models } from "@web/../tests/web_test_helpers"; |
| 2 |
|
| 3 |
export class PosOrderLine extends models.ServerModel { |
| 4 |
_name = "pos.order.line"; |
| 5 |
|
| 6 |
_load_pos_data_fields() { |
| 7 |
return [ |
| 8 |
"qty", |
| 9 |
"attribute_value_ids", |
| 10 |
"custom_attribute_value_ids", |
| 11 |
"price_unit", |
| 12 |
"uuid", |
| 13 |
"price_subtotal", |
| 14 |
"price_subtotal_incl", |
| 15 |
"order_id", |
| 16 |
"note", |
| 17 |
"price_type", |
| 18 |
"product_id", |
| 19 |
"discount", |
| 20 |
"tax_ids", |
| 21 |
"pack_lot_ids", |
| 22 |
"customer_note", |
| 23 |
"refunded_qty", |
| 24 |
"price_extra", |
| 25 |
"full_product_name", |
| 26 |
"refunded_orderline_id", |
| 27 |
"combo_parent_id", |
| 28 |
"combo_line_ids", |
| 29 |
"combo_item_id", |
| 30 |
"refund_orderline_ids", |
| 31 |
"extra_tax_data", |
| 32 |
"write_date", |
| 33 |
]; |
| 34 |
} |
| 35 |
} |