Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5038 Näkymät

In odoo we have 2 reports customer invoices and supplier invoices both have same object account.invoice but we differeintate with type field like in_invoice and out_invoice.

Now i have created one report for customer invoice but it shows in both objects view its a default functionality but i want to change in that like this print can be view only in customer invoice objects view not in supplier invoice.

Avatar
Hylkää
Paras vastaus

Hello Kamlesh,

You can remove that from fields_view_get. You will get default_type in context and based on that you can remove it.

Thanks,

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
marrask. 20
6578
3
elok. 19
9104
1
jouluk. 24
1736
1
marrask. 24
1478
0
syysk. 24
1062