mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 03:52:00 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -0,0 +1,14 @@
|
|||
import { models } from "@web/../tests/web_test_helpers";
|
||||
|
||||
|
||||
export class SaleOrder extends models.ServerModel {
|
||||
_name = "sale.order";
|
||||
|
||||
_records = [
|
||||
{
|
||||
id: 1,
|
||||
name: "first record",
|
||||
order_line: [],
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
import { fields, models } from "@web/../tests/web_test_helpers";
|
||||
|
||||
|
||||
export class SaleOrderLine extends models.ServerModel {
|
||||
_name = "sale.order.line";
|
||||
|
||||
// Store the field for testing to be able to set the translation at the record creation.
|
||||
translated_product_name = fields.Char({store: true});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue