Skip to content

[18.0][MIG] account_invoice_auto_send_by_email: Migration to 18.0#2

Open
thienvh332 wants to merge 7 commits into18.0from
18.0-mig-account_invoice_auto_send_by_email
Open

[18.0][MIG] account_invoice_auto_send_by_email: Migration to 18.0#2
thienvh332 wants to merge 7 commits into18.0from
18.0-mig-account_invoice_auto_send_by_email

Conversation

@thienvh332
Copy link
Copy Markdown
Owner

@thienvh332 thienvh332 commented Nov 13, 2024

Changes:

  • Migrate from v14 to v18.
  • Based on simone's comment (https://github.com/OCA/account-invoicing/pull/1382#issuecomment-1691643856)
    • Apply edi.configuration and edi flow for sending mail. Allow users to customize and intervene in this mail sending process.

Depends on:

Copy link
Copy Markdown

@simahawk simahawk left a comment

Choose a reason for hiding this comment

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

@thienvh332 thanks for the attempt. However, I think we are still far from the final result.

Major points:

  • transmit method becomes useless when using the framework -> it will be replaced by the edi.conf + specifc edi exc type
  • the whole modules (send by email and a_inv_trans_method) can be trashed or left behind if someone wants still to use them as they are because everything can be done now in edi_account_oca

There you can define:

  • a configuration
  • a field for supplier conf
  • a field for customer conf
  • a listener

Please put this on hold for a while till we clarify how all the modules using transmit method should modified or discarded in our flow.

"category": "Accounting",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["account", "account_invoice_transmit_method", "edi_account_oca"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What is the role of account_invoice_transmit_method?

@@ -0,0 +1,9 @@
<odoo>
<record id="edi_conf_send_via_email" model="edi.configuration">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Who's going to use this? We need a specific field on the partner to make use of this w/ a proper trigger option added to the edi.conf model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants