콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5156 화면

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
2324
1
11월 22
3460
1
11월 22
3316
1
9월 20
3611
1
7월 20
4925