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

Hi,


Let me explain better:

  • Whenever there's a tree inside a form view (like sale.order.lines) the first field is usually the sequence and allows users to reorder the lines by dragging the cross icon.
  • However, on Manufacturing Orders, the trees components and by-products (aka move_raw_ids and move_byproduct_ids) don't have the draggin cross icon.


I've tryed to add the code ≤field name="sequence" widget="handle"/≥ and the results are strange:

  • If the code is added as the first column the widget doesn't show up and the user has to manually type the sequence value
  • If the code is added after the first few columns the widget icon appears, but it's not clickable.


What am I doing wrong? Was my explanation clear?

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

Ok, figured it out.


For future reference: it was the default_order on ≤ tree default_order="is_done,sequence" editable="bottom"

Removing the "is_done" field made things work

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 25
1214
1
ก.ค. 24
1959
1
มี.ค. 24
2241
1
ก.ย. 22
2701
1
เม.ย. 22
2293