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

Hi

I successfully retrieve the customer_Invoice and Supplier_Invoice from the account.Invoice table in Odoo

but how do i separately retrieve both invoice ?

i know the 'type' field are available for that but i just want to know it's value of that fields

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

invoice types are 4 values :

+ for customers :

out_invoice for invoices, out_refund for credit notes

+ for suppliers :

in_invoice for invoices, in_refund for credit notes

see field type = fields.Selection,(...) here line 234 :

https://github.com/odoo/odoo/blob/11.0/addons/account/models/account_invoice.py

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 15
3530
2
ส.ค. 25
1938
Remove link from offer and invoice email แก้ไขแล้ว
2
พ.ย. 24
2608
1
ต.ค. 24
1565
2
เม.ย. 24
1834