Stock prodlot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Try to make production with prodlot.
Go to production, product made, split prodlot, create new prodlot and then :
Traceback (most recent call last):
File "/opt/openerp/
result = LocalService(
File "/opt/openerp/
return getattr(self, method)(*params)
File "/opt/openerp/
res = super(recording
File "/opt/openerp/
res = service.execute(db, uid, object, method, *args)
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/openerp/
res2 = self._columns[
File "/opt/openerp/
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/opt/openerp/
''')
File "/opt/openerp/
return f(self, *args, **kwargs)
File "/opt/openerp/
res = self._obj.
ProgrammingError: ERREUR: la relation « stock_report_
LIGNE 5 : stock_report_
openerp 5.0.7
postgresql 8.4
debian 5.0
Hello Bruno,
I would say that its an error coming due to some local changes.
Can you please go to the file stock/report_ stock.py and check whether the view contains the name stock_report_ prodlots?
Please apply the patch and recheck.
Thanks.
Another way: stock.py. Look for the line 'create or replace view stock_report_ prodlot as' on init() of class stock_report_ prodlots.
Go to stock/report_
I guess it has been modified. If so, look at the name of the view. and drop it.
Have an update of the module.
Thanks.