Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5946 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
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 Răspunsuri Vizualizări Activitate
3
iun. 16
4916
2
sept. 25
318
1
mai 23
5471
0
ian. 21
2568
5
iul. 19
5060