Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2113 Tampilan

Hi,

I have a price_bruto field and want to freeze it when the invoice is  != draft


class AccountInvoiceLine(models.Model):

    _inherit = "account.invoice.line"


    price_bruto = fields.Float(related='product_id.price_bruto', string="Price bruto", store=True)


Is it posible?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 23
14659
0
Okt 23
33
3
Okt 23
788
1
Okt 23
569
1
Agu 23
2406