diff --git a/addons/hr_expense/views/report_expense.xml b/addons/hr_expense/views/report_expense.xml index 42be66c3492..5bb2e1dd8e2 100644 --- a/addons/hr_expense/views/report_expense.xml +++ b/addons/hr_expense/views/report_expense.xml @@ -44,7 +44,7 @@
- + diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index c1406a3743a..320d5438a7d 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -293,7 +293,7 @@ class product_pricelist(osv.osv): if rule.base_pricelist_id: price_tmp = self._price_get_multi(cr, uid, rule.base_pricelist_id, [(product, - qty, False)], context=context)[product.id] + qty, partner)], context=context)[product.id] ptype_src = rule.base_pricelist_id.currency_id.id price_uom_id = qty_uom_id price = currency_obj.compute(cr, uid, diff --git a/addons/product/product.py b/addons/product/product.py index 72a7848fd8c..5e1e0290390 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -664,7 +664,7 @@ class product_template(osv.osv): temp_variants = [] for variant in all_variants: for value_id in variant_id.value_ids: - temp_variants.append(variant + [int(value_id)]) + temp_variants.append(sorted(variant + [int(value_id)])) if temp_variants: all_variants = temp_variants @@ -682,7 +682,7 @@ class product_template(osv.osv): variants_active_ids = [] variants_inactive = [] for product_id in tmpl_id.product_variant_ids: - variants = map(int,product_id.attribute_value_ids) + variants = sorted(map(int,product_id.attribute_value_ids)) if variants in all_variants: variants_active_ids.append(product_id.id) all_variants.pop(all_variants.index(variants)) diff --git a/addons/purchase/views/report_purchaseorder.xml b/addons/purchase/views/report_purchaseorder.xml index d1285c1d71b..87c6834d869 100644 --- a/addons/purchase/views/report_purchaseorder.xml +++ b/addons/purchase/views/report_purchaseorder.xml @@ -79,7 +79,7 @@ + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> @@ -92,21 +92,21 @@ Total Without Taxes + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> Taxes + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> Total + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> diff --git a/addons/purchase_requisition/purchase_requisition.py b/addons/purchase_requisition/purchase_requisition.py index 5a8630c9a90..d6560da4278 100644 --- a/addons/purchase_requisition/purchase_requisition.py +++ b/addons/purchase_requisition/purchase_requisition.py @@ -173,7 +173,7 @@ class purchase_requisition(osv.osv): 'order_id': purchase_id, 'product_id': product.id, 'account_analytic_id': requisition_line.account_analytic_id.id, - 'taxes_id': [(6, 0, vals.get('taxes_ids', []))], + 'taxes_id': [(6, 0, vals.get('taxes_id', []))], }) return vals diff --git a/addons/report/views/layouts.xml b/addons/report/views/layouts.xml index d68c3ef0211..917495e7e72 100644 --- a/addons/report/views/layouts.xml +++ b/addons/report/views/layouts.xml @@ -32,6 +32,7 @@