Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1195 Visualizzazioni

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?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 20
3712
1
mar 23
30183
1
nov 20
4509
1
ott 18
8631
0
mag 18
2754