This question has been flagged
2 Replies
3128 Views

I just want to know, what method is triggered when the pay button is clicked when paying customer/supplier invoce, and creates journal items/entry. Thanks in advance :D

Avatar
Discard
Best Answer

You can find the method in the module account_voucher in the file account_voucher.py with the method "action_move_line_create" you create accoun.move and "voucher_move_line_create" you create account.move.line for every pay

Best regards

Avatar
Discard
Best Answer

Turn on the developer mode so you can see the attributes of the item that you are pointing to .. to do this..

go to the upper right corner of your screen,

you can see the logged in name. you can see a drop down button there click it.

Logged-in Name> About Odoo

A new window will appear,

Click Activate Developer Mode.

Avatar
Discard