|
|
@ -6,9 +6,9 @@ |
|
|
|
Account Entries Report Hooks |
|
|
|
=============================== |
|
|
|
|
|
|
|
This module extends the functionality of account.entries.report module |
|
|
|
which intends to override it in order to support and allow you to extend |
|
|
|
it by other modules that want to add or change the standard behaviour. |
|
|
|
This model extends the functionality of the "Account Entries Report" |
|
|
|
by overriding the standard query with a new one that will allow other |
|
|
|
modules to extend more flexibly. |
|
|
|
|
|
|
|
Installation |
|
|
|
============ |
|
|
@ -18,14 +18,19 @@ No external library is used. |
|
|
|
Configuration |
|
|
|
============= |
|
|
|
|
|
|
|
To configure this module, you need to: |
|
|
|
In order to extend the Account Entries Report, you need to: |
|
|
|
- Include this module as dependency in your own module |
|
|
|
- Inherit from "account.entries.report" module |
|
|
|
- Add your own fields, as needed |
|
|
|
- Implement one of the new methods _select, _from, _where, _group_by, calling |
|
|
|
first to the super() method and then adding the extra string as needed. |
|
|
|
|
|
|
|
Usage |
|
|
|
===== |
|
|
|
|
|
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
|
:alt: Try me on Runbot |
|
|
|
:target: https://runbot.odoo-community.org/runbot/91/9.0 |
|
|
|
:target: https://runbot.odoo-community.org/runbot/91/8.0 |
|
|
|
|
|
|
|
Bug Tracker |
|
|
|
=========== |
|
|
@ -37,7 +42,7 @@ help us smashing it by providing a detailed and welcomed `feedback |
|
|
|
<https://github.com/OCA/ |
|
|
|
91/issues/new?body=module:%20 |
|
|
|
account_entries_report_hooks%0Aversion:%20 |
|
|
|
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|
|
|
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|
|
|
|
|
|
|
Credits |
|
|
|
======= |
|
|
|