콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2205 화면

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
12월 23
14883
0
10월 23
33
3
10월 23
788
1
10월 23
569
1
8월 23
2536