Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5855 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
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.

Powiązane posty Odpowiedzi Widoki Czynność
3
cze 16
4795
1
maj 23
5357
0
sty 21
2482
5
lip 19
4974
2
lis 17
11774