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

[IMP] l10n_sa_edi: update tax exemption reasons #166104

Conversation

mebe-odoo
Copy link
Contributor

ZATCA updated the VAT exemption reason codes to be provided for 0% taxes. This commit aims to expand the list of existing tax exemption reason codes in odoo to include the new reason: VATEX-SA-OOS

Description of the issue/feature this PR addresses:
Currently the VAT exemption reasons defined in the l10n_sa_edi module do not include all the reasons listed by ZATCA

Current behavior before PR:
Current VAT exemption reasons do not include reason VATEX-SA-OOS, i.e: "Not subject to VAT"

Desired behavior after PR is merged:
Add VAT exemption reason VATEX-SA-OOS


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

@mebe-odoo mebe-odoo requested a review from jco-odoo May 20, 2024 09:11
@robodoo
Copy link
Contributor

robodoo commented May 20, 2024

@C3POdoo C3POdoo requested a review from a team May 20, 2024 09:13
@C3POdoo C3POdoo added the RD research & development, internal work label May 20, 2024
@@ -429,8 +429,11 @@ def _get_tax_unece_codes(self, invoice, tax):
def _exemption_reason(code, reason):
return {
'tax_category_code': code,
'tax_exemption_reason_code': reason,
'tax_exemption_reason': exemption_codes[reason].split(reason)[1].lstrip(),
'tax_exemption_reason_code': reason or "Not subject to VAT",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should not this be VATEX-SA-OOS @mebe-odoo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jco-odoo absolutely, I updated it

@mebe-odoo mebe-odoo force-pushed the 15.0-l10n-sa-edi-update-vat-exemption-reasons branch from 102083d to 07555c9 Compare May 21, 2024 09:34
@jco-odoo
Copy link
Contributor

@robodoo r+

@robodoo
Copy link
Contributor

robodoo commented May 21, 2024

@jco-odoo you may want to rebuild or fix this PR as it has failed CI.

ZATCA updated the VAT exemption reason codes to be provided for 0% taxes. This commit aims to expand the list of existing tax exemption reason codes in odoo to include the new reason: VATEX-SA-OOS
@mebe-odoo mebe-odoo force-pushed the 15.0-l10n-sa-edi-update-vat-exemption-reasons branch from 07555c9 to c486e44 Compare May 22, 2024 05:14
@mebe-odoo
Copy link
Contributor Author

@robodoo r+

@robodoo
Copy link
Contributor

robodoo commented May 22, 2024

I'm sorry, @mebe-odoo: you can't review+.

@jco-odoo
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request May 22, 2024
ZATCA updated the VAT exemption reason codes to be provided for 0% taxes. This commit aims to expand the list of existing tax exemption reason codes in odoo to include the new reason: VATEX-SA-OOS

closes #166104

Signed-off-by: Josse Colpaert <[email protected]>
@robodoo robodoo closed this May 22, 2024
5 similar comments
lohwswilson pushed a commit to lohwswilson/odoo that referenced this pull request Jun 3, 2024
ZATCA updated the VAT exemption reason codes to be provided for 0% taxes. This commit aims to expand the list of existing tax exemption reason codes in odoo to include the new reason: VATEX-SA-OOS

closes odoo#166104

Signed-off-by: Josse Colpaert <[email protected]>
@fw-bot
Copy link
Contributor

fw-bot commented Jun 3, 2024

@mebe-odoo @jco-odoo this pull request has forward-port PRs awaiting action (not merged or closed):

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.

None yet

5 participants