Is there a method in odoo Online to create an invoice from an action?
此問題已被標幟
1
回覆
7026
瀏覽次數
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
|
4216 | ||
|
|
1
11月 22
|
5198 | ||
|
|
1
11月 22
|
5337 | ||
|
|
1
9月 20
|
5262 | ||
|
|
1
7月 20
|
6498 |