-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] mrp_stock_analytic: add analytic to new raw lines #687
Open
aisopuro
wants to merge
13
commits into
OCA:17.0
Choose a base branch
from
avoinsystems:mrp_stock_analytic_set_analytics_on_new_raw_lines
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[FEAT] mrp_stock_analytic: add analytic to new raw lines #687
aisopuro
wants to merge
13
commits into
OCA:17.0
from
avoinsystems:mrp_stock_analytic_set_analytics_on_new_raw_lines
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Needed to also rename method starting with double-underscrore to avoid Python method name mangling.
Currently translated at 100.0% (4 of 4 strings) Translation: account-analytic-16.0/account-analytic-16.0-mrp_stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-mrp_stock_analytic/it/
* analytic_distribution is constrained to be valid on the MO, so we don't need to validate on confirmation * The `states`-attribute on ORM-fields is deprecated, and should be moved to views * mrp_account adds the distribution to the views we want, so we can just add attributes instead of re-adding the field
Switched to using shared base class instead
mrp recently added additional things into the context in a way that broke the test. It was over-engineered anyway, we can make do with a simpler approach.
Also add analytic distribution when manually adding raw lines to an MO with an analytic distribution set.
aisopuro
force-pushed
the
mrp_stock_analytic_set_analytics_on_new_raw_lines
branch
from
September 5, 2024 16:04
fb0c8e6
to
88e2b33
Compare
aisopuro
added a commit
to avoinsystems/account-analytic
that referenced
this pull request
Sep 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on:
Built on top of the dependent PR, only the last commit is actually different.