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

How to add a field from SO to invoice ? 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

1. Create a new field in sale.order (x_studio_agd1)

2. Create a new field in sale.order.line (x_studio_agd2) --> more --> related field (order_id.x_studio_agd1)

3. Create a new field in account.move.line (x_studio_agd3) --> more --> related field (sale_line_ids.x_studio_agd2)

4. Create a new field in account.move (x_studio_agd4) --> more --> related field (invoice_line_ids.x_studio.agd3)

Video: https://www.awesomescreenshot.com/video/3764019?key=2d48d3a84d58a502940ec4ee3f7cb173

อวตาร
ละทิ้ง

As sale_line_ids is a many2many field, there is a chance for singleton error when there is multiple records with the above code

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 25
191
2
ก.ค. 25
438
1
ก.ค. 25
615
2
ก.ค. 25
679
2
มิ.ย. 25
863