← Back to team overview

openerp-india team mailing list archive

[Bug 1239102] Re: confirm quotation - move update

 

Hi Amit!

You have to process your outgoing shipment first before you go to
purchase order. This code will produce an error if you try to do this on
a stock.move which is in state done. You have created and confirmed your
sale order but you haven't processed your outgoing shipment before going
to purchase order...

** Changed in: openobject-addons
       Status: Incomplete => New

-- 
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):
  New

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