← 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

 

Hi,

Yes I saw that and implemented and tested last night.  I must say I was
impressed by how fast it was turned around.  I am going to make a couple of
changes to it.  There is a typo, (sale_oder_pool) plus the warning when you
use the same pricelist, I will change, so it just warns but continues.  The
reason is, if you change the partner, that changes the pricelist, but
doesn't update pricing, so if you use change pricelist button it doesn't
work.  Letting it continue, has no adverse effect, except to overwrite
manually set pricing which is a known issue anyway.  Finally you need to
reload the screen to get the updated pricing.  I don't know how to do this
automatically (would a call to _get_order do this?). The last bit is a minor
detail, I can train my users to press reload.

On Sat, Jan 8, 2011 at 12:55 AM, Colm <697502@xxxxxxxxxxxxxxxxxx> wrote:

> Graeme,
>
> A module has been implemented with this feature:
>
> https://bugs.launchpad.net/openobject-addons/+bug/697734
>
> Direct Link: http://bazaar.launchpad.net/~openerp-commiter/openobject-
> addons/trunk-extra-addons/files/head%3A/sale_pricelist_recalculation<http://bazaar.launchpad.net/%7Eopenerp-commiter/openobject-%0Aaddons/trunk-extra-addons/files/head%3A/sale_pricelist_recalculation>
>
> --
> 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