Skip to Content
Menú
This question has been flagged
1 Respondre
5844 Vistes

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
Descartar
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
Descartar
Autor

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.

Autor

@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 ?

Autor

@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 Respostes Vistes Activitat
3
de juny 16
4778
1
de maig 23
5345
0
de gen. 21
2440
5
de jul. 19
4922
2
de nov. 17
11761