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][FIX] account_edi_ubl_cii: Don't attach edi document to on confirm #98583

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Aug 22, 2022

Steps to reproduce:

  • Install Netherlands localization module
  • In the Customer Invoice journal, activate NLCIUS (Netherlands)
    as Electronic Invoicing
  • Create a new invoice and confirm

Issue:

XML generated and available as attachment and if we click on
Send & print, a second one is added to attachments.

Cause:

If it's not a factur-x or e-fff edi documents, we will generate the
XML file add it as attachment on confirm.

Solution:

Don't add as attachment of the invoice when confirming invoice if
code is nlcius_1 (like for factur-x and e-fff edi documents),
only when generating invoice PDF (Sent & Print).

opw-2751148

Forward-Port-Of: #98516
Forward-Port-Of: #98417

Steps to reproduce:

  - Install Netherlands localization module
  - In the `Customer Invoice` journal, activate `NLCIUS (Netherlands)`
    as Electronic Invoicing
  - Create a new invoice and confirm

Issue:

  XML generated and available as attachment and if we click on
  `Send & print`, a second one is added to attachments.

Cause:

  If it's not a factur-x or e-fff edi documents, we will generate the
  XML file add it as attachment on confirm.

Solution:

  Don't add as attachment of the invoice when confirming invoice if
  code is `nlcius_1` (like for factur-x and e-fff edi documents),
  only when generating invoice PDF (`Sent & Print`).

opw-2751148

X-original-commit: 6c090da
@robodoo
Copy link
Contributor

robodoo commented Aug 22, 2022

@fw-bot
Copy link
Contributor Author

fw-bot commented Aug 22, 2022

This PR targets saas-15.4 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Aug 22, 2022
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Aug 22, 2022
robodoo pushed a commit that referenced this pull request Aug 23, 2022
Steps to reproduce:

  - Install Netherlands localization module
  - In the `Customer Invoice` journal, activate `NLCIUS (Netherlands)`
    as Electronic Invoicing
  - Create a new invoice and confirm

Issue:

  XML generated and available as attachment and if we click on
  `Send & print`, a second one is added to attachments.

Cause:

  If it's not a factur-x or e-fff edi documents, we will generate the
  XML file add it as attachment on confirm.

Solution:

  Don't add as attachment of the invoice when confirming invoice if
  code is `nlcius_1` (like for factur-x and e-fff edi documents),
  only when generating invoice PDF (`Sent & Print`).

opw-2751148

closes #98583

X-original-commit: 6c090da
Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
Signed-off-by: Nasreddin Boulif (bon) <bon@odoo.com>
@robodoo robodoo temporarily deployed to merge August 23, 2022 09:54 Inactive
@robodoo robodoo closed this Aug 23, 2022
@fw-bot fw-bot deleted the saas-15.4-14.0-opw-2751148-account_edi_ubl_cii-fix-bon-i0p--fw branch September 6, 2022 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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