← Back to team overview

openerp-india team mailing list archive

[Bug 1239102] Re: confirm quotation - move update

 

No problem Amit, hope you can solve this quickly. I suppose that they
should delete that part of code or make a workaround. They could raise
an error saying why this is forbidden but that wouldn't help so much
because outgoing shipping order is done and you can't do nothing about
it (you'll never be able to confirm this purchase order).

Cheers!

-- 
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