Accounting mailing list archives
accounting@odoo-community.org
Browse archives
Re: [8.0] Accounting Entries Report - Extensible by other modules
[8.0] Accounting Entries Report - Extensible by other modules
Re: [8.0] Accounting Entries Report - Extensible by other modules
by
Tecnativa. S. L., Pedro M. Baeza
It seems reasonable to me, but I will try to propose to Odoo first as a PR. It's not a functional change, but I'm afraid they're going to only accept it for v9. I have made the same with mrp with the module https://github.com/OCA/manufacture/tree/8.0/mrp_hook, because Odoo accepts it on v9, but not on v8. This way, the module will be removed on v9, and the extension module is compatible directly in v9 just removing the dependency.
Regards.2016-01-27 11:08 GMT+01:00 Jordi Ballester Alomar <jordi.ballester@eficent.com>:
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 AlomarFounder | EficentTwitter: https://twitter.com/jbeficent_erp | Linkedin: https://www.linkedin.com/in/jordiballesteralomar_______________________________________________
Mailing-List: http://odoo-community.org/groups/accounting-28
Post to: mailto:accounting@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
[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
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
-