Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
292 Weergaven

Hi,

When creating a journal entry in Odoo 18, I can’t see more than 40 lines at once. Is there a way to increase the number of visible lines in the entry form?

Thanks!

Avatar
Annuleer

Sergio, jr related to ?

Beste antwoord

Hi,

 You can inherit account.view_move_form and set limit on list tag

<list editable="bottom" string="Journal Items" decoration-muted="display_type in ('line_section', 'line_note')" default_order="sequence, id" limit="your_limit">

Avatar
Annuleer
Beste antwoord

Hi,


1- If the lines contains more than 40 lines, it will show as the next page. To load full entries just click on the '1-40' area .


2- Edit the number as '1-112/112' and like that.

Or trying to change the tree view limit in the code.


Try to inherit the invoice line view and change the attribute 'limit'.

Eg :<list string="Sales Order Lines" editable="bottom" decoration-info="(not display_type and invoice_status == 'to invoice')"  limit="100">


Hope it helps.

Avatar
Annuleer
Beste antwoord

Hi,

You can activate developer mode and go to Settings > Technical > Actions - Window Actions ans select the corresponding window of the list view.

In the form view under the 'General Settings' tab, in the section 'Filters' you can find the field 'Limit'. Edit this field and change the value from 80 to the required number.

Or you can define the value of the field definition of limiting while or overriding the window action in XML as:


<record id="account.action_move_journal_line" model="ir.actions.act_window">
<field name="limit">100</field>
</record>


Avatar
Annuleer