Thursday, March 5, 2020
6 changes
Resolved issues and error corrections
This update removes leftover support for an old way of loading Odoo add-ons. It keeps the codebase aligned with the current supported import method, reducing maintenance risk without changing normal user workflows.
Original PR description
Historically, it was possible to import addons via a naked import. It is no more possible since 9e1f13bac, since that commit, the only possible way to import odoo addons is via the `import odoo.addons' prefix.
This fix gives Odoo fields safe default labels when they are inspected outside the normal application environment. It prevents a rare infinite loop that could occur in developer or diagnostic scenarios, improving stability without changing everyday business workflows.
Original PR description
From python code, import a module class and print one of its field, it creates an infinite recursion due to `model_name` and `name` field attributes being accessed by `__str__` but only being set when accessing a model through the environment. This commit provide a default values for the field name and the field model name to prevent that infinite recursion.
CRM lead forms now rely on standard layout styling so longer field labels display more reliably. This reduces visual breakage in the form and makes the interface easier to maintain over time.
CRM demo records were corrected so lead conversations show messages from the right contact rather than another user. This makes sample CRM data clearer and avoids confusion when evaluating or demonstrating lead communication history.
Original PR description
Purpose Clean CRM demo data. Specifications In the chatter of few leads, there are wrong entries in the discussion due to incorrect demo data. Goal of this commit is to improve incorrect demo data. LINKS PR #44253 Task 2180228
An internal setup test was corrected so it runs under the intended schedule instead of running all the time. This helps prevent unnecessary test failures caused by moved documentation pages, improving reliability for ongoing development.
Original PR description
The tag "nightly" is not an actual thing, so the test gets run all the time, and since the taxcloud page has been moved it now breaks. Replace by the proper tag.
This fixes an internal Helpdesk test so it only runs in the intended test schedule. It prevents unrelated website documentation changes from causing unnecessary test failures, helping keep development checks stable.
Original PR description
The tag "nightly" is not an actual thing, so the test gets run all the time, and since the taxcloud page has been moved it now breaks. Replace by the proper tag.