Skip to Content
Menu
This question has been flagged
1 Reply
5839 Views

I guess this is an elementary question, but I could not find its answer.

I am trying to add some fields to the standard form view for customers. I checked the ID of this form, and it seems to be base.view_partner_form. Am I right? The problem is that I am not able to finde the code of this view in my addons path. Anyone know in which module and file is the code of this view?

Thank you in advance.

Avatar
Discard
Best Answer

Hi,

you can find the ID 

base.view_partner_form

Into following path.

addons => base => res => res_partner_view.xml    file.

may be line no. 123 : <record id="view_partner_form" model="ir.ui.view">

I hope you will get this.

Avatar
Discard
Author

Thank you @chirag! Unfortunately, that path does not exist in my host. There are many modules whose names start with "base_", but no one has only "base" as name.

Please find the "view_partner_form" word into your openerp instance and your all addons. You will get one record with this ID.

Author

@chirag I looked for "view_partner_form" and I found several records in views with exactly that ID. For example, in next modules there is a xml file or even more with a record with id="view_partner_form": account_banking_partner_journal_account, account_payment_extension, base_location, base_vat, crm_profiling, membership...

Hi, May I know that when openerp server is started at that time base module is loaded or not ? If base module is not loaded then which module is loaded first ? And if base module is loaded then you have to find the path of that module.

Have you got the solution ?

Author

@chirag No, I did not find that form view, but I only wanted to know it to see its content, which finally I could do from the OpenERP interface.

Related Posts Replies Views Activity
3
Jun 16
4769
1
May 23
5341
0
Jan 21
2425
5
Jul 19
4904
2
Nov 17
11757