Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
9945 Lượt xem

As stated above, the field "Title" of a contact (where you can choose Mr., Mrs., etc.) is restricted to users of the groep "base.group_no_one". (Which is the ID of the Technical Features group.)

Code of this field:

<field name="title" domain="[('domain', '=', 'contact')]" groups="base.group_no_one" options="{"no_open": True}" attrs="{'invisible': [('is_company','=', True)]}"/>

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Where are you finding this?

None the 29 standard form views or 7 standard tree views in OpenERP have this restriction.

It makes no sense (as you are probably suggesting in your post).

I am wondering if a custom module added it, or a power user did, or you are using an older build which had this in by mistake (but I didn't see a bug report for it).

Ảnh đại diện
Huỷ bỏ
Tác giả

Module Sales > Customer, then click on a customer (which is not marked as company).

Tác giả

I updated on 4-4-2013 with bzr update and started openerp-server with option “--update=all", should be allright.

Tác giả

Only thing else installed what can be the cause, is a module to split the name into lastname and firstname: Partner first name, last name, https://code.launchpad.net/~partner-contact-core-editors/partner-contact-management/7.0

Câu trả lời hay nhất

You can both set and create titles in the contact form as a non-technical user. What is hidden from users that are not in the Technical Features Group is the menu option Sales > Configuration > Address Book > Contact Titles (along with all the other menu options under Configuration).

I haven't yet grepped through the code to search for the XML you included. Are you sure that belongs to the contacts form and not something else?

Ảnh đại diện
Huỷ bỏ
Tác giả

Yes, 100% sure. It makes no sense to me also.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
4581
0
thg 12 24
9706
3
thg 9 24
21991
5
thg 12 24
53415
4
thg 7 24
10836