Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
2
दिस॰ 23
14664
0
अक्तू॰ 23
33
3
अक्तू॰ 23
788
1
अक्तू॰ 23
569
1
अग॰ 23
2406