Closed oerp-odoo closed 1 year ago
Hi @oerp-odoo, thanks for the help.
We inspected into this and you are right. The function get_product_price was updated on the v16.0 to _get_product_price. But also on the input variables, we should only pass the product and the add_qty.
The code are now updated, i will close the PR. Thanks. :)
@bfigueiredo-odoogap thanks!
Though may I ask, why you are not merging pull requests, but committing separately?:)
Yes i could just merge and update what you did and fix it. Sorry for that, on the next time i will take that in consideration. :) One more time, thanks for the help!
There is no such method
get_product_price
inproduct.pricelist
( it was changed to_get_product_price
~2 years ago).Also, we must check if
product_id
exists, because it will break_get_product_price
call, which expectsproduct
to be non empty!