Rohan Nayani(Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-774057-ron into
lp:openobject-addons.
Requested reviews:
Rucha (Open ERP) (rpa-openerp)
Related bugs:
Bug #774057 in OpenERP Addons: "KeyError: "Field 'name' does not exist in
object 'browse_record(stock.inventory.line, 1)'""
https://bugs.launchpad.net/openobject-addons/+bug/774057
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-774057-ron/+merge/60017
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-774057-ron/+merge/60017
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-774057-ron.
=== modified file 'stock/stock.py'
--- stock/stock.py 2011-05-02 18:46:43 +0000
+++ stock/stock.py 2011-05-05 05:49:24 +0000
@@ -2623,6 +2623,7 @@
class stock_inventory_line(osv.osv):
_name = "stock.inventory.line"
_description = "Inventory Line"
+ _rec_name = "inventory_id"
_columns = {
'inventory_id': fields.many2one('stock.inventory', 'Inventory', ondelete='cascade', select=True),
'location_id': fields.many2one('stock.location', 'Location', required=True),
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp