← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Jay,

Thanks for everything, really.  I am ecstatic by what has been done.

Here is 2 common scenarios where changing partner after entry of sales order
lines occurs, the 2nd especially common with quotes.

1. We got the wrong partner - my users do this regularly - although to be
honest, normally with the order not the quote, however cancel picking,
cancel order and reset to draft and change partner is still better than
reentering all the lines again.
2. We are a manufacturing operation that supplies the construction sector.
Many times (if not every time these days), we must quote the same job to
multiple bidders.  Because we are responsible for the quantification, the
quantities are always exactly the same. The same is true in organizations
which supply suppliers to the public sector as they always want multiple
quotes.  To be able to duplicate the quote, change the partner and update
pricing is a huge time saving.

Anyway, even with the version I tested last night it is entirely workable in
both those scenarios.  I just understood your second solution.  Sounds like
it might fit.

On Sat, Jan 8, 2011 at 10:38 AM, Jay (OpenERP) <jvo@xxxxxxxxxxx> wrote:

> 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 direct subscriber
> of the bug.
> 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.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-addons/+bug/697502/+subscribe
>

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





References