← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~numerigraphe-team/purchase-wkfl/7.0-fix-decimal-precision into lp:purchase-wkfl

 

Lionel Sausin - Numérigraphe has proposed merging lp:~numerigraphe-team/purchase-wkfl/7.0-fix-decimal-precision into lp:purchase-wkfl.

Requested reviews:
  Purchase Core Editors (purchase-core-editors)

For more details, see:
https://code.launchpad.net/~numerigraphe-team/purchase-wkfl/7.0-fix-decimal-precision/+merge/223883

In version 7 the name of the digital precision parameter for UoMs has changed : this branch updates the modules where the change is missing.
-- 
https://code.launchpad.net/~numerigraphe-team/purchase-wkfl/7.0-fix-decimal-precision/+merge/223883
Your team Purchase Core Editors is requested to review the proposed merge of lp:~numerigraphe-team/purchase-wkfl/7.0-fix-decimal-precision into lp:purchase-wkfl.
=== modified file 'purchase_delivery_term/purchase.py'
--- purchase_delivery_term/purchase.py	2013-10-10 07:55:36 +0000
+++ purchase_delivery_term/purchase.py	2014-06-20 09:43:34 +0000
@@ -101,7 +101,7 @@
             digits_compute= dp.get_precision('Product Price')),
         'price_subtotal': fields.function(_amount_line, string='Subtotal',
             digits_compute= dp.get_precision('Product Price')),
-        'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product UoM'), required=True),
+        'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True),
         'product_uom': fields.many2one('product.uom', 'Product UOM', required=True),
         'order_line_ids': fields.one2many('purchase.order.line',
             'master_line_id', 'Detailed lines'),

=== modified file 'purchase_landed_costs/purchase.py'
--- purchase_landed_costs/purchase.py	2014-03-03 13:49:27 +0000
+++ purchase_landed_costs/purchase.py	2014-06-20 09:43:34 +0000
@@ -486,7 +486,7 @@
             string='Landed Costs Total Untaxed'),
         'quantity_total': fields.function(
             _quantity_total,
-            digits_compute=dp.get_precision('Product UoM'),
+            digits_compute=dp.get_precision('Product Unit of Measure'),
             string='Total Quantity'),
     }
 


Follow ups