Skip to content

Conversation

@asno-odoo
Copy link
Contributor

We are not gonna find a value for domestic_currency_companies everytime, sometime they simply don't exist. In that case, we should check that they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157 is gonna be wrong.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.
@robodoo
Copy link
Contributor

robodoo commented Jan 16, 2025

Pull request status dashboard

@C3POdoo C3POdoo requested review from a team and Megaaaaaa and removed request for a team January 16, 2025 13:06
@asno-odoo asno-odoo requested review from a team and oco-odoo and removed request for a team January 16, 2025 13:07
@C3POdoo C3POdoo added the RD research & development, internal work label Jan 16, 2025
Copy link
Contributor

@oco-odoo oco-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo robodoo closed this in 69aff8c Jan 24, 2025
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 26, 2025
We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.

closes odoo#193964

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
gamarino pushed a commit to numaes/numa-public-odoo that referenced this pull request Jan 27, 2025
We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.

closes odoo/odoo#193964

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 29, 2025
We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.

closes odoo#193964

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 29, 2025
We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.

closes odoo#193964

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
StephaneMangin pushed a commit to camptocamp/odoo that referenced this pull request Feb 6, 2025
We are not gonna find a value for domestic_currency_companies everytime,
sometime they simply don't exist. In that case, we should check that
they exist before we call _get_table_builder_domestic_currency.

otherwise syntax of this query: https://github.com/odoo/odoo/blob/18.0/addons/account/models/res_currency.py#L157
is gonna be wrong.

closes odoo#193964

Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
@fw-bot fw-bot deleted the 18.0-no_domestic_co-asno branch February 7, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants