Hi, I want to create/register invoice payment by coding on clicking by custom module button not from the "Register Payment" button on Invoice form view or from list view.How can it done by coding?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3870
Views
Hello,
You can achieve this by calling the function for validate in register payment and passing the required arguments in action for your created button.
example for calling function of another model self.env['sale.order'].function_name()
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
6
Feb 24
|
11621 | ||
|
3
Apr 25
|
1086 | ||
|
3
Apr 25
|
1894 | ||
Delete PDF Invoice
Solved
|
|
1
Mar 25
|
1137 | |
|
3
Feb 25
|
4285 |