Closed yajo closed 5 months ago
Hi @sergio-teruel, some modules you are maintaining are being modified, check this out!
I set as draft until https://github.com/OCA/product-attribute/pull/1538 is merged.
hi @rafaelbn, No point of view here.
I don't use the _security
OCA modules. In my company, product costs are open source, all people can read it ;-)
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
Thanks @Gelojr. I added that in https://github.com/OCA/product-attribute/pull/1565 because that behavior comes from the lower-level module product_cost_security
.
This one should be ready to merge IMHO.
/ocabot merge minor
What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-198-by-dreispt-bump-minor, awaiting test results.
It looks like something changed on 16.0
in the meantime.
Let me try again (no action is required from you).
Prepared branch 16.0-ocabot-merge-pr-198-by-dreispt-bump-minor, awaiting test results.
Congratulations, your PR was merged at 7f7edd6a6aa3309c149b2e83178313505e2e9deb. Thanks a lot for contributing to OCA. ❤️
Both modules do essentially the same thing: apply a restriction over product costs. Thus, it makes sense to share the same permission groups.
This refactor, that depends on https://github.com/OCA/product-attribute/pull/1538, improves the module readme and makes
sale_margin_security
auto-installable addon whenproduct_cost_security
is found.A migration script is provided to make sure the same users still retain the same permissions.
[IMP] sale_margin_delivered_security: combine with product_cost_security
Following https://github.com/OCA/product-attribute/pull/1538, the security is now done via mixin and the view can be removed.
@moduon MT-5158