Call account.invoice from account.invoice.line

Asked by Joe B

Hi
How do I call account.invoice from account.invoice.line?
I want to set account.invoice.line.price_unit to account.invoice. price_subtotal.

Thanks,
Joe

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Joe,

Invoice Line model has the field invoice_id and that will be your invoice!

Thanks.

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#2

Joe,

Did you get this resolved?

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Joe B for more information if necessary.

To post a message you must log in.