Monday, January 20, 2025
53 changes
Miscellaneous changes
*: frontdesk, hr_contract_salary, hr_referral Issue: when the website has a domain `get_base_url` return the domain if the record calling it has a company set on it - call the function with an empty object to get the database url instead Task: 3903743 Forward-Port-Of: odoo/enterprise#77256 Forward-Port-Of: odoo/enterprise#76888
Original PR description
*: frontdesk, hr_contract_salary, hr_referral Issue: when the website has a domain `get_base_url` return the domain if the record calling it has a company set on it - call the function with an empty object to get the database url instead Task: 3903743 Forward-Port-Of: odoo/enterprise#77256 Forward-Port-Of: odoo/enterprise#76888
When the user clicks on the ``Process now`` button, a traceback will appear. Steps to reproduce the error: - Install ``l10n_ec_edi`` module > Switch to EC Company - Create a new invoice > Add Payment Method (SRI) > Confirm - Go to Configuration > Settings > SRI Connection > enable ``Use production servers`` > Save - Go back to the invoice > Request EDI Cancellation > Process now Traceback: ``` File "home/odoo/src/enterprise/18.0/l10n_ec_edi/models/account_edi_format.py", line 525, i
Original PR description
When the user clicks on the ``Process now`` button, a traceback will appear. Steps to reproduce the error: - Install ``l10n_ec_edi`` module > Switch to EC Company - Create a new invoice > Add Payment…
When the user clicks on the ``Process now`` button,
a traceback will appear.
Steps to reproduce the error:
- Install ``l10n_ec_edi`` module > Switch to EC Company
- Create a new invoice > Add Payment Method (SRI) > Confirm
- Go to Configuration > Settings > SRI Connection > enable ``Use production servers`` > Save
- Go back to the invoice > Request EDI Cancellation > Process now
Traceback:
```
File "home/odoo/src/enterprise/18.0/l10n_ec_edi/models/account_edi_format.py", line 525, in _l10n_ec_get_authorization_status_new
response_auth_list = response['autorizaciones'] and response['autorizaciones']['autorizacion'] or []
TypeError: 'NoneType' object is not subscriptable
```
https://github.com/odoo/enterprise/blob/2e1af04e36fcbdcd11e3a7e2994673b2c4a5cf85/l10n_ec_edi/models/account_edi_format.py#L525
When there is any kind of connection error, the ``response`` will be ``None``,
which will result in the above traceback.
sentry-6199991614
Forward-Port-Of: odoo/enterprise#76614With this commit message translation will be available in livechat channels for internal users. task-4457025 https://github.com/odoo/odoo/pull/193260 Forward-Port-Of: odoo/enterprise#76936
Original PR description
With this commit message translation will be available in livechat channels for internal users. task-4457025 https://github.com/odoo/odoo/pull/193260 Forward-Port-Of: odoo/enterprise#76936