Daily updates from Odoo
Navigate
Branch
Thursday, July 15, 2021
8 changes
New functionality added to Odoo
Odoo Point of Sale can now connect to Worldline payment terminals through the IoT Box. This expands supported payment hardware options for retailers and makes card payment integration easier in stores using Worldline devices.
Original PR description
Add support for Worldline terminals with the IoT Box. TaskID: 2368696
Code cleanup and technical improvements
This update improves the electronic signing experience by using the existing user session more safely and ensuring language and localization information is available where needed. It also modernizes some internal tests for Documents and Studio, reducing fragility as the frontend platform evolves.
Original PR description
community: https://github.com/odoo/odoo/pull/72675
Miscellaneous changes
This PR fixes the following issue: Steps to reproduce ------------------- - Create an invoice with Retention Taxes and post it. - Generate a credit note from that invoice. - Apply the credit note to the invoice. - Check the DIOT report. Current behavior ----------------- - The DIOT report shows the retention taxes with a positive amount always, no matter if it's from a credit note. Expected behavior ------------------ - The DIOT report must show the retention taxes negative i
Original PR description
This PR fixes the following issue: Steps to reproduce ------------------- - Create an invoice with Retention Taxes and post it. - Generate a credit note from that invoice. - Apply the credit note to the invoice. - Check the DIOT report. Current behavior ----------------- - The DIOT report shows the retention taxes with a positive amount always, no matter if it's from a credit note. Expected behavior ------------------ - The DIOT report must show the retention taxes negative if it comes from a credit note. Issue replicated in runbot: https://youtu.be/7qu4QJyf-oI OPW #2575541 Forward-Port-Of: odoo/enterprise#19149
We introduce a bug from this commit: af62bf0401728be7b10aeab4bb32e61a330e89a7 Here we replace the manufacturer for the terminal_proxy Forward-Port-Of: odoo/enterprise#19662 Forward-Port-Of: odoo/enterprise#19654
Original PR description
We introduce a bug from this commit: af62bf0401728be7b10aeab4bb32e61a330e89a7 Here we replace the manufacturer for the terminal_proxy Forward-Port-Of: odoo/enterprise#19662 Forward-Port-Of: odoo/enterprise#19654
…rrency issue: 2448879 Forward-Port-Of: odoo/enterprise#19369
Original PR description
…rrency issue: 2448879 Forward-Port-Of: odoo/enterprise#19369
Steps to reproduce the bug: - Click on Customer in sale report Bug: A traceback was raised. opw:2574041 Forward-Port-Of: odoo/enterprise#19397
Original PR description
Steps to reproduce the bug: - Click on Customer in sale report Bug: A traceback was raised. opw:2574041 Forward-Port-Of: odoo/enterprise#19397
Applying function _sort_rates on [{'rate': "107.15"}, {'rate': "29.73"}] retruned [{'rate': "107.15"}, {'rate': "29.73"}] instead of [{'rate': "29.73"}, {'rate': "107.15"}] as it compared string and not float opw:2573789 Forward-Port-Of: odoo/enterprise#19396
Original PR description
Applying function _sort_rates on
[{'rate': "107.15"}, {'rate': "29.73"}]
retruned
[{'rate': "107.15"}, {'rate': "29.73"}] instead of [{'rate': "29.73"}, {'rate': "107.15"}]
as it compared string and not float
opw:2573789
Forward-Port-Of: odoo/enterprise#19396web_cohort needs to be an explicit dependency of helpdesk https://github.com/odoo/enterprise/blob/98f42c2bf97794a42e3f87b7b02f152e80c5b18f/helpdesk/views/helpdesk_views.xml#L296 Otherwise we may get ``` Traceback (most recent call last): File "/home/odoo/src/odoo/14.0/odoo/tools/convert.py", line 677, in _tag_root f(rec) File "/home/odoo/src/odoo/14.0/odoo/tools/convert.py", line 580, in _tag_record record = model._load_records([data], self.mode == 'update') File "/home/
Original PR description
web_cohort needs to be an explicit dependency of helpdesk https://github.com/odoo/enterprise/blob/98f42c2bf97794a42e3f87b7b02f152e80c5b18f/helpdesk/views/helpdesk_views.xml#L296 Otherwise we may get…
web_cohort needs to be an explicit dependency of helpdesk
https://github.com/odoo/enterprise/blob/98f42c2bf97794a42e3f87b7b02f152e80c5b18f/helpdesk/views/helpdesk_views.xml#L296
Otherwise we may get
```
Traceback (most recent call last):
File "/home/odoo/src/odoo/14.0/odoo/tools/convert.py", line 677, in _tag_root
f(rec)
File "/home/odoo/src/odoo/14.0/odoo/tools/convert.py", line 580, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/home/odoo/src/odoo/14.0/odoo/models.py", line 4205, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/home/odoo/src/odoo/14.0/odoo/models.py", line 4134, in _load_records_create
return self.create(values)
File "<decorator-gen-43>", line 2, in create
File "/home/odoo/src/odoo/14.0/odoo/api.py", line 345, in _model_create_multi
return create(self, arg)
File "/home/odoo/src/odoo/14.0/odoo/addons/base/models/ir_ui_view.py", line 482, in create
return super(View, self).create(vals_list)
File "<decorator-gen-65>", line 2, in create
File "/home/odoo/src/odoo/14.0/odoo/api.py", line 345, in _model_create_multi
return create(self, arg)
File "/home/odoo/src/odoo/14.0/odoo/addons/base/models/ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "<decorator-gen-13>", line 2, in create
File "/home/odoo/src/odoo/14.0/odoo/api.py", line 345, in _model_create_multi
return create(self, arg)
File "/home/odoo/src/odoo/14.0/odoo/models.py", line 3862, in create
records = self._create(data_list)
File "/home/odoo/src/odoo/14.0/odoo/models.py", line 3934, in _create
col_val = field.convert_to_column(val, self, stored)
File "/home/odoo/src/odoo/14.0/odoo/fields.py", line 2402, in convert_to_column
value = self.convert_to_cache(value, record)
File "/home/odoo/src/odoo/14.0/odoo/fields.py", line 2414, in convert_to_cache
raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for ir.ui.view.type: 'cohort'
```
Steps to reproduce traceback:
1. Setup clean DB version 14.0
2. Uninstall web_cohort
3. Install helpdesk
Observed during the upgrade request upg-12038
Forward-Port-Of: odoo/enterprise#19638