Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3986 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
oct. 15
3497
2
août 25
1857
2
nov. 24
2542
1
oct. 24
1517
2
avr. 24
1807