IN ODOO 15 I HAVE CREATED A FIELD x_MONTH in account.move model. I would like to have this field (related?) in the invoice.account.report model.
How should i create the related field in this model?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
IN ODOO 15 I HAVE CREATED A FIELD x_MONTH in account.move model. I would like to have this field (related?) in the invoice.account.report model.
How should i create the related field in this model?
Thanks
Hello Javier,
You need to add first M2O (account.move) field in invoice.account.report and add related field.
XYZ = fields.Many2one(account.move)
PQR = fields.Date(related=XYZ.pqr)
Thanks.
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
0
11월 22
|
197 | |||
|
1
3월 22
|
7099 | |||
|
2
10월 25
|
3219 | |||
|
1
9월 25
|
3152 | |||
|
3
7월 25
|
4438 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.