In the account_invoice_view.xml file, the button validate is associated to invoice_open, but I can not find this method on account_invoice.py,
By doing this I want to know how the movement on account.move object is generated. any suggestions ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In the account_invoice_view.xml file, the button validate is associated to invoice_open, but I can not find this method on account_invoice.py,
By doing this I want to know how the movement on account.move object is generated. any suggestions ?
invoice_open is a signal to invoice workflow, see code in account_invoice_workflow.xml. Workflow call methods:
action_date_assign()
action_move_create()
action_number()
invoice_validate()
at this moment
Yes, so there is three kinds of button, object, action, and workflow. The default one is Workflow isn't it ? Thanks.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.