Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5057 มุมมอง

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


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 23
2202
1
พ.ย. 22
3369
Create invoice via xmlrpc แก้ไขแล้ว
1
พ.ย. 22
3185
1
ก.ย. 20
3518
1
ก.ค. 20
4815