Commit Graph
3 Commits
Author SHA1 Message Date
Christophe Monniez 46936dc28c [FIX] coupon: add basic access rules
Although `coupon` is not a single app, when a user tries to install this
module alone, warnings are triggered because no access rules are defined.

Those warnings are pointing the fact that models without access rules
are a bad practice.

closes odoo/odoo#59293

X-original-commit: 801dbd09e217d316d9c048da3a7c4d6597cbc68b
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2020-10-06 14:30:00 +00:00
Joseph Caburnay afad149eb8 [REF] *_sale_coupon: create coupon module
This refactoring extracts parts of `sale_coupon` module to create a more
generic module called `coupon`. This new module can be extended in
different sales modules to implement functionalities specific to modules
that extend it.
2020-05-08 14:27:29 +00:00
Joseph Caburnay ef05ca2812 [REF] sale_coupon: rename/move files to prepare coupon module
An initial step to prepare the creation of coupon module. The main goal
is to just move the logic from sale_coupon to coupon. To come up with
less diff as possible, this rename/move step is beneficial for this
purpose.
2020-05-08 14:25:54 +00:00