From 3ba1710f2a3bfaa7332431e6431d7e03ee585cdf Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 10 Aug 2017 17:43:36 +0200 Subject: [PATCH] [FIX] allow to use taxes type 'all' --- pos_pricelist/models/point_of_sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos_pricelist/models/point_of_sale.py b/pos_pricelist/models/point_of_sale.py index a7b990b0..4ff55a55 100644 --- a/pos_pricelist/models/point_of_sale.py +++ b/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)