odoo-shopinvader
odoo-shopinvader copied to clipboard
16.0 shopinvader base url
Ready for review.
The module have receive a big refactor, in order to work without "shopinvader.variant"
Now urls
- are generated only when the method "_update_url_key" is called (so it should be called before the export)
- a flag is set on the record if something have changed to avoid useless recomputation
- url key are global by default (same for all website), but the it's easy with an extra module to change this behaviour
The module shopinvader_product_url generate the url for the category and the product
TODO
- [ ] add the redirect from product to category when deleting a product
Resolves #1373
@sebastienbeau Tests were run again. No more error due to fastapi.
@lmignon @marielejeune it's green
@sebastienbeau https://github.com/shopinvader/odoo-shopinvader/pull/1399 Here you'll find my contribution to this PR following our discussions last week. Had to open a new PR as I couldn't push to akretion, feel free to cherry-pick :)
already merged here : https://github.com/shopinvader/odoo-shopinvader/pull/1399