Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3236 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 15
2872
1
led 25
813
2
lis 24
1426
1
říj 24
834
2
dub 24
945