Thursday, October 5, 2023
4 changes · master
Code cleanup and technical improvements
This update removes outdated delivery-related code from the online shop checkout flow. It does not change how customers select delivery options, but helps keep the checkout code simpler and easier to maintain.
Original PR description
Remove unused: - `keep_carrier` from the kwargs of `_check_carrier_quotation` - `carrier_id` from the kwargs of the '/shop/payment' route
This update standardizes how Odoo's frontend code references a shared interface library, replacing direct global access with explicit imports. It reduces maintenance risk and helps developers catch mistakes earlier, with no expected change for end users.
Original PR description
Before this commit, owl was in the linter's accepted global variables.
This allowed direct access to owl global object.
For instance, to use xml from owl, you could do :
`const { xml } = owl;`
or you could use it directly:
`owl.xml`
Now, owl is not accepted on linter's global variables anymore, so to
import xml, now you need to use a proper import:
`import { xml } from "@odoo/owl";`
task-id 3498859Barcode check-in functionality for events has been moved into the standard Events app available in the community edition. This makes event attendee scanning more broadly available and simplifies the product structure by removing it as a separate enterprise-only component.
Original PR description
event_barcode is moved to community and integrated directly into event module task-3411827
This internal cleanup updates many Odoo Enterprise modules to use the approved way of referencing Owl web framework features. It helps keep the codebase consistent and easier to maintain, with no expected functional change for users.
Original PR description
Before this commit, owl was in the linter's accepted global variables.
This allowed direct access to owl global object.
For instance, to use xml from owl, you could do :
`const { xml } = owl;`
or you could use it directly:
`owl.xml`
Now, owl is not accepted on linter's global variables anymore, so to
import xml, now you need to use a proper import:
`import { xml } from "@odoo/owl";`
task-id 3498859