Skip to Content
Menu
This question has been flagged
2 Replies
1735 Views

Hello, I am a new programmer to odoo and in my search i didn't find an answer to my problem.


def leave_filter_act(self):
print("Hello Odooo")

return {

'name': _("Partner Report"),
'type': 'ir.actions.act_window',
'res_model': 'account.report.standard.ledger',
'view_type': 'form',
'view_mode': 'form',
'target': 'current',
}

I return that field to XML.

ledger_type = fields.Selection(
[('partner', 'Partner Ledger'),],
string='Type', default='partner', required=True,
help=' * Partner Ledger : Journal entries group by account\n')

How is it possible.
Avatar
Discard

What do you want, Please explain more?

Author Best Answer

 @Muhammad Younis thanks my problem will solved.


Avatar
Discard