Amit Bhavsar (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1008036-amb into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1008036 in OpenERP Addons: "stock Inventory - forbid changes in 
inventory lines after confirm "
  https://bugs.launchpad.net/openobject-addons/+bug/1008036

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1008036-amb/+merge/108686

Hello,

Fixes the problem of the Inventory line change in confirm state at Physical 
Inventories.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1008036-amb/+merge/108686
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1008036-amb.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml	2012-06-04 12:20:53 +0000
+++ stock/stock_view.xml	2012-06-05 07:12:22 +0000
@@ -123,7 +123,7 @@
                     <field name="company_id" groups="base.group_multi_company" widget="selection"/>
                     <notebook colspan="4">
                     <page string="General Informations">
-                        <field colspan="4" name="inventory_line_id" nolabel="1" widget="one2many_list">
+                        <field colspan="4" name="inventory_line_id" nolabel="1" widget="one2many_list" attrs="{'readonly':[('state','!=','draft')]}" >
                             <tree string="Products" editable="bottom">
                                 <field domain="[('usage','=','internal')]" name="location_id"/>
                                 <field context="{'location':location_id, 'uom':product_uom, 'to_date':parent.date}" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom,parent.date)"  domain="[('type','&lt;&gt;','service')]"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to