onChange event to create lines on account move

Asked by MCL

I have a field amount on the Journal Entries (account move form) and I need to define an onChange event which automatically inserts the lines once I fill in the amount. But I am not sure how.

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

Hello Leal MCarmo,

You can follow the example of onchange of partner_id inside account_voucher module.

Hope this helps.

Regards,
Serpent Consulting Services.

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

Hello Leal MCarmo,

Any updates over this?

Thanks.

Can you help with this problem?

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

To post a message you must log in.