Closed qgroulard closed 6 months ago
@qgroulard the 1st commit can be dropped now, no?
@qgroulard the 1st commit can be dropped now, no?
In theory yes, the keys price
and prices
can coexist.
But I think price
should be removed anyway as it is a broken first draft. Prices were still WIP when schemas have been merged, keeping it on the main branch seems wrong to me.
@qgroulard the 1st commit can be dropped now, no?
In theory yes, the keys
price
andprices
can coexist.But I think
price
should be removed anyway as it is a broken first draft. Prices were still WIP when schemas have been merged, keeping it on the main branch seems wrong to me.
I meant that you already removed it when creating the helper module, no?
@qgroulard the 1st commit can be dropped now, no?
In theory yes, the keys
price
andprices
can coexist. But I thinkprice
should be removed anyway as it is a broken first draft. Prices were still WIP when schemas have been merged, keeping it on the main branch seems wrong to me.I meant that you already removed it when creating the helper module, no?
It seems not, in fact :sweat_smile:
@qgroulard can we fast track https://github.com/shopinvader/odoo-shopinvader/pull/1507 while fixing this one?
@qgroulard ping :)
/ocabot merge nobump
What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-1498-by-lmignon-bump-nobump, awaiting test results.
Congratulations, your PR was merged at d544edf7ea470eff3bb38623e45f8ab5c717345d. Thanks a lot for contributing to shopinvader. ❤️
See https://github.com/shopinvader/odoo-shopinvader/pull/1441 and https://github.com/shopinvader/odoo-shopinvader/pull/1467 for PRs on related matter.
Remove
price
from the schema inshopinvader_product
as there are a lot of different ways to expose product prices and they should be handled in dedicated modules. '_get_price()' method has already been extracted to OCA/product-attribute module 'product_get_price_helper'.Add a module to export prices for a list of pricelists set on the index or backend.