Skip to content

Conversation

@RedaKarimi
Copy link

No description provided.

yajo and others added 6 commits October 20, 2025 14:48
New module that simplifies the use case of registering partial invoice payments.

@moduon MT-5071
Currently translated at 100.0% (5 of 5 strings)

Translation: account-payment-16.0/account-payment-16.0-account_move_line_payment
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_move_line_payment/it/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-payment-16.0/account-payment-16.0-account_move_line_payment
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_move_line_payment/pt_BR/
@RedaKarimi RedaKarimi changed the title 18.0 mig account move line payment [18.0] [mig] account move line payment Oct 20, 2025
@RedaKarimi RedaKarimi mentioned this pull request Oct 20, 2025
13 tasks
@RedaKarimi RedaKarimi force-pushed the 18.0-mig-account_move_line_payment branch from aa3aef6 to bfe02a9 Compare October 20, 2025 15:02
@mmircoli-nexapp
Copy link

mmircoli-nexapp commented Oct 21, 2025

@yajo @rafaelbn is it ok the migration?
thank you

@mmircoli-nexapp
Copy link

/ocabot migration account_move_line_payment

@OCA-git-bot
Copy link
Contributor

Sorry @mmircoli-nexapp you are not allowed to mark the addon to be migrated.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@mmircoli-nexapp
Copy link

@pedrobaeza is it ok the pull request?
thank you

@pedrobaeza pedrobaeza changed the title [18.0] [mig] account move line payment [18.0] [MIG] account_move_line_payment: Migration to 18.0 Oct 23, 2025
@pedrobaeza
Copy link
Member

The PR title was not OK. Changed.

Commit history and formal process seems OK. Now reviewers should confirm the correct code and functional behavior.

/ocabot migration account_move_line_payment

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 23, 2025
@mmircoli-nexapp
Copy link

@yajo @rafaelbn is it ok the migration? thank you

ping

- Invoicing users should be able too.
- A good improvement would be to display *Next due date* in invoices views.
- Also to allow somehow paying only overdue payments when using the register payment wizard.
- This feature already exists in Odoo 17 under *Invoicing > Customers/Vendors > Amounts to settle*, so there's no need to forward-port this module.
Copy link
Member

Choose a reason for hiding this comment

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

Did you notice this? 😅

Choose a reason for hiding this comment

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

mmm but is not avaible in due dates menu

Choose a reason for hiding this comment

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

This module add the function on voice menu payments and Due list

Copy link
Member

Choose a reason for hiding this comment

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

You're right. Then let's remove this roadmap item

Choose a reason for hiding this comment

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

ok I contact the author to remove the roadmap and squash the commit

@yajo
Copy link
Member

yajo commented Oct 29, 2025

Hello folks! We will not use this module for v17+ because Odoo includes the part of it that we need:

image

@mmircoli-nexapp
Copy link

Member

which module implement this action??

@mmircoli-nexapp
Copy link

Hello folks! We will not use this module for v17+ because Odoo includes the part of it that we need:

image

do you use some module? I try to check on runbot 18.0 and I don't find this voice of Menu

@mmircoli-nexapp
Copy link

Hello folks! We will not use this module for v17+ because Odoo includes the part of it that we need:

image

this module add the function here
Screenshot 2025-10-30 alle 17 15 47

And without the module the function is not avaible

@mmircoli-nexapp
Copy link

Hello folks! We will not use this module for v17+ because Odoo includes the part of it that we need:

image

I agree your point of view, however if you have more deadlines you need to register only 1 one and not alle total of invoice

Copy link

@enigmista91 enigmista91 left a comment

Choose a reason for hiding this comment

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

LGMT

@Shide
Copy link

Shide commented Nov 11, 2025

Core behavior was added to v17, but in v18 has been removed again.
I think migration of this module is needed.

MT-12596

Copy link

@Shide Shide left a comment

Choose a reason for hiding this comment

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

Remove unused code and fix roadmap.

Comment on lines +3 to +6
# from . import wizards
# from . import controllers
# from . import report
# from .hooks import pre_init_hook, post_load, post_init_hook, uninstall_hook
Copy link

Choose a reason for hiding this comment

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

Remove this if not used

Choose a reason for hiding this comment

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

separated commit or We can fix and squash?

Copy link

@Shide Shide Nov 12, 2025

Choose a reason for hiding this comment

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

fixup under Migration 18.0 commit, but I don't see the Migration to 18.0 commit.

Can you do again all the process to separate the pre-commit fixes and the proper Migration to 18.0 commit?

You can follow this guide step by step to leave a perfect commit history: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0#how-to

The commit history should be:

# Leave this commit as it is. It's not a translation
[ADD] account_move_line_payment: simple partial overdue payment flow
# Fixup this commit (translation related)
[UPD] Update account_move_line_payment.pot
# Fixup this commit (translation related)
Added translation using Weblate (Italian)
# Fixup this commit (translation related)
Translated using Weblate (Italian)
# Fixup this commit (translation related)
Added translation using Weblate (Portuguese (Brazil))
# Fixup this commit (translation related)
Translated using Weblate (Portuguese (Brazil))
# The module with 16.0 version as it is, code shouldn't work here. It's just to prevent auto-commit extra pollution in the next commit
[IMP] account_move_line_paymnet: pre-commit auto fixes
# In this commit you should modify all the logic and remove all the unnecessary code. All the subsequent modifications should be "fixup" into this commit
[MIG] account_move_line_paymnet: Migration to 18.0

You can try to "fixup" all the commits that have something like "translation".

Choose a reason for hiding this comment

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

thank you for the feedback I will do

Copy link

@Gelojr Gelojr left a comment

Choose a reason for hiding this comment

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

Congratulations on the great work @RedaKarimi ! The following tests were performed successfully:
Test 1: Verified that the “Overdue” filter in Journal Items correctly lists only receivable lines due today or earlier and not yet matched.
Test 2: Checked that registering a payment from Journal Items reconciles only the selected overdue line and leaves future ones pending.
Test 3: Confirmed that the same behavior applies to payable lines, which are correctly reconciled and disappear from the overdue list after payment.

@rafaelbn
Copy link
Member

Hello @RedaKarimi ,

Thank you for this migration, please could you review comments from @Shide ?

Thank you
Regards,
Rafael

@Shide
Copy link

Shide commented Nov 19, 2025

@RedaKarimi can you apply #892 (comment) changes?

@mmircoli-nexapp
Copy link

@RedaKarimi can you apply #892 (comment) changes?

Hi my collegue is busy in this period, if you want do a PR to our branch or do a super seed for us there is no problem

@Shide
Copy link

Shide commented Dec 4, 2025

Please check out #913 for next reviews

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.