Thursday, April 2, 2020
3 changes · master
Enhancements to existing features
New work schedules now use the company's default calendar as their starting template instead of always using a generic 40-hour week. Personal calendars are also linked with company-wide time off, helping keep employee availability and absences more consistent across HR and timesheet planning.
Original PR description
Before this commit, all new created calendar attendances used "40 hours" as default template. With this commit, new generated calendar attendance will use the company's default calendar as the template This commit also link specific personal calendar with the company global time off. TaskId: 2181651 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payroll now offers a configuration menu for working time and updates work entries automatically when company-wide or global time off changes. When different types of leave overlap, payroll applies a clear priority order so employee work entries are generated more consistently.
Original PR description
- Add a new menu in Payroll/Configuration to setup the working time - Rewrite the CRUD operations for resource_calendar_leave, so the work entries will be updated dynamically when Company global leaves or global leaves are modified - Personal leaves (hr_leave) and global leave (resource_calendar_leave) can overlap. And the work entries are generated by the priority as `Company Global Time Off` > `Global Time Off` > `Personal Leave` TaskId: 2181651
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-pr