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

For example in CRM module the fields of Company Address of Customers are:

  • Street...

  • Street 2

  • City

  • State

  • ZIP

  • Country

But I want to add a text field before the Street... field. So whenever I generate a quotation in Sales module, the customer's address will also display my custom field inside the address object.

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

Hi Renz:

You will need to do 3 things:

  1. Add the custom field to the res.partner model

  2. Add the custom field to the Contacts form view

  3. Add the custom field to the Quotation/Sales Order report view

You may want to go through the following tutorial which is a part of the Odoo documentation if you are new to Odoo customization.

Building a module

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 20
6744
1
thg 6 23
2197
1
thg 6 22
2523
2
thg 8 20
8978
1
thg 11 19
5548