Skip to content

Commit

Permalink
fixup! [FIX] accessing self.record fails with multiple records
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspaulb authored and legalsylvain committed Jul 27, 2018
1 parent 18f1a4f commit 6567948
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def write_taxes_setting(self, vals):
if fc_id:
# update or replace 'taxes_id' and 'supplier_taxes_id'
fc_obj = self.env['account.product.fiscal.classification']
fc = fc_obj.browse(classification_id)
fc = fc_obj.browse(fc_id)
tax_vals = {
'supplier_taxes_id': [[6, 0, [
x.id for x in fc.purchase_tax_ids]]],
Expand Down

0 comments on commit 6567948

Please sign in to comment.