Warning message wrongly indicates you can't record a stock move when prodlot is out of stock

Bug #641084 reported by Numérigraphe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Invalid
Undecided
Unassigned
Trunk
Fix Released
Wishlist
OpenERP R&D Addons Team 2

Bug Description

In 5.0.10, when you make an outgoing packing and enter a production lot for a stock move, you can't confirm the move when the stock for this lot is insufficient.
This is not consistent with the usual behavior in OpenERP : we always try to trust users, and allow them to force operations even when that proves the stock is wrong.
So there should be a way to force OpenERP to record this move, in the spirit of the "force assign" button of the packings.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

I think that's because of the way it's managed in stock.stock_move.onchange_lot_id().
Lionel.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Lionel,

I do not see what restricts you confirming the move.
'Bad lot assignation' is just a warning, not a blocking point.

Let me know more about this.
Thanks.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Thank you Jay, it is indeed just a warning, the title made me think it was a blocking error.
I think in v6 the title should be changed: "Bad Lot Assignation" -> "Warning: insufficient Stock in Lot"
Lionel.

summary: - Cannot record outgoing stock move when OpenERP thinks a prodlot is out
- of stock
+ Warning message wrongly indicates you can't record a stock move when
+ prodlot is out of stock
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks Lionel.

tags: added: maintenance
tags: added: wording
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello Numérigraphe,

it has been fixed in branch lp:~openerp-dev/openobject-addons/ksa-addons2
 Revision NO - 3849
Revision ID: <email address hidden>

Thanks.

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.