Skip to content

Commit

Permalink
[16.0][ADD] account_move_line_tree_limit: Change tree view limit in a…
Browse files Browse the repository at this point in the history
…ccount move.
  • Loading branch information
Berezi authored and anajuaristi committed Jan 8, 2025
1 parent 408803b commit 42a0731
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 0 deletions.
28 changes: 28 additions & 0 deletions account_move_line_tree_limit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

============================
Account Move Line Tree Limit
============================

Change account move line tree limit in accoun move view.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/odoo-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Contributors
------------

* Berezi Amubieta <[email protected]>
* Ana Juaristi <[email protected]>
Empty file.
18 changes: 18 additions & 0 deletions account_move_line_tree_limit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2025 Berezi Amubieta - AvanzOSC
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account Move Line Tree Limit",
"version": "16.0.1.0.0",
"category": "Accounting & Finance",
"license": "AGPL-3",
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/odoo-addons",
"depends": [
"account",
],
"data": [
"views/account_move_view.xml",
],
"installable": True,
}
12 changes: 12 additions & 0 deletions account_move_line_tree_limit/views/account_move_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_move_form" model="ir.ui.view">
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='line_ids']//tree" position="attributes">
<attribute name="limit">120</attribute>
</xpath>
</field>
</record>
</odoo>
6 changes: 6 additions & 0 deletions setup/account_move_line_tree_limit/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 42a0731

Please sign in to comment.