Thursday, April 2, 2020
4 changes · master
Resolved issues and error corrections
Invoice analysis now shows all amounts consistently in the company currency, improving accuracy when reporting across multiple companies. The default report view is also more useful for business review, with customer-focused filtering, monthly grouping, and a line chart presentation.
Original PR description
Task [2206699](https://www.odoo.com/web#id=2206699&action=333&active_id=967&model=project.task&view_type=form&cids=1&menu_id=4720)
* All the amounts are now expressed in the company currency
- The amounts are taken from debit/credit on the aml
- When opening the report for multiple companies, convert in the
current company's currency
* New default view:
- Group by month instead of category
- Line chart instead of bar chart
- Filter on customers
* Remove useless fields:
- name
- invoice_partner_bank_id
- invoice_payment_term_id
- residual (including taxes)
- amount_total (including taxes)
- nbr_lines as it is a generic feature
* Rename currency_id to the more correct company_currency_id
* Remove useless group_by clause from the SQL query
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prFixed an issue where slowly zooming across an employee image could make the zoomed image disappear too early. The change improves the image preview experience by accounting for the full visible width, including borders.
Original PR description
Currently when zoom slowly from right to left on employee image it will not zoom the image. currently to hide the zoom image we used target.width() and the method width gives the width of the selected element (excluding padding, border and margin) so due to border excluded it will hide the zooming image. so instead of method width we used method outerWidth which gives width of the selected element (including padding and border, excluding margin). Task: 2199218 Closes: #46619 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar events in the month view are now displayed according to their scheduled time instead of the order they were created. This makes daily agendas easier to read and prevents later events from appearing above earlier ones.
Original PR description
Before this commit, events were sorted by ID in the month view. Events A occurring after event B would be placed on top of B. We force an event to be "allday" when the view is in month. So the sequence can't be on the time but on his ID. After this commit, we don't force the allday flag anymore Steps to reproduce: * Go in the calendar app * Insert a event at 12:00 * Insert a event at 8:00 * Insert a event at 14:00 * Go in view month the events are not sorted (BUG) Task Id: 2183249 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar month view entries are now sorted by their actual event timing instead of an internal ID. This prevents later events from appearing above earlier ones, making schedules easier to read and trust.
Original PR description
Before this commit, events were sorted by ID in the month view. Events `A` occurring after event `B` would be placed on top of `B`. Ticketid: 2183249 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr