Friday, September 6, 2024
2 changes · master
Resolved issues and error corrections
When users add a new field to a report in Studio without a default value, it now appears immediately instead of being invisible due to having no size. This makes report editing clearer and prevents confusion when inserting fields through the powerbox.
Original PR description
With the powerbox, insert a new field in the report, without setting a default value. Before this commit, the new field is not visible, it has no size. After this commit, we make it have a size by using the oe-expression-readable attribute. task-4166586
This fix removes an empty placeholder paragraph that could appear in subscription automation rule forms when its related message was not needed. The form now uses space more cleanly, making the interface slightly tidier for users managing subscriptions.
Original PR description
Since [1] the subscriptions automations rules were extending the view_base_automation_form view by - among other changes - displaying a paragraph of text, but only under a certain condition. **Before this commit** This paragraph is present as an empty paragraph when the condition is not met, taking up a bit of space in the form view. **After this commit** The empty paragraph is no more added to the DOM. [1]: https://github.com/odoo/enterprise/commit/bbfcf24728a90b97999ce359a9d5dbf0916fa8c2