Accounting mailing list archives
accounting@odoo-community.org
Browse archives
[8.0] Accounting Entries Report - Extensible by other modules
by
ForgeFlow, S.L., Jordi Ballester Alomar
Dear accounting experts,
We need to extend the account.entries.report to add the Operating Unit as one parameter for analysis.
The report is currently not extensible with respect to the query. We're considering creating a new OCA module "account_entries_report_hooks" that splits the query to something like below shown. Please let me know if you agree on this proposal.
def init(self, cr):
drop_view_if_exists(cr, self._table)
cr.execute("""CREATE or REPLACE VIEW %s as (
%s
%s
%s
%s
)""" % (self._table, self._select(), self._from(), self._where(),
self._group_by()))
Regards,
-- Jordi Ballester Alomar
Founder | Eficent
(+34) 629530707 | jordi.ballester@eficent.com | http://www.eficent.com
Twitter: https://twitter.com/jbeficent_erp | Linkedin: https://www.linkedin.com/in/jordiballesteralomar
Follow-Ups
-
Re: [8.0] Accounting Entries Report - Extensible by other modules
byEska Yazilim, Levent Karakaş -
Re: [8.0] Accounting Entries Report - Extensible by other modules
byCamptocamp SA, Joël Grand Guillaume -
Re: [8.0] Accounting Entries Report - Extensible by other modules
byForgeFlow, S.L., Jordi Ballester Alomar -
Re: [8.0] Accounting Entries Report - Extensible by other modules
byTecnativa. S. L., Pedro M. Baeza