|
@ -17,7 +17,7 @@ class AccountMoveLine(models.Model): |
|
|
|
|
|
|
|
|
@api.onchange("product_id") |
|
|
@api.onchange("product_id") |
|
|
def _inverse_product_id(self): |
|
|
def _inverse_product_id(self): |
|
|
super()._onchange_product_id() |
|
|
|
|
|
|
|
|
super()._inverse_product_id() |
|
|
for line in self: |
|
|
for line in self: |
|
|
if not line.product_id or line.display_type in ( |
|
|
if not line.product_id or line.display_type in ( |
|
|
"line_section", |
|
|
"line_section", |
|
|