| 1 |
import { models, fields } from "@web/../tests/web_test_helpers"; |
| 2 |
|
| 3 |
export class AccountAnalyticLine extends models.ServerModel { |
| 4 |
_name = "account.analytic.line"; |
| 5 |
|
| 6 |
amount = fields.Float() |
| 7 |
account_id = fields.Many2one({ relation: "account.analytic.account" }) |
| 8 |
x_plan1_id = fields.Many2one({ string: "State", relation: "account.analytic.account" }) |
| 9 |
x_plan1_id_1 = fields.Many2one({ string: "Continent", relation: "account.analytic.plan" }) |
| 10 |
x_plan1_id_2 = fields.Many2one({ string: "Country ", relation: "account.analytic.plan" }) |
| 11 |
analytic_distribution = fields.Json(); |
| 12 |
} |