Daily updates from Odoo
Navigate
Branch
Wednesday, July 6, 2022
12 changes
Enhancements to existing features
New subscription payment validation transactions now use a shorter, standardized reference format starting with "V-". This better aligns with other transaction references and helps avoid issues with payment providers that limit reference length.
Original PR description
Before this commit, the reference of a validation transaction followed this format: “validation-20220222072710”, which did not match the standard format for refund transactions (”R-S000001”). Moreover, some providers limit the length of transaction references which forced us to truncate the quite long reference. With this commit, future validation transactions will have a reference of the format: “V-20220222072710”. See also: - Community PR: https://github.com/odoo/odoo/pull/94921 task-2830826
CRM dashboard and pipeline reports now hide unnecessary measures and present the remaining options in a clearer order. Recurring revenue measures only appear when that feature is enabled, making reports easier to use and less cluttered.
Original PR description
PURPOSE To remove the unnecessary measures from reports. Expected MRR, Prorated MRR, and Recurring Revenues measures will show if the Recurring Revenue is activated(User activates the Recurring Revenue). SPECIFICATIONS With this commit, we removed the unnecessary measures from Dashboard and Pipeline reports. So, users can get the quickly data. We are adding the group for Expected MRR, Prorated MRR, and Recurring Revenues measures. These measures will show if Recurring Revenue is activated. This is the goal of this commit. PR https://github.com/odoo/enterprise/pull/21981 community PR https://github.com/odoo/odoo/pull/79167 Task-2674367 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Sign documents area no longer allows users to create signing requests directly from the documents menu. This keeps new signing requests flowing through the intended template send or sign actions, reducing confusion and improving process consistency.
Original PR description
create button was not used in signing the document in document tab so it was removed according to requirement task id=2887200
Enterprise interface buttons now use the standard Bootstrap rounded corners instead of a custom override. The primary brand color was also adjusted, giving the interface a refreshed and more consistent look.
Original PR description
This commit remove the override on the border radius. The button now have the default border radius from bootstrap. The commit also change the primary color in enterprise. For training purposes. task-2903630
Resolved issues and error corrections
Updated appraisal survey sample data so page breaks are treated correctly and no longer trigger chart-related errors during live survey sessions. This prevents crashes when using the included demo appraisal surveys, improving reliability for testing and demonstrations.
Original PR description
Currently, in demo data of some surveys, there are records of 'survey.question'
having 'is_page' field value as true and 'question_type' is not defined. When
question type is not defined, default value 'simple_choice' is assigned to the
'question_type' field. Now when we create a live session of that survey and
goes to the page, it tries to read the data for bar chart but data is not
available (undefined) and throws the traceback. This happens because
question types ('simple_choice', 'multiple_choice') has bar chart.
Previous versions set the default 'question_type' value to 'text_box',
so no traceback is triggered.
In this PR, we are setting the 'question_type' field value to 'False' in the
demo data record whose 'is_page' field value is 'True'.
Note: The issue is started from saas-15.1
https://github.com/odoo/odoo/commit/1fb99d79b1567d4c150dc07f309ce54a3beea8e3#diff-cf2aadbf6a252dfca6d3450a0ce6ad280b1924afe9a8fc22f7077c998d080009R52
taskID- 2841582A test for AvaTax subscription sales was corrected so it uses the fiscal position for the appropriate company. This helps ensure tax-related subscription checks reflect the correct company setup and reduces the risk of misleading test results.
Original PR description
The fiscal position was not set on the right company
Code cleanup and technical improvements
Spreadsheet action loading has been moved from Documents-specific spreadsheets into the shared Spreadsheet module. This prepares Odoo for more spreadsheet-related actions while reducing the risk of duplicate loading issues behind the scenes.
Original PR description
Currently, there's only spreadsheet actions in `documents_spreadsheet` This soon won't be true anymore. This commit moves the action loader to `spreadsheet` Also, from now on, there will be only one spreadsheet bundle. Loading different bundles all including the main bundle would not work because some things would be defined twice (services, etc.)
Miscellaneous changes
The region code field on the report is useless in the context of the Netherlands (it will always be empty). This commit changes the function by which the columns are included by introducing a function '_show_region_code()' in account_intrastat, which is overrided in l10n_nl_intrastat. The function is employed inside of the _create_intrastat_report_line function and the _get_columns_names functions, in order to decide whether to include the region code column/values when generating the rep
Original PR description
The region code field on the report is useless in the context of the Netherlands (it will always be empty). This commit changes the function by which the columns are included by introducing a function '_show_region_code()' in account_intrastat, which is overrided in l10n_nl_intrastat. The function is employed inside of the _create_intrastat_report_line function and the _get_columns_names functions, in order to decide whether to include the region code column/values when generating the report. task_id: 2884381 Forward-Port-Of: odoo/enterprise#29126 Forward-Port-Of: odoo/enterprise#28670
Before this commit, there was a small typo with no dramatic impact on the Dutch p&l. Basically, the domain field was modified 2 times, instead of having 1 control_domain and 1 domain. The last domain field was the correct one, so no real impact, but it's still a typo that needs fixing. Forward-Port-Of: odoo/enterprise#28981 Forward-Port-Of: odoo/enterprise#28971
Original PR description
Before this commit, there was a small typo with no dramatic impact on the Dutch p&l. Basically, the domain field was modified 2 times, instead of having 1 control_domain and 1 domain. The last domain field was the correct one, so no real impact, but it's still a typo that needs fixing. Forward-Port-Of: odoo/enterprise#28981 Forward-Port-Of: odoo/enterprise#28971
How to reproduce the bug ? - Install documents and stock - In Settings, check Products under the Documents tab. - Add an attachment to a product in the Stock app. - Go to the Documents app under the Products tab. - Click on the document that you have attached on the product. - Click on the Replace button and select another document. What is the bug ? When you replace a document uploaded through a different app than Documents, the old version of the document is still visible. op
Original PR description
How to reproduce the bug ? - Install documents and stock - In Settings, check Products under the Documents tab. - Add an attachment to a product in the Stock app. - Go to the Documents app under the Products tab. - Click on the document that you have attached on the product. - Click on the Replace button and select another document. What is the bug ? When you replace a document uploaded through a different app than Documents, the old version of the document is still visible. opw-2863062 Signed-off-by: Adrien Minet <admi@odoo.com> Forward-Port-Of: odoo/enterprise#29123 Forward-Port-Of: odoo/enterprise#29106
Forward-Port-Of: odoo/enterprise#29118
Original PR description
Forward-Port-Of: odoo/enterprise#29118
Step to reproduce : - With demo data : log in as Marc Demo - Go to sign - Edit YC_Form_SaaS_Agreement.pdf Current Behaviour : - YC_Form_SaaS_Agreement.pdf was already used by Mitchell Admin but you can modify the template Behaviour after PR : - You're notified that the template has been use and that you should duplicate it Backport of https://github.com/odoo/enterprise/pull/21518/commits/742c402f74bd5230662d373a59b7d95b00bec7de Original author - CWG opw-2781908 Forward-Por
Original PR description
Step to reproduce : - With demo data : log in as Marc Demo - Go to sign - Edit YC_Form_SaaS_Agreement.pdf Current Behaviour : - YC_Form_SaaS_Agreement.pdf was already used by Mitchell Admin but you can modify the template Behaviour after PR : - You're notified that the template has been use and that you should duplicate it Backport of https://github.com/odoo/enterprise/pull/21518/commits/742c402f74bd5230662d373a59b7d95b00bec7de Original author - CWG opw-2781908 Forward-Port-Of: odoo/enterprise#26233 Forward-Port-Of: odoo/enterprise#25661