Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5841 Vistas

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
Mejor respuesta

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.

Publicaciones relacionadas Respuestas Vistas Actividad
3
jun 16
4771
1
may 23
5342
0
ene 21
2431
5
jul 19
4906
2
nov 17
11757