跳至内容
菜单
此问题已终结
1 回复
3223 查看

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

形象
丢弃
相关帖文 回复 查看 活动
0
10月 15
2864
1
1月 25
799
2
11月 24
1411
1
10月 24
807
2
4月 24
938