Skip to content

Conversation

@KKamaa
Copy link

@KKamaa KKamaa commented Dec 17, 2025

Description of the issue/feature this PR addresses:
This is a ported fix from
petrus-v fix for v14.0
for Odoo v18.0.
While changing information on invoice line, the related membership line is not updated.

This is done as part of OCA Internal Working Group: task 871862

Current behavior before PR:

create 2 membership products
create an invoice with one membership product and save the draft invoice
(you can see the mebership line is already created with proper information)
go back to the invoice and use the other product
💥 member ship line is not updated
(So, this also happen while duplicating an invoice from previous year changing the membership product.)

Desired behavior after PR is merged:

The member ship line is updated with fresh informations changed on the invoice:

price
start /end date (used to compute the membership state)
...

@KKamaa KKamaa marked this pull request as draft December 17, 2025 13:54
@KKamaa KKamaa force-pushed the 18.0-12910-membership-hook branch from 8eab405 to 084e0f6 Compare December 17, 2025 14:07
@KKamaa
Copy link
Author

KKamaa commented Dec 17, 2025

@thomaspaulb ported the v14.0 fix

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.

1 participant