Daily updates from Odoo
Thursday, December 5, 2019
2 changes
Enhancements to existing features
Website editor options can now be applied to specific parts inside a snippet instead of only the whole snippet. This gives page builders more precise control when configuring reusable website sections, supporting richer editing behavior with less custom work.
Original PR description
This is an experimental commit that adds the ability for a snippet option's method to target multiple subelement of the snippets using the data-apply-to attribute with a jQuery selector. This is achieved by calling the method on a proxy of the object where accesses to the target are redirected to a different object. While it may seem preferable to just set the $target before calling the method and restoring it after the call, as this would be much simpler code, it is not possible as this breaks down under asynchronous conditions, hence the need to operate on a proxy such that all concurrent asynchronous operations have their own independent $target available for their entire time of execution.
This update improves day-to-day accounting workflows by simplifying invoice and bill views, making account lists easier to navigate, and improving search and sorting options. It also makes opening balance dates more consistent and adds useful fields to tax report configuration lists.
Original PR description
### List of improvements: **Invoice/Bill** - Hide "untaxed amount" section when there is no tax. - Remove tooltips for tax groups field. - Remove invoice_partner_icon and set this icon in "Vendor" (in a list view) **Chart of Accounts** - Same views for config bar and regulare one - By default don't show deprecated accounts and add filter to display them. - Add some optional fields in list view (taxes, tags, ...) **Dashboard opening balance wizard** - The opening move entry date equals to the opening date - 1 day. **Bank Statements** - Set default order for the list view (by date desc and name desc) **Tax report configuration** - Add 3 new columns for the list view (country_id, code, tag_name) - Add 4 new searchs (name, tag_name, code, country_id) **Task ID: 2048225**