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.
What do you want, Please explain more?