Daily updates from Odoo
Navigate
Branch
Wednesday, January 3, 2018
4 changes
Enhancements to existing features
Fleet management screens are easier to use with clearer contract status indicators, improved menus, and better tracking in the activity log. Contract statuses are now updated automatically each day, with new views and filters for expired and soon-to-expire contracts so teams can act earlier.
Original PR description
Task: https://www.odoo.com/web#id=33319&view_type=form&model=project.task&action=333&active_id=965&menu_id=4720
This update makes asset depreciation journal entry creation easier to customize for businesses with more complex accounting requirements. It helps support scenarios such as maintaining separate depreciation views for different accounting standards without fragile custom workarounds.
Original PR description
Before this commit, I was forced to monkey patch the move creation in a very inelegant way. Now I can alter the dictionary before creation. The use case is that I want to implement several depreciation boards, one per accounting standard, tagged into different "ears" of the Accounting Mickey Mouse. The _write_check untangles calls to super, so that I can override the behaviour without running into trouble with the mixing of recursive logic and super call within the same method. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update strengthens automated testing around Odoo's mail and portal features, with a focus on performance and reducing unnecessary database work. It also organizes test data more cleanly so future changes can be validated more reliably.
Many-to-many editable lists now show an X icon instead of a trash bin when removing a linked record. This reduces confusion by making it clearer that the item is only being unlinked from the current record, not deleted from the system.
Original PR description
In many2many lists, the remove record from the widget is a trash bin. It is confusing, as people feel they are deleting it when they are only unlinking it. So in many2many, we propose to change the trash icon by a 'X'. This icon appears in many2many relations and in many2many widgets: even though hr.expense.sheet defines the expense lines as a one2many, it uses a many2many widget, so we use a 'X' instead of the trash bin. To avoid ambiguity, we decided to rename 'delete' to 'remove'. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr