← Back to team overview

openerp-dev-web team mailing list archive

[Bug 627437] Re: [trunk] stock_move is enterable in WEB, but mandatory company_id is not defined

 

Has been Fixed by having company_id put by default on default_get.
Thanks.

** Project changed: openobject-client-web => openobject-addons

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

** Changed in: openobject-addons
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web) => (unassigned)

-- 
[trunk] stock_move is enterable in WEB, but mandatory company_id is not defined
https://bugs.launchpad.net/bugs/627437
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.

Status in OpenObject Addons Modules: Fix Released

Bug description:
I am surprised to be able to click NEW in WEB client

Warehouse / Tracability / Stock Moves

but as the mandatory company_id field (stock/stock.py) is missing no data can be saved

Error Message 
"Please enter a value" 

IMHO stock_moves should always be attached to a stock_picking, to get the "type"
'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal'), ('delivery', 'Delivery')], 'Shipping Type', required=True,

also I admit that a stock_move "alone" could well exist in theory. 

I just fear we will not find it using a voucher number.