Skip to content

Commit

Permalink
[FIX] Related Field can be reference another related field.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Apr 30, 2021
1 parent 0559fe4 commit 8b4b3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_br_sale/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _fiscal_operation_domain(self):
# Usado para tornar Somente Leitura os campos dos custos
# de entrega quando a definição for por Total
delivery_costs = fields.Selection(
related='order_id.company_id.delivery_costs',
related='company_id.delivery_costs',
)

def _get_protected_fields(self):
Expand Down

0 comments on commit 8b4b3c2

Please sign in to comment.