stock picking process crash

Bug #704652 reported by Cristian Salamea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

In fresh installation with:
Revno
server: 3296
addons: 4306
client: 1785

Change a product with average cost
Create an Purchase Order, approved
Go to receptions, open it
Click on Process, give this error :

[2011-01-18 16:33:54,675][trunk] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/ovnicraft/development/openerp/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/ovnicraft/development/openerp/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/ovnicraft/development/openerp/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/ovnicraft/development/openerp/addons/stock/stock.py", line 664, in action_process
    cr, uid, {}, context=dict(context, active_ids=ids))
  File "/home/ovnicraft/development/openerp/server/bin/osv/orm.py", line 1980, in create
    if self._columns[field]._classic_write:
KeyError: 'move74_product_price'

Tags: purchase stock

Related branches

Revision history for this message
xrg (xrg) wrote : Re: [Bug 704652] [NEW] stock picking process crash

On Tuesday 18 January 2011, you wrote:
> Public bug reported:
>
> In fresh installation with:
> Revno
> server: 3296
> addons: 4306
> client: 1785
>
...
> KeyError: 'move74_product_price'

move74... ?
Do you have some custom code there?

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

I dont, its with latest code from trunk. its create dynamically so that number is asigned in wizard stock_partial_picking

Regards,

Revision history for this message
qdp (OpenERP) (qdp) wrote :

i confirm the bug. I'm on it

Changed in openobject-addons:
status: New → In Progress
Revision history for this message
qdp (OpenERP) (qdp) wrote :

fixed in revision 4326.

thansk for the contribution,
Quentin

Changed in openobject-addons:
status: In Progress → Fix Released
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Thanks for fix it i was not considering the changes in purchase module

Best regards,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.