Giter Site home page Giter Site logo

oca / mis-builder-contrib Goto Github PK

View Code? Open in Web Editor NEW
8.0 29.0 40.0 168 KB

Modules that provide additional features on top of MIS Builder. A kind of incubator for MIS Builder features that may land in the core in the future.

License: GNU Affero General Public License v3.0

Python 15.20% HTML 84.80%
erp hacktoberfest odoo

mis-builder-contrib's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

mis-builder-contrib

TODO: add repo description.

Available addons

addon version maintainers summary
mis_builder_budget_product 16.0.1.0.0 Offer more options for budgets for MIS reports
mis_builder_total_committed_purchase 16.0.1.0.0 Addon to create a alternative source based on all purchase order line with MIS Builder.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

mis-builder-contrib's People

Contributors

camille0907 avatar dzungtran89 avatar mymage avatar oca-git-bot avatar pedrobaeza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mis-builder-contrib's Issues

Invalid field error for 'analytic_account_id'

Module

mis-builder-analytic

Describe the bug

After following the usage instructions and setting 'Actuals (alternative)' on the 'Source' field, 'MIS Account Analytic Line' on the 'Move lines source' field, and setting an analytic filer, either on a column or the report as a whole, I get the following error after clicking preview:

Traceback (most recent call last):
File "/home/odoo/odoo-server/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/odoo-server/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/odoo/odoo-server/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/odoo-server/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/odoo-server/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/odoo-server/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/home/odoo/odoo-server/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/home/odoo/odoo-server/addons/web/controllers/main.py", line 935, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo/odoo-server/addons/web/controllers/main.py", line 927, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/odoo-server/odoo/api.py", line 699, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/home/odoo/odoo-server/odoo/api.py", line 690, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/thirdparty/addons/mis_builder/models/mis_report_instance.py", line 817, in compute
kpi_matrix = self._compute_matrix()
File "/home/odoo/thirdparty/addons/mis_builder/models/mis_report_instance.py", line 810, in _compute_matrix
self._add_column(aep, kpi_matrix, period, period.name, description)
File "/home/odoo/thirdparty/addons/mis_builder_budget/models/mis_report_instance.py", line 85, in _add_column
aep, kpi_matrix, period, label, description
File "/home/odoo/thirdparty/addons/mis_builder/models/mis_report_instance.py", line 782, in _add_column
aep, kpi_matrix, period, label, description
File "/home/odoo/thirdparty/addons/mis_builder/models/mis_report_instance.py", line 754, in _add_column_move_lines
no_auto_expand_accounts=self.no_auto_expand_accounts,
File "/home/odoo/thirdparty/addons/mis_builder/models/mis_report.py", line 887, in _declare_and_compute_period
expression_evaluator.aep_do_queries()
File "/home/odoo/thirdparty/addons/mis_builder/models/expression_evaluator.py", line 37, in aep_do_queries
self.aml_model,
File "/home/odoo/thirdparty/addons/mis_builder/models/aep.py", line 353, in do_queries
lazy=False,
File "/home/odoo/odoo-server/odoo/models.py", line 1944, in read_group
result = self._read_group_raw(domain, fields, groupby, offset=offset, limit=limit, orderby=orderby, lazy=lazy)
File "/home/odoo/odoo-server/odoo/models.py", line 1967, in _read_group_raw
query = self._where_calc(domain)
File "/home/odoo/odoo-server/odoo/models.py", line 3643, in _where_calc
e = expression.expression(domain, self)
File "/home/odoo/odoo-server/odoo/osv/expression.py", line 669, in init
self.parse()
File "/home/odoo/odoo-server/odoo/osv/expression.py", line 847, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'analytic_account_id' in leaf "<osv.ExtendedLeaf: ('analytic_account_id', '=', 3519) on mis_account_analytic_line (ctx: )>"

Affected versions:
11.0

Expected behavior
The report to display without errors

Additional context
I'm using account_analytic_parent, account_analytic_distribution, account_analytic_required and account_analytic_distribution_required (all OCA modules) as well. Don't have any other problems using analytic accounting and I use it extensively

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.