Skip to content
Browse files


  • Loading branch information...
Feyensv committed Nov 8, 2019
1 parent a2986aa commit 3752bac741b7344d10f173998126f0ed3284192d
Showing with 2 additions and 0 deletions.
  1. +2 −0 addons/account/models/
@@ -1674,6 +1674,8 @@ class AccountTaxRepartitionLine(models.Model):
refund_tax_id = fields.Many2one(comodel_name='', help="The tax set to apply this repartition on refund invoices. Mutually exclusive with invoice_tax_id")
tax_id = fields.Many2one(comodel_name='', compute='_compute_tax_id')
country_id = fields.Many2one(string="Country", comodel_name='', related='company_id.country_id', help="Technical field used to restrict tags domain in form view.")
# VFE FIXME does it take the user main company on purpose ?
# shouldn't it use the company on the environment?
company_id = fields.Many2one(string="Company", comodel_name='', required=True, default=lambda x: x.env.user.company_id, help="The company this repartition line belongs to.")
sequence = fields.Integer(string="Sequence", default=1, help="The order in which display and match repartition lines. For refunds to work properly, invoice repartition lines should be arranged in the same order as the credit note repartition lines they correspond to.")

0 comments on commit 3752bac

Please sign in to comment.
You can’t perform that action at this time.