This question has been flagged

Hi all,

I have added new field voucher_id many2one with account.voucher in hr.expense.expense, i have create 3 Purchase Reciept,

'voucher_id': fields.many2one('account.voucher', "Employee's Receipt"),

<field name="voucher_id" context="{'form_view_ref': 'account_voucher.view_purchase_receipt_form'}"/>

My problem is it show me the total of reciept in drop down list but i want the Purchase Reciept number so how can i set Name in drop down list

and It show me Journal Voucher form not Purchase Reciept why ?? image description

Thanks

Avatar
Discard