Daily updates from Odoo
Monday, January 6, 2020
4 changes
Enhancements to existing features
This update removes unused code from the sales and purchasing integration area. It helps keep the system easier to maintain without changing how users work with sales or purchases.
Original PR description
Simply delete unused code
This change adds a simpler built-in way for Odoo records to access their related model information. It reduces repetitive internal code and makes future development easier without changing day-to-day user workflows.
Original PR description
**Description of the issue/feature this PR addresses:** Add a property in the records to get always the `ir.model` record. **Current behavior before PR:** You have a record A. If you want to know the corresponding id of its model in `ir.model`, you always have to do something like: ```python A.env['ir.model']._get(A._name) ``` **Desired behavior after PR is merged:** You simply do `A._model_id`, to get the id of its model in `ir.model`. I think this can simplify a lot of code in many places. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Negative numbers in the web interface are now shortened in the same readable way as positive numbers, such as showing large values with a “k” suffix. This makes financial and numeric screens easier to scan and keeps number formatting consistent for users.
Original PR description
Before this commit, negative numbers are never rendered as human readable (e.g. 34000 -> 34k). TaskID: 2160790 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Helpdesk team chatter now shows the number of attached documents instead of only an attachment icon. This makes it easier for users to understand available documents at a glance and removes a confusing horizontal line display issue when opening attachments.
Original PR description
Task:https://www.odoo.com/web?#id=2149348&action=327&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.c571cb87014d2b1905019b23189c8abb