Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2905 Visualizações

After adding an an in line text and inline field, it shows as:


Inline Text Inline Field


How do I add a line break so that it shows as:


Inline Text
Inline Field


Thank you

Avatar
Cancelar
Autor

Hi Altela,


Thank you so much for the detailed response. It solved my issue.

Glad it worked well for you Ed!

Melhor resposta

Hi,

Before entering Odoo studio, first you need to activate debug mode.

After that, open your Odoo studio and then open up your report layout. Assuming that you already drag and drop your inline text and inline field inside your report layout, you need to focus on the next step

On the left panel of your screen, there will be "Add", "Report", "Options" like this. Please select Report, and select XML. The XML button will not showing if you are not activating the debug mode in the first step. Make sure you do.

After that, in the dropdown list go find the odoo customization xml file like this picture below

After that, you might see your inline text and inline field were splitted with different XPATH like this

The next step you just have to move one of them to a single XPATH. the "New Text Block" is a new single line you previously added, same goes with the t-field one. After moving one of it to single XPATH, you can add < br / > to add a line. You can see it in the picture below.



Thanks & regards

Altela (altelasoftware.com)

Avatar
Cancelar