Saturday, August 3, 2024
2 changes · 17.0
Miscellaneous changes
Before this commit, customers could change their delivery address from PayPal's checkout page. It created confusion because the change did not update the selected delivery address in Odoo, if any. This commit adds the `no_shipping='1'` parameter to the API request to prevent PayPal from prompting users for a delivery address. opw-4079193 Forward-Port-Of: odoo/odoo#175547 Forward-Port-Of: odoo/odoo#175494
Original PR description
Before this commit, customers could change their delivery address from PayPal's checkout page. It created confusion because the change did not update the selected delivery address in Odoo, if any. This commit adds the `no_shipping='1'` parameter to the API request to prevent PayPal from prompting users for a delivery address. opw-4079193 Forward-Port-Of: odoo/odoo#175547 Forward-Port-Of: odoo/odoo#175494
Avoid setting default value of zero for Integer/Float fields or False for Boolean fields (those are already the fields default) This avoid triggering write on the related models (on multi-companies database with millions on journal entries this speedup the installation of modules from ~8-9 minutes to ~15 seconds) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#175585
Original PR description
Avoid setting default value of zero for Integer/Float fields or False for Boolean fields (those are already the fields default) This avoid triggering write on the related models (on multi-companies database with millions on journal entries this speedup the installation of modules from ~8-9 minutes to ~15 seconds) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#175585