Advertisement
rht_odoo

[QW][3959142] amount left to invoice PO

Jun 11th, 2024 (edited)
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #Done by RHT on the 30/05/2024
  2. #Reviewed by EMI on the 11/06/2024
  3. #Review: https://pastebin.com/J3PuStxr
  4. #911 task: https://www.odoo.com/odoo/project/5686/tasks/3959142?cids=1
  5. #Need: Need to know what is the remaining amount to be billed on a PO
  6. for po in self:
  7. po["x_studio_remaining_amount_to_invoice"] = po.amount_total + sum(inv.amount_total_signed for inv in po.invoice_ids)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement