OCA / product-pack

Odoo modules related to product packs
GNU Affero General Public License v3.0
48 stars 127 forks source link

[FIX] sale_product_pack: _get_update_prices_lines refactor #192

Open jue-adhoc opened 4 days ago

jue-adhoc commented 4 days ago

This PR was created because we found and issue when changing the pricelist on packs that have been modified. When an user modifies some of the components of the pack, the index calculated on the _get_update_prices_lines remains with a previous value and the price is not updated correctly (the last line on the pack is not updated). We based our refactor on this PR made a few weeks ago on version 17 which resolves another issues apart from this one and it is already reviewed and merged.

Steps to reproduce the error:

OCA-git-bot commented 4 days ago

Hi @ernestotejeda, some modules you are maintaining are being modified, check this out!

augusto-weiss commented 4 days ago

Please @jue-adhoc add steps to reproduce the error!

jue-adhoc commented 3 days ago

Please @jue-adhoc add steps to reproduce the error!

steps added! thanks @augusto-weiss