Is there a method in odoo Online to create an invoice from an action?
この質問にフラグが付けられました
1
返信
6975
ビュー
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
|
4164 | ||
|
|
1
11月 22
|
5152 | ||
|
|
1
11月 22
|
5282 | ||
|
|
1
9月 20
|
5235 | ||
|
|
1
7月 20
|
6472 |