i have a table coa_ledgers (id, name, ledger_acc etc.)
for my banks i want to have a field ledger_acc which should type of Many2one to select from coa_ledgers and return the value of field ledger_acc instead of id
how i can achieve this, can i mention field name to be return then How To or something else?
please help.
ledger_acc = fields.Many2one('coa_ledgers', string='Ledger A/c')
regards