← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697502] Re: [sale][trunk]changing pricelist does not change prices in sale order

 

Hi Graeme Gellatly,

Few corrections have taken place which you would be able to see when you
update the code.

As far as the issue of changing a partner is concerned, here are my
views;

1. In real systems, I do not think we would change customer(partner) details after having an entry of Sale order lines.
2. Its very difficult for the wizard to manage to remember that its the pricelist for different partner and has just been changed. So its better to change the pricelist from wizard. Either way, its always a trick to set a wrong pricelist and then call a wizard to keep the things right for you.

There is always a Tiny Solution for any problem: If you still want to make it work for you, you can follow one of the following ways:
1. Remove/ Disable the 2 lines which check for existing pricelist.(lines 40,41)
2. Add a field called partner_id on wizard, change line 37. The change of partner and pricelist both can now be handled from wizard.


Hope this helps.
Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697502

Title:
  [sale][trunk]changing pricelist does not change prices in sale order

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  Scenario. Same quote to 2 customers on different pricelists.

Create 2 pricelists A & B
Create quote and save at price A.
Duplicate quote and change pricelist to B.  
Price does not change.

Next Scenario. Customer phones and wants better price
Use existing quote A and change pricelist to B.
Price does not change.

Next scenario. I just typed out a big order, then realised I used wrong pricelist, change pricelist, but price does not change.

However if I go in to each order line and trigger on_change in those fields price updates.

Latest revisions as of yesterday.  Seems like an on-change function is required for the pricelist field.





Follow ups

References