Is there a method in odoo Online to create an invoice from an action?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
1
回复
5890
查看
Hello,
I don't really know the purpose but if you want to create an empty customer invoice.
In python you can do a method like:
def create_empty_invoice(self):
self.env['account.move'].create({'move_type': 'out_invoice'})
Then you can add a button in form view for example calling the method
Hope it will help you
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
3月 23
|
3130 | ||
|
|
1
11月 22
|
4254 | ||
|
|
1
11月 22
|
4216 | ||
|
|
1
9月 20
|
4310 | ||
|
|
1
7月 20
|
5613 |