Friday, February 3, 2023
2 changes
Resolved issues and error corrections
This update fixes a setup issue in the Subscriptions app by aligning its initialization method with the expected system environment. It helps prevent installation or upgrade problems related to subscription functionality, ensuring smoother use for businesses managing recurring sales.
Original PR description
Fix init method to use env instead of cr (issue since : odoo@b4a7996e967621aa090dc80346e6c3ef1d032dcf ) The method is called by `getattr(py_module, pre_init)(env)` in `load_module_graph`
This fixes how monetary amounts are formatted on the subscription dashboard so values use the currency's own decimal settings. It prevents incorrect amount formatting that could confuse users reviewing subscription figures.
Original PR description
Before this commit, default digits were given to the monetary formatter but those were not used as we also gave a currency. since commit https://github.com/odoo-dev/odoo/commit/996cc74745a2fb72547053991a79d233d6916587, the digits are used if given to the formatter and caused a formatting error as the digits were wrong. This commit removes the given digits to use the currency ones. community part: https://github.com/odoo/odoo/pull/111308