← Back to team overview

openerp-community team mailing list archive

lp:~openerp-community/openobject-addons/trunk-bug-1145302-hitesh into lp:openobject-addons

 

Hitesh Vaghasiya(OpenERP Trainee) has proposed merging lp:~openerp-community/openobject-addons/trunk-bug-1145302-hitesh into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1145302-hitesh/+merge/151917

Hello,

It has been fixed into this branch lp:~openerp-community/openobject-addons/trunk-bug-1145302-hitesh
with followint revision

Revision ID:hiteshvaghasiya1990@xxxxxxxxx-20130306103716-5jea30sss5u74d7u
Revision No:8593

it will be merged soon in addons!!!

Thanks
-- 
https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-1145302-hitesh/+merge/151917
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/trunk-bug-1145302-hitesh.
=== modified file 'product/product.py'
--- product/product.py	2012-12-18 22:06:17 +0000
+++ product/product.py	2013-03-06 10:48:23 +0000
@@ -837,7 +837,7 @@
         'product_name': fields.char('Supplier Product Name', size=128, help="This supplier's product name will be used when printing a request for quotation. Keep empty to use the internal one."),
         'product_code': fields.char('Supplier Product Code', size=64, help="This supplier's product code will be used when printing a request for quotation. Keep empty to use the internal one."),
         'sequence' : fields.integer('Sequence', help="Assigns the priority to the list of product supplier."),
-        'product_uom': fields.related('product_id', 'uom_po_id', type='many2one', relation='product.uom', string="Supplier Unit of Measure", readonly="1", help="This comes from the product form."),
+        'product_uom': fields.related('product_id', 'uom_po_id', type='many2one', relation='product.uom', string="Supplier Unit of Measure", help="This comes from the product form."),
         'min_qty': fields.float('Minimal Quantity', required=True, help="The minimal quantity to purchase to this supplier, expressed in the supplier Product Unit of Measure if not empty, in the default unit of measure of the product otherwise."),
         'qty': fields.function(_calc_qty, store=True, type='float', string='Quantity', multi="qty", help="This is a quantity which is converted into Default Unit of Measure."),
         'product_id' : fields.many2one('product.template', 'Product', required=True, ondelete='cascade', select=True),