← Back to team overview

openerp-india team mailing list archive

[Bug 1239102] [NEW] confirm quotation - move update

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: 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


Follow ups

References