openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26165
[Bug 1239102] Re: confirm quotation - move update
Hello,
Let me assign this to our R&D team they will find out quick and precious
solution for this .
Cheers and thanks for the quick response every-time!
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1239102
Title:
confirm quotation - move update
Status in OpenERP Addons (modules):
Confirmed
Bug description:
There is a bug when you try to confirm a Quotation:
If a quotation is created from a sale order (when a product in sale order is configured as "procurement method": "make to order" and "supply method": "buy") then you are unable to confirm the quotation when not logged in as Administrator.
This happens because there is a part of code in purchase.py around line 663:
if order_line.move_dest_id:
order_line.move_dest_id.write({'location_id': order.location_id.id})
And this will produce an error because you cannot update significant
data on stock.move when they are in state "done".
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1239102/+subscriptions
References