Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3208 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
nov 22
197
1
mar 22
6733
2
ott 25
2596
1
set 25
2593
3
lug 25
4035