Wednesday, June 8, 2022
15 changes
Enhancements to existing features
Social media account and stream lists now show who created each record, making it easier for teams to identify the account owner. This improves visibility and accountability when managing social accounts across channels.
Original PR description
This PR adds 'create_uid' in the list views of 'Social Streams' and 'Social Accounts' so that one can know who is the account owner. taskID-2857845
The appraisal survey reporting template now uses a more stable internal marker when applying layout changes. This reduces the chance that future styling updates will accidentally break appraisal survey statistics pages.
Original PR description
This commit replaces an xpath reference which was previously a style class, with the o_survey_statistics_header class, which is more robust. It has been changed since we need to modify this style class. Task-2622693
Miscellaneous changes
A recent update in owl (see [1]) broke a few screens that were working by chance, so the fix needs to be done manually at each place. One of them was the import client action. A fix was done in odoo community (see [2]) in saas 15.3. However, in the meantime, wan fixed it in master (see [3]). Funnily enough, wan fix worked because the fix in community was not there yet, but broke after the saas 15.3 fix was forward ported to master. This commit should hopefully fix the situation by remov
Original PR description
A recent update in owl (see [1]) broke a few screens that were working by chance, so the fix needs to be done manually at each place. One of them was the import client action. A fix was done in odoo community (see [2]) in saas 15.3. However, in the meantime, wan fixed it in master (see [3]). Funnily enough, wan fix worked because the fix in community was not there yet, but broke after the saas 15.3 fix was forward ported to master. This commit should hopefully fix the situation by removing the specific code that caused the issue (by rendering twice the buttons). [1] https://github.com/odoo/odoo/commit/7fc0cc7c3f1c770dd80e8c3f3316c249d0708fe4 [2] https://github.com/odoo/odoo/commit/87ed548bc9508ff2e74e5c6cbab8a393646957d5 [3] https://github.com/odoo/enterprise/pull/25123/commits/ed5cb36554931cd789e527fe5563fb398d47af96 Forward-Port-Of: odoo/enterprise#28147
Avoid the next error when the invoice has section lines: ``` Regla: FAD16, Rechazo: LineCountNumeric : diferente del número de ocurrencias del grupo /Invoice/cac:InvoiceLine Regla: FAM06, Notificación: El nombre no corresponde a un valor válido de la lista ``` This is inconsistent, because in the section that adds the invoice lines filter not sections but not in the count. Forward-Port-Of: odoo/enterprise#28119 Forward-Port-Of: odoo/enterprise#28010
Original PR description
Avoid the next error when the invoice has section lines: ``` Regla: FAD16, Rechazo: LineCountNumeric : diferente del número de ocurrencias del grupo /Invoice/cac:InvoiceLine Regla: FAM06, Notificación: El nombre no corresponde a un valor válido de la lista ``` This is inconsistent, because in the section that adds the invoice lines filter not sections but not in the count. Forward-Port-Of: odoo/enterprise#28119 Forward-Port-Of: odoo/enterprise#28010
The intrastat declaration now requires supplementary units. The supplementary units are used when they are more relevant than the default weight in kilograms for the commodity code of the line. Because this commit is in stable, it utilises a python dictionary for the relation between the commodity codes and the supplementary units. This dictionary contains a mapping for only those commodity codes which have supplementary units. A function is added to the intrastat report that maps the
Original PR description
The intrastat declaration now requires supplementary units. The supplementary units are used when they are more relevant than the default weight in kilograms for the commodity code of the line. Because this commit is in stable, it utilises a python dictionary for the relation between the commodity codes and the supplementary units. This dictionary contains a mapping for only those commodity codes which have supplementary units. A function is added to the intrastat report that maps the data on the units of measure in the results from the query, to the appropriate supplementary unit for the report. The function is also applied in the cbs export in l10n_nl_intrastat cbs export in order to fill the correct section of the fixed-position-file 'SRL' file that gets uploaded to the dutch authority (cbs). the export file task-id: 2853030 Forward-Port-Of: odoo/enterprise#28102 Forward-Port-Of: odoo/enterprise#27279
The aim of this commit is to correct a mistake in the test set up that creates non deterministic issues with the test. The issue: the report lines sometimes comes up in the wrong order. Causes: - sequence of the report lines were both 1 - method `get_lines_in_hierachy` sort the result only based on the sequence task: none PR-Enterprise: https://github.com/odoo/enterprise/pull/28116 Forward-Port-Of: odoo/enterprise#28116
Original PR description
The aim of this commit is to correct a mistake in the test set up that creates non deterministic issues with the test. The issue: the report lines sometimes comes up in the wrong order. Causes: - sequence of the report lines were both 1 - method `get_lines_in_hierachy` sort the result only based on the sequence task: none PR-Enterprise: https://github.com/odoo/enterprise/pull/28116 Forward-Port-Of: odoo/enterprise#28116
Previously the amounts were incorrectly rounded to integer USD amounts. It seems that most banks don't actually check if all entries in the file sum up to what's specified in the file control record. They instead ignore this part of the file. This is why this bug had gone unnoticed for so long. We still choose to fix it because it caused some confusion. opw-2858885 Forward-Port-Of: odoo/enterprise#28066
Original PR description
Previously the amounts were incorrectly rounded to integer USD amounts. It seems that most banks don't actually check if all entries in the file sum up to what's specified in the file control record. They instead ignore this part of the file. This is why this bug had gone unnoticed for so long. We still choose to fix it because it caused some confusion. opw-2858885 Forward-Port-Of: odoo/enterprise#28066
before this commit, the planning.slot gantt view > add button > the default date was showing the whole week as working days of the company when we switch to the previous week in planning gantt view. so after this commit, the default date is set based on the company's working calendar. task-2790017 Forward-Port-Of: odoo/enterprise#28050 Forward-Port-Of: odoo/enterprise#26150
Original PR description
before this commit, the planning.slot gantt view > add button > the default date was showing the whole week as working days of the company when we switch to the previous week in planning gantt view. so after this commit, the default date is set based on the company's working calendar. task-2790017 Forward-Port-Of: odoo/enterprise#28050 Forward-Port-Of: odoo/enterprise#26150
Purpose ======= Hide the "Create Partner" button if we do not have the "create" access right. Do not offer to create a project if the current user can't. Do not try to enrich if we can't create a partner. Task-2826471 See odoo/odoo/pull/90126 Forward-Port-Of: odoo/enterprise#26987
Original PR description
Purpose ======= Hide the "Create Partner" button if we do not have the "create" access right. Do not offer to create a project if the current user can't. Do not try to enrich if we can't create a partner. Task-2826471 See odoo/odoo/pull/90126 Forward-Port-Of: odoo/enterprise#26987
Commit e787ea22 removed a rule that was actually necessary for one of the two inputs present in the `SpreadsheetSelectorDialog` for lists. Task 2877545 Forward-Port-Of: odoo/enterprise#28077
Original PR description
Commit e787ea22 removed a rule that was actually necessary for one of the two inputs present in the `SpreadsheetSelectorDialog` for lists. Task 2877545 Forward-Port-Of: odoo/enterprise#28077
…tion Since f55a54eb15f61398e7b5e14897d08504e3c365c3, the limitation of the number of lines that we can insert from a list is not useful anymore as only one command is transfered through the network. Task-id 2877411 Forward-Port-Of: odoo/enterprise#28074
Original PR description
…tion Since f55a54eb15f61398e7b5e14897d08504e3c365c3, the limitation of the number of lines that we can insert from a list is not useful anymore as only one command is transfered through the network. Task-id 2877411 Forward-Port-Of: odoo/enterprise#28074
Before this commit, when disabling 'planning' feature in the settings of project, which results in disappearance of the schedule menu item > by resource & by role menus. This commit fixes the issue by using _uninstall_hook method, to stop the menu item overriding; which was the reason for the above-mentioned issue. After this, the issue was fixed. task-2790017 Forward-Port-Of: odoo/enterprise#28034 Forward-Port-Of: odoo/enterprise#26115
Original PR description
Before this commit, when disabling 'planning' feature in the settings of project, which results in disappearance of the schedule menu item > by resource & by role menus. This commit fixes the issue by using _uninstall_hook method, to stop the menu item overriding; which was the reason for the above-mentioned issue. After this, the issue was fixed. task-2790017 Forward-Port-Of: odoo/enterprise#28034 Forward-Port-Of: odoo/enterprise#26115
How to reproduce the bug ? - install accounting,l10n_fr,l10n_fr_fec and l10n_fr_fec_import - if necessary create a french company using euro - switch to the french company - in settings -> accounting, enable USD and update manually the rate - in accounting -> accounting -> configuration -> fec import, select and import the fec file - go to accounting -> accounting -> journal entries annd search for Fec journal What is the bug ? When you try to import a FEC file into the accouting
Original PR description
How to reproduce the bug ?
- install accounting,l10n_fr,l10n_fr_fec and l10n_fr_fec_import
- if necessary create a french company using euro
- switch to the french company
- in settings -> accounting, enable USD and update manually the rate
- in accounting -> accounting -> configuration -> fec import, select and
import the fec file
- go to accounting -> accounting -> journal entries annd search for Fec
journal
What is the bug ?
When you try to import a FEC file into the accouting module, the foreign
currency is well read. This is due to the fact that there is a typo in
the name of the column ("Montantdevise" instead of "MontantDevise").
According to the odoo documentation, the column in the file is well
written.
opw-2853137
Signed-off-by: Adrien Minet <admi@odoo.com>
Forward-Port-Of: odoo/enterprise#28073Steps to reproduce: Remove the placeholder for the field type checkbox Create a document with two checkboxes aimed at different parties Send the document to the two parties Expected behavior: The box is seen as unchecked by the other party Current behavior: The box is seen as ckecked by the other party Explanation: The default value displayed to the other user is always checked no matter the placeholder. opw-2767417 Forward-Port-Of: odoo/enterprise#27992 Forward-Port-Of: odo
Original PR description
Steps to reproduce: Remove the placeholder for the field type checkbox Create a document with two checkboxes aimed at different parties Send the document to the two parties Expected behavior: The box is seen as unchecked by the other party Current behavior: The box is seen as ckecked by the other party Explanation: The default value displayed to the other user is always checked no matter the placeholder. opw-2767417 Forward-Port-Of: odoo/enterprise#27992 Forward-Port-Of: odoo/enterprise#27819
…haracters rendering xml Forward-Port-Of: odoo/enterprise#27629 Forward-Port-Of: odoo/enterprise#27235
Original PR description
…haracters rendering xml Forward-Port-Of: odoo/enterprise#27629 Forward-Port-Of: odoo/enterprise#27235