Browse Source

Merge pull request #199 from grap/8.0_FIX_pos_pricelist_use_all_taxes

[8.0][FIX] pos_pricelist : allow to use taxes type 'all'
pull/201/head
Stefan Rijnhart (Opener) 7 years ago
committed by GitHub
parent
commit
8040208fa0
  1. 2
      pos_pricelist/models/point_of_sale.py

2
pos_pricelist/models/point_of_sale.py

@ -69,7 +69,7 @@ class PosOrderLine(models.Model):
tax_ids = fields.Many2many(
'account.tax', 'pline_tax_rel', 'pos_line_id', 'tax_id',
"Taxes", domain=[('type_tax_use', '=', 'sale')])
"Taxes", domain=[('type_tax_use', 'in', ['sale', 'all'])])
price_subtotal = fields.Float(compute="_amount_line_all", store=True)
price_subtotal_incl = fields.Float(compute="_amount_line_all", store=True)

Loading…
Cancel
Save