Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4033 Переглядів

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
3543
2
серп. 25
1990
2
лист. 24
2637
1
жовт. 24
1582
2
квіт. 24
1854