Daily updates from Odoo
Navigate
Branch
Monday, February 8, 2021
14 changes
New functionality added to Odoo
Payroll can now generate work entries from Planning for employees without fixed weekly schedules. This helps payroll reflect actual planned shifts, updates entries when shifts change, and flags moved entries for payroll review.
Original PR description
Purpose ======== Some workers don't have a fixed schedule week after week. They can't have a fixed calendar. The solution is to use the Planning app. For those workers, the work entries should be…
Purpose
========
Some workers don't have a fixed schedule week after week. They can't have a fixed
calendar. The solution is to use the Planning app.
For those workers, the work entries should be generated based on the planning instead of
the resource calendar.
Specification
=============
On structure type add a radio button with those values:
Generate Work Entries:
* On a fix Schedule
* On planning
If "On planning" is selected, set the default calendar to a "Flexible calendar
7 days 24 hours"
On a planning slot template, add a field for the default work entry type (only visible by
Payroll users). This work entry type is used at work entry generation if
the planning slot was created from a template.
When the work entries have already been generated and a new planning slot is created,
a corresponding work entry should also be created. If the slot is later moved, the
corresponding work entry should also be moved accordingly. Also when a slot is moved, the
work entry type should be removed from the work entry because it no longer makes sense
for the new period. This will force the payroll manager to manually check the work
entry type.
Task 2088149Enhancements to existing features
The opportunity form now shows the Won action as a secondary button when the rental CRM integration is installed. This reduces visual clutter by avoiding multiple primary buttons, making the most important action on the page easier to identify.
Original PR description
in this commit the won button will show as primary button if rental application is installed. task-id: 2247355
The Gantt view now works better on mobile devices by allowing users to scroll through schedules more easily. This makes time off planning and related timeline views easier to use on smaller screens.
Original PR description
Purpose of the taskis to, improve mobile interface of the Time Off app's. In this commit , we have improved the interface as expected. task-id : 2333778 PR: 13454
Code cleanup and technical improvements
This update prepares spreadsheets for real-time collaboration by changing how pivot tables are built and shared. Instead of sharing a pivot action that can produce different results depending on timing, users will share the final cell changes so everyone sees the same pivot table.
Original PR description
This is a preliminary work for real time collaboration. Only core commands will be shared across users. The current ADD_PIVOT command is currently problematic since its effect depends on *when* it is applied because the resulting pivot depends on the *current* data. Applying the same ADD_PIVOT at different times could lead to different pivot cells. With this commit, building the pivot structure is no longer part of a core plugin. Only the resulting core commands of the build (UPDATE_CELL, ADD_MERGE, etc.) will be shared accross user, ensuring they all have the same pivot cells. Co-authored-by: pro-odoo <pro@odoo.com>
Miscellaneous changes
The quantity was not decreased when removing serial numbers. Buttons were shown on the rental schedule but produced an error as nobody has write access to the model. TaskID: 2378808 Forward-Port-Of: odoo/enterprise#15086
Original PR description
The quantity was not decreased when removing serial numbers. Buttons were shown on the rental schedule but produced an error as nobody has write access to the model. TaskID: 2378808 Forward-Port-Of: odoo/enterprise#15086
When an error occurs during the extraction process, an error message is displayed above the invoice, but there wasn't the possibility to resend the document. There is now a resend button next to the error message. Forward-Port-Of: odoo/enterprise#16133
Original PR description
When an error occurs during the extraction process, an error message is displayed above the invoice, but there wasn't the possibility to resend the document. There is now a resend button next to the error message. Forward-Port-Of: odoo/enterprise#16133
When in edit mode, fields appear above the PDF preview to let the user select values in the invoice. These fields weren't translated. Forward-Port-Of: odoo/enterprise#16003
Original PR description
When in edit mode, fields appear above the PDF preview to let the user select values in the invoice. These fields weren't translated. Forward-Port-Of: odoo/enterprise#16003
Sometimes, the supplier was matched based on common words found in supplier names such as "Europe", "Services", etc. These words are now removed before attempting to find a match using single words. Forward-Port-Of: odoo/enterprise#16129
Original PR description
Sometimes, the supplier was matched based on common words found in supplier names such as "Europe", "Services", etc. These words are now removed before attempting to find a match using single words. Forward-Port-Of: odoo/enterprise#16129
1) initial balance in currency should be empty unless there's a currency set on the account 2) amount in currency should be empty in case the currency is the same as the company currency (and the account doesn't have the company currency set on it) Task: 2451205 Forward-Port-Of: odoo/enterprise#16101
Original PR description
1) initial balance in currency should be empty unless there's a currency set on the account 2) amount in currency should be empty in case the currency is the same as the company currency (and the account doesn't have the company currency set on it) Task: 2451205 Forward-Port-Of: odoo/enterprise#16101
- Go to Accounting > Configuration > Chart of Accounts - Create an Account: * Type: Current Liabilities * Automate Deferred Revenue: Create in Draft * Deferred Revenue Model: [create or select one] - Create 2 Products with the create Account as "Income Account" - Go to Accounting > Customers > Invoices and create an Invoice with the 2 Products - Post the invoice (Deferred Revenues are generated for the 2 Products) - Add a Credit Note and select Partial Refund - Edit Credit Note by
Original PR description
- Go to Accounting > Configuration > Chart of Accounts - Create an Account: * Type: Current Liabilities * Automate Deferred Revenue: Create in Draft * Deferred Revenue Model: [create or select one] - Create 2 Products with the create Account as "Income Account" - Go to Accounting > Customers > Invoices and create an Invoice with the 2 Products - Post the invoice (Deferred Revenues are generated for the 2 Products) - Add a Credit Note and select Partial Refund - Edit Credit Note by removing one of the Product before posting it Both Deferred Revenues have been deleted, although only one Product is in the CN. Assets are deleted when the account move is reversed. Therefore it does not take into account the lines from the reversing move. By deleting assets when the reversing move is posted, we can filter on Products from its move lines. opw-2431305 Forward-Port-Of: odoo/enterprise#16039 Forward-Port-Of: odoo/enterprise#15929
Before this commit, account_invoice_extract and account_edi where independent in parsing files uploaded or added as attachment in an invoice. Some tricks where used to avoid clash, but they were not perfect and some bugs appeared like the OCR not triggering automatically or an attachment being parsed twice by account_edi when parsing failed. The goal of this commit is to unify the import of files between the two features and ensure that they will not clash. For more information about potentia
Original PR description
Before this commit, account_invoice_extract and account_edi where independent in parsing files uploaded or added as attachment in an invoice. Some tricks where used to avoid clash, but they were not perfect and some bugs appeared like the OCR not triggering automatically or an attachment being parsed twice by account_edi when parsing failed. The goal of this commit is to unify the import of files between the two features and ensure that they will not clash. For more information about potential problems that appeared before : See https://github.com/odoo/odoo/pull/61169 See https://github.com/odoo/enterprise/pull/15124/ Community PR: https://github.com/odoo/odoo/pull/65510 Forward-Port-Of: odoo/enterprise#16138
Forward-Port-Of: odoo/enterprise#16089
Original PR description
Forward-Port-Of: odoo/enterprise#16089
When importing some bank statements, the page is redirected to the reconciliation page. However, if the user then tries to reconcile an imported bank statement line, an error will be displayed: the line must be posted first. Indeed, since version 14, a bank statement needs to be posted. Therefore, this fix changes the redirection page: it opens the new bank statement so the user can post it and then reconcile each line. OPW-2444118 Forward-Port-Of: odoo/enterprise#15975
Original PR description
When importing some bank statements, the page is redirected to the reconciliation page. However, if the user then tries to reconcile an imported bank statement line, an error will be displayed: the line must be posted first. Indeed, since version 14, a bank statement needs to be posted. Therefore, this fix changes the redirection page: it opens the new bank statement so the user can post it and then reconcile each line. OPW-2444118 Forward-Port-Of: odoo/enterprise#15975
**Task 455** If the invoice client is a child contact, like an invoice address, in the VAT Book report we must show the name of the parent contact, that is, the company name. Forward-Port-Of: odoo/enterprise#15962
Original PR description
**Task 455** If the invoice client is a child contact, like an invoice address, in the VAT Book report we must show the name of the parent contact, that is, the company name. Forward-Port-Of: odoo/enterprise#15962