Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2983 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Nov 22
197
1
Mar 22
6339
1
Sep 25
1983
1
Jun 25
2010
3
Jul 25
3588