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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4073
查看
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()
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
6
2月 24
|
11886 | ||
|
1
7月 25
|
324 | ||
|
2
7月 25
|
516 | ||
|
1
7月 25
|
1561 | ||
|
3
4月 25
|
1645 |