1a1d816c7b
Under some legislations, account moves must follow a single sequence. Since Odoo removed this sequence number in recent versions, this information was lost. With this module, you can force your account moves to follow a separate sequence. The sequence is automatic when a move is posted. Includes a wizard to reorder those numbers in the sequence. @moduon MT-676
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- Copyright 2022 Moduon
|
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->
|
|
<data>
|
|
|
|
<record id="view_move_line_tree" model="ir.ui.view">
|
|
<field name="name">Add move number to tree</field>
|
|
<field name="model">account.move.line</field>
|
|
<field name="inherit_id" ref="account.view_move_line_tree" />
|
|
<field name="arch" type="xml">
|
|
<field name="move_id" position="after">
|
|
<field name="entry_number" optional="hide" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_move_line_form" model="ir.ui.view">
|
|
<field name="name">Add move number to form</field>
|
|
<field name="model">account.move.line</field>
|
|
<field name="inherit_id" ref="account.view_move_line_form" />
|
|
<field name="arch" type="xml">
|
|
<field name="move_id" position="after">
|
|
<field name="entry_number" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_account_move_line_filter" model="ir.ui.view">
|
|
<field name="name">Add move number to search</field>
|
|
<field name="model">account.move.line</field>
|
|
<field name="inherit_id" ref="account.view_account_move_line_filter" />
|
|
<field name="arch" type="xml">
|
|
<field name="move_id" position="after">
|
|
<field name="entry_number" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|