Mme Quignon
Mme Quignon
Forward port of https://github.com/shopinvader/odoo-shopinvader/pull/1008
This module provide `FastApi` dependencies for Api Key authentication
For some reason on v14.0, `last_external_update_date` is almost never set. Therefore carts aren't correctly dropped. The commit I'm kinda "reverting" was never ported to 16.0.
This pr adds the ability to modify the way variants are sorted to compute main variants. For instance now, you can add new fields in `_get_sort_read_fields` in order to be...
This modules takes advantage of cached prices, making the retrieving of customer prices faster.
Add hooks in cart helper in order to ease override when modifying transaction schema
based on https://github.com/OCA/delivery-carrier/pull/668 ref: RAU-164
I created a dependency returning an auth_api_key which requires sudo() ```python def authenticated_api_key( key: Annotated[str, Depends(APIKeyHeader(name="HTTP-API-KEY"))], env: Annotated[Environment, Depends(odoo_env)], ) -> AuthApiKey: [...] admin = env["res.users"].sudo().browse(1) [...] ``` When executed...
As it causes problems in other module's tests when creating pricelist items, drop the base automation record in favor of a hook in `product.pricelist.cache.create()`.