Comments (8)
Use read_group
for computing them. Your colleague @mreficent made something similar in contracts.
from account-analytic.
Ok thanks, @mreficent can you point me to that change? I could not find it in contracts.
from account-analytic.
OCA/contract@402370f#diff-3dc0d52ea9449a93459ef5b7fc36a060R19
from account-analytic.
Thanks @mreficent
from account-analytic.
Cannot group_by non stored fields. And read group does not return the values that are not in the group_by. I'll go for a query instead.
edit:I can read_group the analytic lines but that would be duplicating the core method
from account-analytic.
@aheficent this has nothing to do with stored/non stored. Please use read_group
properly.
from account-analytic.
Do you mean to read_group in the analytic lines and not call super instead?
update: I think I got it...
from account-analytic.
Well, you limit the read_group in the domain to the self.ids
scope.
from account-analytic.
Related Issues (20)
- Feature request HOT 2
- Migration to version 15.0 HOT 14
- account_analytic_required: policy by account.account HOT 3
- _io.BufferedReader' object has no attribute 'decode' HOT 2
- [14.0] mrp_analytic_sale_project does not work HOT 1
- Discussion on mrp_analytic migration to 15.0 HOT 1
- [13.0/14.0] stock_inventory_analytic: In stock inventory line tree view the group for "analytic_tag_ids" should be "group_analytic_tags". HOT 1
- Migration to version 16.0 HOT 7
- [14.0] account_analytic_tag_default overwrites existing analytic tags when updating account move line
- How the OCA will deal with the disappearance of analytic tags HOT 24
- We need stock_analytic creates account analytic lines HOT 1
- purchase_analytic conflict with project HOT 6
- Feature request / user configuration HOT 4
- stock_analytics module not passing the analytical account in the product's valuation account HOT 2
- account_analytic_parent: add parent_id to view_account_analytic_account_list
- Autocomplete analytical account in delivery orders, inventory module, odoo 16 community HOT 1
- [16.0] purchase_analytic: Throws error when users don't belong to Technical/Analytic Accounting HOT 3
- account_payment_terms should add analytic lines HOT 1
- account-analytic-16.0-stock_analytic seems locked HOT 2
- Migration to version 17.0 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from account-analytic.