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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
4064
ビュー
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
|
11882 | ||
|
1
7月 25
|
280 | ||
|
2
7月 25
|
481 | ||
|
1
7月 25
|
1532 | ||
|
3
4月 25
|
1616 |