Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
11306 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 20
6748
1
มิ.ย. 23
2231
1
มิ.ย. 22
2567
ERROR: Field does not exist แก้ไขแล้ว
2
ส.ค. 20
8990
1
พ.ย. 19
5608