Skip to content

[16.0] [IMP] purchase_invoice_plan: manage invoiced order#2571

Open
Borruso wants to merge 1 commit intoOCA:16.0from
Borruso:16.0-imp-purchase_invoice_plan-manage_invoiced_order
Open

[16.0] [IMP] purchase_invoice_plan: manage invoiced order#2571
Borruso wants to merge 1 commit intoOCA:16.0from
Borruso:16.0-imp-purchase_invoice_plan-manage_invoiced_order

Conversation

@Borruso
Copy link
Copy Markdown
Contributor

@Borruso Borruso commented Feb 17, 2025

No description provided.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @kittiu,
some modules you are maintaining are being modified, check this out!

plans = super().create(vals_list)
for line in plans.mapped("purchase_id.order_line"):
line.qty_invoiced_before_plan = line.qty_invoiced
plans._compute_amount()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not fond of these two lines

@Borruso Borruso force-pushed the 16.0-imp-purchase_invoice_plan-manage_invoiced_order branch from d202294 to dc60109 Compare June 27, 2025 08:32
@Borruso Borruso requested a review from rousseldenis June 27, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants