تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2130 أدوات العرض

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?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 23
14673
0
أكتوبر 23
33
3
أكتوبر 23
788
1
أكتوبر 23
569
1
أغسطس 23
2418