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

Hi,

I switched Odoo 17 to developer mode

We have the following report: Inventory \ Reporting \ Moves History 


I need to include two columns here:

- public.stock_move_line.id 

- public.stock_move_line.move_id


Ok. using the "Dev Menu -> View Fields", I took note of those fields:

- id 

- move_id (related model: stock_move)


Ok, after this I opeend "Dev Menu -> Edit View: list"

- into the script, I added the following tags



- save

- execute the reporting again


Results:

- the column "ID" shows the integer value literally, as it is in the "public.stock_move_line table"

- however, the column "Move_ID" doesn't show the integer value literally from the "public.stock_move_line.move_id": instead of show for example 60,61 62,63, it shows concactened values such "Product_id: Origin > Destiny"



Instead, I would like to see it below:

Thus I can track the record on database if I need 


How to solve it into the report script?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 20
3711
1
thg 3 23
30181
1
thg 11 20
4509
1
thg 10 18
8627
0
thg 5 18
2754