Odoo Help


vocher_id many2one field not showing number in drop dwon list it show total

Jagdish Panchal
on 10/18/13, 3:23 AM 789 views

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


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/18/13, 3:23 AM
Seen: 789 times
Last updated: 3/16/15, 8:10 AM