Is there a method in odoo Online to create an invoice from an action?
신고된 질문입니다
1
회신
6977
화면
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
|
4165 | ||
|
|
1
11월 22
|
5152 | ||
|
|
1
11월 22
|
5283 | ||
|
|
1
9월 20
|
5235 | ||
|
|
1
7월 20
|
6472 |