Skip to content

Conversation

@vin-odoo
Copy link
Contributor

@vin-odoo vin-odoo commented Jan 14, 2025

Brings various needed improvements to the module, either in place or
via a new extended module.

  • Neutralization resets to pre-production
  • Better handling of errors when generating the file by using the commercial partner
    as expected.
  • Align all the flows which update the invoice status to ensure that the data is
    consistent.
  • Improve validation for some special cases (lines without products, tax exemption)
  • Add a new field for Malaysian TIN, mostly for foreign entities.
    Will be used by default in all flows for MyInvois, with fallback on the Tax ID if empty.
  • Classification code on invoice line, making the use of products optional.
  • Rework the views for all fields related to ID on res.partner to align with other similar
    fields. They will be Readonly on res.partner with a parent id, but displays the value of
    the commercial partner.
  • Industrial classification on the partner.
  • "Full" support of self billing.
  • Reworked flow to send to MyInvois BEFORE send & print. Which adds support for the
    QR code generation, and new field to store the QR code long ID.
  • Send & Print can no longer be used to send invoices to MyInvois after the new
    module is installed

Task-4363294


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

@robodoo
Copy link
Contributor

robodoo commented Jan 14, 2025

Pull request status dashboard

@C3POdoo C3POdoo added the RD research & development, internal work label Jan 14, 2025
@tsb-odoo tsb-odoo requested a review from epictete January 15, 2025 08:33
@vin-odoo vin-odoo force-pushed the 17.0-myinvois_qr_self_billed-vin branch 10 times, most recently from 6532b8a to 48de462 Compare January 22, 2025 09:59
@vin-odoo vin-odoo changed the title [IMP] l10n_my_edi: Embedded QR code and self billing [IMP] l10n_my_edi: Various improvements Jan 22, 2025
@vin-odoo vin-odoo force-pushed the 17.0-myinvois_qr_self_billed-vin branch from 48de462 to 027399a Compare January 24, 2025 05:58
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to remove in 17.2

Brings various needed improvements to the module, either in place or
via a new extended module.

- Neutralization resets to pre-production
- Better handling of errors when generating the file by using the commercial partner
as expected.
- Align all the flows which update the invoice status to ensure that the data is
consistent.
- Improve validation for some special cases (lines without products, tax exemption)
- Add a new field for Malaysian TIN, mostly for foreign entities.
Will be used by default in all flows for MyInvois, with fallback on the Tax ID if empty.
- Classification code on invoice line, making the use of products optional.
- Rework the views for all fields related to ID on res.partner to align with other similar
fields. They will be Readonly on res.partner with a parent id, but displays the value of
the commercial partner.
- Industrial classification on the partner.
- "Full" support of self billing.
- Reworked flow to send to MyInvois BEFORE send & print. Which adds support for the
QR code generation, and new field to store the QR code long ID.
- Send & Print can no longer be used to send invoices to MyInvois after the new
module is installed

Task-4363294
@vin-odoo vin-odoo force-pushed the 17.0-myinvois_qr_self_billed-vin branch from 027399a to f73c313 Compare January 24, 2025 13:03
@vin-odoo
Copy link
Contributor Author

@william-andre Thanks a lot for the review 🤩
I have applied/replied to your comments.

Before pushing, I made sure that all my tests were green, and I also manually tested a few invoices/self-billed.

Please note that when you think this PR is ready to be merged, there is one on IAP that also needs to be merged into production (it was already approved and has been on the test server for a week, so it's ready for prod).

@Williambraecky
Copy link
Contributor

Upgrade exception #484 added.

Waiting the forward-port of this pr, the exception will be applied on all builds, and create an inconsistent state for migrations.
Please forward port this asap up to master without change. Exception should be forward-ported before the end of the week.

PRs adding fields/models should be merged at the beginning of the week and all the forward ports should be merged in the same week.

If you need to apply any change before it reaches master, please notify runbot team.

Details:

module:l10n_my_edi_extended

cc @KangOl @nseinlet @aj-fuentes

@william-andre
Copy link
Contributor

@robodoo r+

@robodoo
Copy link
Contributor

robodoo commented Jan 24, 2025

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

@robodoo
Copy link
Contributor

robodoo commented Jan 24, 2025

@vin-odoo @william-andre 'ci/runbot' failed on this reviewed PR.

@william-andre
Copy link
Contributor

@robodoo r- delegate+

Waiting for someone from IAP to merge on their side, otherwise potential 💥

@william-andre
Copy link
Contributor

@robodoo r+

Not a high risk if IAP is not ready immediately, but would make it easier to merge the module on our side

@robodoo
Copy link
Contributor

robodoo commented Jan 24, 2025

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

robodoo pushed a commit that referenced this pull request Jan 24, 2025
Brings various needed improvements to the module, either in place or
via a new extended module.

- Neutralization resets to pre-production
- Better handling of errors when generating the file by using the commercial partner
as expected.
- Align all the flows which update the invoice status to ensure that the data is
consistent.
- Improve validation for some special cases (lines without products, tax exemption)
- Add a new field for Malaysian TIN, mostly for foreign entities.
Will be used by default in all flows for MyInvois, with fallback on the Tax ID if empty.
- Classification code on invoice line, making the use of products optional.
- Rework the views for all fields related to ID on res.partner to align with other similar
fields. They will be Readonly on res.partner with a parent id, but displays the value of
the commercial partner.
- Industrial classification on the partner.
- "Full" support of self billing.
- Reworked flow to send to MyInvois BEFORE send & print. Which adds support for the
QR code generation, and new field to store the QR code long ID.
- Send & Print can no longer be used to send invoices to MyInvois after the new
module is installed

Task-4363294

closes #193497

Signed-off-by: William André (wan) <wan@odoo.com>
@robodoo robodoo closed this Jan 24, 2025
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 25, 2025
Brings various needed improvements to the module, either in place or
via a new extended module.

- Neutralization resets to pre-production
- Better handling of errors when generating the file by using the commercial partner
as expected.
- Align all the flows which update the invoice status to ensure that the data is
consistent.
- Improve validation for some special cases (lines without products, tax exemption)
- Add a new field for Malaysian TIN, mostly for foreign entities.
Will be used by default in all flows for MyInvois, with fallback on the Tax ID if empty.
- Classification code on invoice line, making the use of products optional.
- Rework the views for all fields related to ID on res.partner to align with other similar
fields. They will be Readonly on res.partner with a parent id, but displays the value of
the commercial partner.
- Industrial classification on the partner.
- "Full" support of self billing.
- Reworked flow to send to MyInvois BEFORE send & print. Which adds support for the
QR code generation, and new field to store the QR code long ID.
- Send & Print can no longer be used to send invoices to MyInvois after the new
module is installed

Task-4363294

closes odoo#193497

Signed-off-by: William André (wan) <wan@odoo.com>
@fw-bot fw-bot deleted the 17.0-myinvois_qr_self_billed-vin branch February 7, 2025 22:59
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.

5 participants