Search
Navigate
Branch
Tuesday, October 17, 2023
15 changes
New functionality added to Odoo
Adds a new report tool for Kenyan payroll teams to generate the required NSSF contribution report by month and year. The report is exported in XLSX format using the official layout, helping businesses prepare statutory submissions more efficiently.
Enhancements to existing features
Appointment organizers can now let invitees add guests when booking a meeting, making it easier to include colleagues or stakeholders in the same appointment. When enabled, guests can be added by email during registration or from the confirmation page, with availability handled before or after booking as appropriate.
Original PR description
Purpose ======== Allow people to invite colleagues to the meeting they're registering too. e.g.: As a CEO scheduling an Odoo demo, I want to easily add my CTO to the list of attendees as I want them…
Resolved issues and error corrections
Orders created through self-ordering with table service are now counted correctly and show the right latest preparation update on the floor plan. Tracking numbers are computed more reliably, and when only one payment method is available it is selected automatically at payment, reducing cashier or customer steps.
Original PR description
pos*: pos_preparation_display, pos_self_order_preparation_display Before this PR, when an order was made in self with pay after each with no payment method and service at table. The order that was sent to the floor plan had its last_order_preparation_change wrongly filled and the order count sent to the config was also wrong. It is now fixed. We also fixed the computation of the tracking number and add the feature that, if a config has only one payment method, it will be automatically selected when going to the payment screen. Community PR: odoo/odoo#138813
Miscellaneous changes
Some countries don't have a legally fixed chart of accounts, and hence cannot use the 'account_codes' engine in their Balance Sheet and P&L. Instead they have to rely on account.account.tag objects associated with the accounts of the database, and target them in the reports using the 'domain' engine. However, the 'domain' engine lacks the feature achieved with the C and D suffixes in 'account_codes'. Indeed, in the latter, writing '123D' will consider all the accounts prefixed 123 if their ba
Original PR description
Some countries don't have a legally fixed chart of accounts, and hence cannot use the 'account_codes' engine in their Balance Sheet and P&L. Instead they have to rely on account.account.tag objects…
Some countries don't have a legally fixed chart of accounts, and hence cannot use the 'account_codes' engine in their Balance Sheet and P&L. Instead they have to rely on account.account.tag objects associated with the accounts of the database, and target them in the reports using the 'domain' engine. However, the 'domain' engine lacks the feature achieved with the C and D suffixes in 'account_codes'. Indeed, in the latter, writing '123D' will consider all the accounts prefixed 123 if their balance on the period is positive (C means negative). This is not doable with a domain. The financial reports engine, used pre-16.0, used to support that case with sum_if_pos_groupby and sum_if_neg_groupby. We mistakenly considered those syntaxes would not be required with tags, which is why we're making this commit in stable. This commit introduces a new tag(...) selector, usable with the account_codes engine just like any regular prefix selector. It can take an xmlid (for data files) or an account.account.tag id (for custos in the UI; if the tag was created manually) as parameter, and can be used together with account codes in the same formula. It also supports C and D suffixes and prefix exclusion. It is hence possible to combine it with the pre-existing syntax; for example: tag(account.some_tag)\\(42)D + 1234C + tag(42) - 456\\(4560) Task 3524409 Forward-Port-Of: odoo/enterprise#48753 Forward-Port-Of: odoo/enterprise#48374
Purpose ======== Allow people to invite colleagues to the meeting they're registering too. e.g.: As a CEO scheduling an Odoo demo, I want to easily add my CTO to the list of attendees as I want them to be there too. Specifications =============== 1.Add a boolean field called "Allow Guests" with helper "Let attendees invite guests while registering to this meeting" on the options page of appointment. 2.If boolean field is checked then a linked-style "+Add Guests" button is added, in the appointment form. 3.When clicked, the link become text and a text-area is appear with a close button on the top right of the textarea. 4.In the text area one can write email address line by line and from that email, attendees is added in the event. 5.On the appointment confirmation page display all the attendees and "+add guest button" to add the guest again if user wants. Technical ========== 1.If user write a email address which is not a partner then the partner is created and name of the partner is set as email address.(this is done on both appointment form and confirmation page). 2.On the appointment form page if a partner is unavailable then he is redirected to the calendar page to change the date but on the confirmation page,if partner is unavailable then an error message is shown that guest is unavailable. Task-3297751
The preparation display now includes a recall button so staff can bring back the last order that was accidentally moved to the next stage. This helps reduce kitchen or service mistakes and keeps order handling more flexible during busy operations.
Original PR description
In this PR we had a new button to the navbar of the preparation display. This new button allows to recall the last order that was sent to the next stage (if any). It is useful when the order was sent to the next stage by mistake. This PR also includes some minor changes like the removal of pos_preparation_display_order_stage records when finishing the order.
Financial reports now let users quickly select or clear all journal filters and apply multiple filter changes at once. This reduces repeated report reloads, making report filtering faster and easier to use.
Original PR description
Problem --------- Currently, all filters must be disabled manually which is not great UX. Furthermore, each time a journal filter is applied, the report is reloaded. Performances could be improved by…
Problem --------- Currently, all filters must be disabled manually which is not great UX. Furthermore, each time a journal filter is applied, the report is reloaded. Performances could be improved by reloading the report only once all filters are selected. Objective --------- 1. The journal filter should have a select all/clear all option. 2. The report should be reloaded only once several journal filters are applied. When exiting the dropdown menu, the currently applied filters should be maintained but all selected fitlers that were not applied should be discarded. Solution --------- 1. Add a journal option `unselect_all` in the reports. When this is selected, it unselects all the other journals. 2. Add an apply filter that will reload the report once clicked and make sure the dropdown list does not close after a filter is selected. Some functions have been added to differentiate between: - Selecting a filter only - Applying the filters and thus reload the report - Clear all filters and reload immediately the report. To differentiate between appplied filters and selected filters but not yet applied filters, a new option has been added; it stores the list of filter ids that are currently applied and displayed on the report. task-2833508
The subscription portal now presents a single “View details” action instead of separate download and print buttons. This makes the customer experience clearer and reduces confusion when users want to review subscription information.
Original PR description
task-3484125
The Cash Flow Report now highlights unexplained differences as a warning instead of listing them as a normal report line. This makes potential issues easier for users to spot and act on.
Original PR description
In the Cash Flow Report the unexplained difference is currently displayed as an additional line at the end of the report. After this commit it will be displayed as a warning instead. This makes it easier to see that there is a problem. task-3508347
The filter '`filter_multi_company`' in the spanish modelos was set to '`disabled`'. Applied the '`tax_units`' filter instead. Forward-Port-Of: odoo/enterprise#48981
Original PR description
The filter '`filter_multi_company`' in the spanish modelos was set to '`disabled`'. Applied the '`tax_units`' filter instead. Forward-Port-Of: odoo/enterprise#48981
This issue occurs when the user tries to upload an invalid file, at that time, an error will be generated. step to reproduce: - Install the `sign` module - Open sign app > Dashboard. - Click on the dropdown Menu of the template > Use Layout - Upload file > Confirm. - the error will be generated. PDF FILE - [sample.pdf](https://drive.google.com/file/d/1EFaigvjRhW8poY7EwBuzors8LVwi8Klp/view?usp=drive_link) sentry traceback- ``` ValueError: invalid literal for int() with base 10: b'
Original PR description
This issue occurs when the user tries to upload an invalid file, at that time, an error will be generated. step to reproduce: - Install the `sign` module - Open sign app > Dashboard. - Click on the…
This issue occurs when the user tries to upload an invalid file, at that time, an error will be generated.
step to reproduce:
- Install the `sign` module
- Open sign app > Dashboard.
- Click on the dropdown Menu of the template > Use Layout
- Upload file > Confirm.
- the error will be generated.
PDF FILE - [sample.pdf](https://drive.google.com/file/d/1EFaigvjRhW8poY7EwBuzors8LVwi8Klp/view?usp=drive_link)
sentry traceback-
```
ValueError: invalid literal for int() with base 10: b'>>'
File "PyPDF2/pdf.py", line 1703, in read
startxref = int(line)
PdfReadError: startxref not found
File "odoo/http.py", line 2134, in __call__
response = request._serve_db()
File "odoo/http.py", line 1710, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "odoo/service/model.py", line 133, in retrying
result = func()
File "odoo/http.py", line 1737, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "odoo/http.py", line 1938, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "odoo/addons/base/models/ir_http.py", line 191, in _dispatch
result = endpoint(**request.params)
File "odoo/http.py", line 717, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "addons/web/controllers/dataset.py", line 34, in call_button
action = self._call_kw(model, method, args, kwargs)
File "addons/web/controllers/dataset.py", line 26, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "home/odoo/src/enterprise/saas-16.4/sign/wizard/sign_duplicate_template_with_pdf.py", line 23, in duplicate_template_with_pdf
if not self._compare_page_templates(self.original_template_id.datas, self.new_pdf):
File "home/odoo/src/enterprise/saas-16.4/sign/wizard/sign_duplicate_template_with_pdf.py", line 44, in _compare_page_templates
pages_new_file = PdfFileReader(io.BytesIO(base64.b64decode(new_file)), strict=False, overwriteWarnings=False).getNumPages()
File "odoo/tools/pdf.py", line 191, in <lambda>
old_init(self, stream=stream, strict=strict, warndest=None, overwriteWarnings=False)
File "PyPDF2/pdf.py", line 1084, in __init__
self.read(stream)
File "PyPDF2/pdf.py", line 1707, in read
raise utils.PdfReadError("startxref not found")
```
After this commit, it will raise a validation error when uploading files is not valid.
sentry-4517279848
Forward-Port-Of: odoo/enterprise#48772
Forward-Port-Of: odoo/enterprise#48314**Description of the issue/feature:** This pull request introduces a new feature to the line chart, which addresses the need for users to easily switch between cumulative and non-cumulative display modes. **Current behavior before PR:** Currently ,the line chart only displays non-cumulative data, and there is no option to switch to cumulative mode. **Desired behavior after PR is merged:** After merging this PR, users will have the option to select or deselect the checkbox in the l
Original PR description
**Description of the issue/feature:** This pull request introduces a new feature to the line chart, which addresses the need for users to easily switch between cumulative and non-cumulative display modes. **Current behavior before PR:** Currently ,the line chart only displays non-cumulative data, and there is no option to switch to cumulative mode. **Desired behavior after PR is merged:** After merging this PR, users will have the option to select or deselect the checkbox in the line chart side panel. When the checkbox is selected, the chart will continue to show cumulative data, providing a comprehensive view of data progression. However, if the checkbox is deselected, the chart will display regular non-cumulative data. Forward-Port-Of: odoo/enterprise#48817 Forward-Port-Of: odoo/enterprise#45113
Changing the background of a new company sets the background of the main company Steps to reproduce: 1. Install Studio 2. Go to Settings > Companies > Manage Companies and create a new company 3. Go back to the home menu and switch to the new company 4. Toggle Studio, click on Customizations in the top left corner and change the background 5. The page reloads but the background hasn't changed (but the main company background has been modified) Solution: Update the request with the co
Original PR description
Changing the background of a new company sets the background of the main company Steps to reproduce: 1. Install Studio 2. Go to Settings > Companies > Manage Companies and create a new company 3. Go back to the home menu and switch to the new company 4. Toggle Studio, click on Customizations in the top left corner and change the background 5. The page reloads but the background hasn't changed (but the main company background has been modified) Solution: Update the request with the context (same solution as in https://github.com/odoo/enterprise/pull/41216) opw-3477836 Forward-Port-Of: odoo/enterprise#48986
Before this pr, when having a line folded (that hasn't been unfolded before), sort a column then unfold the lines a traceback appear because the list linesOrder has not yet been modified and so there is inconsistency between the two lists. By modifying the linesOrder list before the rendering of the template solves the issues. Task 3440961 Forward-Port-Of: odoo/enterprise#48970 Forward-Port-Of: odoo/enterprise#48386
Original PR description
Before this pr, when having a line folded (that hasn't been unfolded before), sort a column then unfold the lines a traceback appear because the list linesOrder has not yet been modified and so there is inconsistency between the two lists. By modifying the linesOrder list before the rendering of the template solves the issues. Task 3440961 Forward-Port-Of: odoo/enterprise#48970 Forward-Port-Of: odoo/enterprise#48386
Now that the sections have been introduced, that default values are not generated for tax reports, because the sections are not inheriting from the `account.generic_tax_report`. It's necessary to check section's source report for the comparison. Forward-Port-Of: odoo/enterprise#48983
Original PR description
Now that the sections have been introduced, that default values are not generated for tax reports, because the sections are not inheriting from the `account.generic_tax_report`. It's necessary to check section's source report for the comparison. Forward-Port-Of: odoo/enterprise#48983
When the side panel of a pivot/list is opened while the side panel of another pivot/listis already open, the datasource of the first pivot/listis used instead of the datasource of the second pivot/list. This can lead to tracebacks, or to wrong data being displayed. Task: [3463289](https://www.odoo.com/web#id=3463289&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#48283
Original PR description
When the side panel of a pivot/list is opened while the side panel of another pivot/listis already open, the datasource of the first pivot/listis used instead of the datasource of the second pivot/list. This can lead to tracebacks, or to wrong data being displayed. Task: [3463289](https://www.odoo.com/web#id=3463289&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#48283