コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5069 ビュー

Is there a method in odoo Online to create an invoice from an action?

アバター
破棄
最善の回答

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
2218
1
11月 22
3377
1
11月 22
3207
1
9月 20
3539
1
7月 20
4823