Skip to content

Commit

Permalink
[IMP] demo v2: add settings and customer routers
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 5, 2024
1 parent 2379846 commit 50a34b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shopinvader_v2_app_demo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Shopinvader App Demo
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6743c81d6b419d7ef3d62548a85e54538977ea5f41bd09ef5b294ff6f2a422c3
!! source digest: sha256:f15146369874d2a0bec222c21249f569e94cb3a00d743b28f21bce75f5d5cb13
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 2 additions & 0 deletions shopinvader_v2_app_demo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
"shopinvader_anonymous_partner",
"shopinvader_api_address",
"shopinvader_api_cart",
"shopinvader_api_customer",
"shopinvader_api_payment_cart",
"shopinvader_api_payment_provider_custom",
"shopinvader_api_payment_provider_sips",
"shopinvader_api_payment_provider_stripe",
"shopinvader_api_sale_loyalty",
"shopinvader_api_sale",
"shopinvader_api_settings",
"shopinvader_api_signin_jwt",
"shopinvader_api_wishlist",
"shopinvader_fastapi_auth_jwt",
Expand Down
4 changes: 4 additions & 0 deletions shopinvader_v2_app_demo/models/fastapi_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
)
from odoo.addons.shopinvader_api_address.routers.address_service import address_router
from odoo.addons.shopinvader_api_cart.routers import cart_router
from odoo.addons.shopinvader_api_customer.routers import customer_router
from odoo.addons.shopinvader_api_payment.routers import payment_router
from odoo.addons.shopinvader_api_sale.routers import sale_router
from odoo.addons.shopinvader_api_sale_loyalty.routers import loyalty_router
from odoo.addons.shopinvader_api_settings.routers import settings_router
from odoo.addons.shopinvader_api_signin_jwt.routers import signin_router
from odoo.addons.shopinvader_fastapi_auth_jwt.dependencies import (
auth_jwt_authenticated_or_anonymous_partner,
Expand Down Expand Up @@ -48,9 +50,11 @@ def _get_shopinvader_demo_fastapi_routers(self) -> List[APIRouter]:
loyalty_router.tags.append("loyalty")
return [
address_router,
customer_router,
loyalty_router,
payment_router,
sale_router,
settings_router,
signin_router,
]

Expand Down
2 changes: 1 addition & 1 deletion shopinvader_v2_app_demo/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Shopinvader App Demo</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6743c81d6b419d7ef3d62548a85e54538977ea5f41bd09ef5b294ff6f2a422c3
!! source digest: sha256:f15146369874d2a0bec222c21249f569e94cb3a00d743b28f21bce75f5d5cb13
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_v2_app_demo"><img alt="shopinvader/odoo-shopinvader" src="https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader-lightgray.png?logo=github" /></a></p>
<p>This module allows you to create a demo shopinvader application.</p>
Expand Down

0 comments on commit 50a34b1

Please sign in to comment.