Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][IMP] l10n_es_edi_sii: clearer missing element TipoDesglose error #95122

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Jul 1, 2022

When sending an invoice to the SII edi, the field TipoDesglose is
required. In case we have a foreign customer outside of Spain, we are
filtering the taxes information based on the tax scope (services or
goods). In case the tax scope is not filled in, TipoDesglose is not
provided and this will cause the request to fail, with no clear reason
for the user. We should add an UserError message to make it clear enough
so the user can fix it himself.

Description of the issue/feature this PR addresses:
opw-2886985

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

Forward-Port-Of: #94688

@robodoo
Copy link
Contributor

robodoo commented Jul 1, 2022

@fw-bot
Copy link
Contributor Author

fw-bot commented Jul 1, 2022

Ping @alt-odoo, @FlorianGilbert cherrypicking of pull request #94688 failed.

stderr:

18:44:15.777343 git.c:344               trace: built-in: git cherry-pick 00ff4ed7d695c8c1c52c7457990887625a50c02c
error: could not apply 00ff4ed7d69... [IMP] l10n_es_edi_sii: clearer missing element TipoDesglose error
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
----------
status:

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

@robodoo robodoo added conflict There was an error while creating this forward-port PR forwardport This PR was created by @fw-bot labels Jul 1, 2022
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jul 1, 2022
When sending an invoice to the SII edi, the field TipoDesglose is
required. In case we have a foreign customer outside of Spain, we are
filtering the taxes information based on the tax scope (services or
goods). In case the tax scope is not filled in, TipoDesglose is not
provided and this will cause the request to fail, with no clear reason
for the user. We should add an UserError message to make it clear enough
so the user can fix it himself.

X-original-commit: 03d833e
@alt-odoo alt-odoo force-pushed the saas-15.1-14.0-clearer-missing-element-sii-error-alt-8QIH-fw branch from 83827d3 to 3298ef7 Compare July 2, 2022 04:12
@C3POdoo C3POdoo requested review from a team and qdp-odoo and removed request for a team July 2, 2022 04:14
@alt-odoo
Copy link
Contributor

alt-odoo commented Jul 2, 2022

@robodoo r+

@robodoo
Copy link
Contributor

robodoo commented Jul 2, 2022

Staging failed: ci/runbot (view more at https://runbot.odoo.com/runbot/build/17101281)

@alt-odoo
Copy link
Contributor

alt-odoo commented Jul 2, 2022

@robodoo retry

robodoo pushed a commit that referenced this pull request Jul 2, 2022
When sending an invoice to the SII edi, the field TipoDesglose is
required. In case we have a foreign customer outside of Spain, we are
filtering the taxes information based on the tax scope (services or
goods). In case the tax scope is not filled in, TipoDesglose is not
provided and this will cause the request to fail, with no clear reason
for the user. We should add an UserError message to make it clear enough
so the user can fix it himself.

closes #95122

X-original-commit: 03d833e
Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
Signed-off-by: Alex Thuyls (alt) <alt@odoo.com>
@robodoo robodoo closed this Jul 2, 2022
@robodoo robodoo temporarily deployed to merge July 2, 2022 11:29 Inactive
@fw-bot fw-bot deleted the saas-15.1-14.0-clearer-missing-element-sii-error-alt-8QIH-fw branch July 16, 2022 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflict There was an error while creating this forward-port PR forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants