c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33270
[Bug 860625] Re: nan_pricelist_extended: no pricelist can match when first item is based partnerinfo
** Branch linked: lp:~numerigraphe/openobject-
addons/extra-5.0-lp860625-nan_pricelist_extended
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/860625
Title:
nan_pricelist_extended: no pricelist can match when first item is
based partnerinfo
Status in OpenERP Addons (modules):
New
Bug description:
In nan_pricelist_extended in v5, it seems that there is a case where no price can be found even though an item would match :
If the first item is based on the partner section, and the current partner is not in the supplier info, then this item should be skipped and the next item should be considered.
Instead, this item is not skipped.
I think this is due to price_get_extended() calling _get_first_item
with supplier_ids = list of suppliers of the product: this will match
every time, but won't produce a useable price if the current partner
is NOT a supplier.
I humbly suggest price_get_extended() should be called with supplier_ids = the current partner.
I think it matches the non-optimized flow.
Lionel Sausin
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/860625/+subscriptions
References