跳至内容
菜单
此问题已终结
1 回复
6478 查看

I need to add a new kind of partner with label "creditor" moreover than existing ones "client" and "suppliers". Is that possible? I will be very grateful with any dummy explanation. Thank you in advance.

形象
丢弃

Do you know how to create an openerp module?

编写者

Perfect answer. Thank you S@@D.

最佳答案

I will show you how to add this field using the UI

Step1: Activate the Technical Features
Activate the Technical Features

Step2: Adding field in the model
Go to Settings/Technical/Database Structure/Fields and add the field as it's shown in the picture
image description

Step3: Adding field in the view
Go to Settings/Technical/User Interface/Views and use the search-view to find the res.partner.form record.
image description

Then, edit this record, go on the Architecture tab and add the line: <field name="x_creditor"/> after the supplier field.
image description
Save the modification and go to customers/suppliers form to verify if the field was added.

形象
丢弃
相关帖文 回复 查看 活动
1
11月 22
4474
1
6月 17
12588
1
3月 15
3744
3
3月 15
12952
2
3月 15
7438