[IMP] account : show newest statement lines first when opening bank journal

When opening all the statement lines from a bank journal, the default sequence was used. We change that for a more user-friendly ordering.

closes odoo/odoo#62768

X-original-commit: 36d2e7d497e30142de989020e7653cb2d7c2d3af
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
This commit is contained in:
Florent de Labarre
2020-12-02 17:49:01 +00:00
committed by oco-odoo
parent d9d187d160
commit 3fda293989
@@ -326,7 +326,7 @@
<field name="model">account.bank.statement.line</field>
<field name="priority">8</field>
<field name="arch" type="xml">
<tree string="Statement lines" create="false">
<tree string="Statement lines" create="false" default_order="date desc, statement_id desc, sequence desc, id desc">
<!-- Invisible fields -->
<field name="state" invisible="1"/>
<field name="sequence" readonly="1" invisible="1"/>