Friday, December 9, 2022
14 changes · master
Enhancements to existing features
Social media feed views were updated to use safer, more compatible interaction handling. This reduces the risk of crashes when views are customized in Studio and keeps post formatting and engagement actions working consistently across social channels.
Original PR description
Kanban view archs should not contain t-on-click directives as it is not a qweb directive. Also, it's forbidden to use JS implementation details that are only available in the custom js_class the main reason for that is that it will crash if used by studio because js_class are ignored by it. This PR converts all t-on-click occurences in the views arch by addEventListener in the KanbanRenderer for the Image Carousel and in the KanbanRecord for the Comments / Likes feature of the various social medias. It also converts formatPost method call in the views arch by a custom field widget. And finally it removes _insertThousandsSeparator for the same reason and also because integer field widget already does the same. Task-3061215
The social media calendar now supports dragging and dropping draft posts, making it easier to reschedule content. Posts are color-coded by campaign and draft posts are visually hatched, while users are prevented from creating or moving draft or scheduled posts into the past.
Original PR description
PURPOSE This commit allows one to drag and drop the draft post on the calendar view. It also color the post depending on the utm campaign instead of its state. The draft state are hatched to easily distinguish them from others. LINKS Task-2860008
Country-specific fields are now shown only when a selected company belongs to the relevant country. This reduces confusion in multi-company setups by hiding irrelevant localization options from users working with companies in other countries.
Original PR description
Many country-specific fields were displayed while a company with another country was selected (in case of a multi-company environment). These country-specific fields are now visible only if one of the selected companies with said country is selected. Community PR https://github.com/odoo/odoo/pull/106221
Features or functions removed from Odoo
Miscellaneous changes
Before, when having a 100% discount, it would put it as ObjetoImp 02. But then it would complain because for 02, it expects a child node, with the Impuestos while there are none in the tax_details. The solution is to put ObjetoImp 01 instead, so it does not expect the Impuestos anymore when the tag is zero. opw-3001936 Forward-Port-Of: odoo/enterprise#34471
Original PR description
Before, when having a 100% discount, it would put it as ObjetoImp 02. But then it would complain because for 02, it expects a child node, with the Impuestos while there are none in the tax_details. The solution is to put ObjetoImp 01 instead, so it does not expect the Impuestos anymore when the tag is zero. opw-3001936 Forward-Port-Of: odoo/enterprise#34471
This change removes promotional website links from localization module information, keeping only links that point to relevant localization documentation. This makes module details clearer and less partner-specific for users reviewing localization features.
Original PR description
It was decided to keep only website related to the localization documentation. We are thus removing all website that are just kind of an advertisement to the last partner that modified the localization module. task: #2677338 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Update dashboard with latest version. Forward-Port-Of: odoo/enterprise#33121
Original PR description
Update dashboard with latest version. Forward-Port-Of: odoo/enterprise#33121
Steps to reproduce: To test the issue you need a database without english language installed create a new one with only spanish, french... with the payroll app and try to access the app. Issue: We will get an error and the access to the app will be impossible unless we install english language. Solution: We can't access the english language through `with_context(lang='en_US')` if we don't have the language installed. So we can use instead the data stored in `__range` or `batch_lim
Original PR description
Steps to reproduce: To test the issue you need a database without english language installed create a new one with only spanish, french... with the payroll app and try to access the app. Issue: We will get an error and the access to the app will be impossible unless we install english language. Solution: We can't access the english language through `with_context(lang='en_US')` if we don't have the language installed. So we can use instead the data stored in `__range` or `batch_limit_date` in order to get the proper date. FW-port: master opw-3065958 Forward-Port-Of: odoo/enterprise#34803 Forward-Port-Of: odoo/enterprise#34414
With odoo/odoo#107100, we are adding new taxes with new tax tags. Those tags are now used to fill the report lines 11 and 12 of the modelo 111 report. Previously, the lines were entered manually via a wizard. This commit removes from the wizard the values that needed to be manually entered and modifies the tax report to include take the new tags into account. task id=3085288 Forward-Port-Of: odoo/enterprise#34800 Forward-Port-Of: odoo/enterprise#34607
Original PR description
With odoo/odoo#107100, we are adding new taxes with new tax tags. Those tags are now used to fill the report lines 11 and 12 of the modelo 111 report. Previously, the lines were entered manually via a wizard. This commit removes from the wizard the values that needed to be manually entered and modifies the tax report to include take the new tags into account. task id=3085288 Forward-Port-Of: odoo/enterprise#34800 Forward-Port-Of: odoo/enterprise#34607
Bug; changing hourly rate of employee retroactively changes cost of opperations Fix: only store the hourly rate at the time of the opperation Forward-Port-Of: odoo/enterprise#34415
Original PR description
Bug; changing hourly rate of employee retroactively changes cost of opperations Fix: only store the hourly rate at the time of the opperation Forward-Port-Of: odoo/enterprise#34415
To reproduce: Install artist theme on website, go to appointment submenu. The end of chevrons is a different color than the rest of the navbar. This is because the navbar color is different than the background color, used in the colors of the navbar of appointment. Fix: Remove the color aspect of the navbar. Therefore, the appointment navbar is now independant of the one above. It has coherent chevrons, and is more redable than before, especially for dark navbars. Task-3080093 Forwa
Original PR description
To reproduce: Install artist theme on website, go to appointment submenu. The end of chevrons is a different color than the rest of the navbar. This is because the navbar color is different than the background color, used in the colors of the navbar of appointment. Fix: Remove the color aspect of the navbar. Therefore, the appointment navbar is now independant of the one above. It has coherent chevrons, and is more redable than before, especially for dark navbars. Task-3080093 Forward-Port-Of: odoo/enterprise#34318
make some user errors translatable Forward-Port-Of: odoo/enterprise#34432
Original PR description
make some user errors translatable Forward-Port-Of: odoo/enterprise#34432
Forward-Port-Of: odoo/enterprise#34822
Original PR description
Forward-Port-Of: odoo/enterprise#34822
Steps to reproduce: Create a company based in any of the missing countries (New Caledonia, Wallis and Futuna and French Polynesia) inside this company try to create a new bank Journal and select the outgoing payment as SEPA Credit Transfer. Issue: The SEPA Credit Transfer is not possible for some countries but it should be possible. Countries that can't access it: New Caledonia, Wallis and Futuna and French Polynesia. Solution: Added this countries currency 'XPF' to `_get_pay
Original PR description
Steps to reproduce: Create a company based in any of the missing countries (New Caledonia, Wallis and Futuna and French Polynesia) inside this company try to create a new bank Journal and select the outgoing payment as SEPA Credit Transfer. Issue: The SEPA Credit Transfer is not possible for some countries but it should be possible. Countries that can't access it: New Caledonia, Wallis and Futuna and French Polynesia. Solution: Added this countries currency 'XPF' to `_get_payment_method_information` Previous PR reference: [#105883](https://github.com/odoo/odoo/pull/105883) opw-3045577 Forward-Port-Of: odoo/enterprise#34707
Forward-Port-Of: odoo/enterprise#34794
Original PR description
Forward-Port-Of: odoo/enterprise#34794