You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module extends the functionality of Shopinvader to support Coupons
30
-
and Promotions from `sale_loyalty` core module.
31
-
It is the new version providing FastAPI services.
26
+
and Promotions from sale_loyalty core module. It is the new version
27
+
providing FastAPI services.
32
28
33
-
Not to be confused with `shopinvader_promotion_rule`, that implements
34
-
promotion programs from OCA module `sale_promotion_rule`, an alternative
35
-
to the core `sale_loyalty` module.
29
+
Not to be confused with shopinvader_promotion_rule, that implements
30
+
promotion programs from OCA module sale_promotion_rule, an alternative
31
+
to the core sale_loyalty module.
36
32
37
33
Available services:
38
34
39
-
* ``/loyalty/{code}`` under the ``loyalty`` router, to get all rewards claimable with a given coupon code
40
-
* ``/coupon`` under the ``cart`` router, to apply a given coupon to the cart. Allows to specify which reward and/or which free product to offer.
41
-
* ``/reward`` under the ``cart`` router, to apply a given reward (automatic promotion). Note that automatic promotions are applied automatically at cart update, when possible (if no choice must be done). This service allows to apply an automatic promotion for which the reward/free product choice is mandatory.
35
+
- ``/loyalty/{code}`` under the ``loyalty`` router, to get all rewards
36
+
claimable with a given coupon code
37
+
- ``/coupon`` under the ``cart`` router, to apply a given coupon to the
38
+
cart. Allows to specify which reward and/or which free product to
39
+
offer.
40
+
- ``/reward`` under the ``cart`` router, to apply a given reward
41
+
(automatic promotion). Note that automatic promotions are applied
42
+
automatically at cart update, when possible (if no choice must be
43
+
done). This service allows to apply an automatic promotion for which
44
+
the reward/free product choice is mandatory.
42
45
43
46
**Table of contents**
44
47
@@ -48,50 +51,49 @@ Available services:
48
51
Usage
49
52
=====
50
53
51
-
This addons provides 2 new routers: `loyalty_router` and
52
-
`sale_loyalty_cart_router`. The `sale_loyalty_cart_router` is declared
53
-
with the same tags as the one defined in the `shopinvader_api_cart`
54
-
addon. As this one, no prefix is added to the router, to allow to mount
55
-
it as a nested app. See the README of `shopinvader_api_cart` for
56
-
more details on how to do it.
54
+
This addons provides 2 new routers: loyalty_router and
55
+
sale_loyalty_cart_router. The sale_loyalty_cart_router is declared with
56
+
the same tags as the one defined in the shopinvader_api_cart addon. As
57
+
this one, no prefix is added to the router, to allow to mount it as a
58
+
nested app. See the README of shopinvader_api_cart for more details on
59
+
how to do it.
57
60
58
61
As all api addons, installing this addon will not have any effect on the
59
62
existing fastapi app. You must add the routers to the app by yourself by
60
63
editing your fastapi.endpoint where you want to add the routes.
61
64
62
-
63
65
Bug Tracker
64
66
===========
65
67
66
68
Bugs are tracked on `GitHub Issues <https://github.com/shopinvader/odoo-shopinvader/issues>`_.
67
69
In case of trouble, please check there if your issue has already been reported.
68
70
If you spotted it first, help us to smash it by providing a detailed and welcomed
Do not contact contributors directly about support or help with technical issues.
72
74
73
75
Credits
74
76
=======
75
77
76
78
Authors
77
-
~~~~~~~
79
+
-------
78
80
79
81
* ACSONE SA/NV
80
82
81
83
Contributors
82
-
~~~~~~~~~~~~
84
+
------------
83
85
84
-
* `Camptocamp <https://www.camptocamp.com>`_
86
+
- `Camptocamp <https://www.camptocamp.com>`__
85
87
86
-
* Iván Todorovich <ivan.todorovich@gmail.com>
88
+
- Iván Todorovich <ivan.todorovich@gmail.com>
87
89
88
-
* `Acsone <https://www.acsone.eu>`_
90
+
- `Acsone <https://www.acsone.eu>`__
89
91
90
-
* Marie Lejeune <marie.lejeune@acsone.eu>
92
+
- Marie Lejeune <marie.lejeune@acsone.eu>
91
93
92
94
Maintainers
93
-
~~~~~~~~~~~
95
+
-----------
94
96
95
-
This module is part of the `shopinvader/odoo-shopinvader <https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_api_sale_loyalty>`_ project on GitHub.
97
+
This module is part of the `shopinvader/odoo-shopinvader <https://github.com/shopinvader/odoo-shopinvader/tree/18.0/shopinvader_api_sale_loyalty>`_ project on GitHub.
0 commit comments