[IMP] stock_release_channel_process_end_time: pre-commit issue#21
Open
anothingguy wants to merge 10 commits intoacsone:16.0-release_channel_date-drofrom
Open
[IMP] stock_release_channel_process_end_time: pre-commit issue#21anothingguy wants to merge 10 commits intoacsone:16.0-release_channel_date-drofrom
anothingguy wants to merge 10 commits intoacsone:16.0-release_channel_date-drofrom
Conversation
As time should be timezoned to correctly compute the real end date, consider the channel warehouse timezone or company one. If not defined, consider the timezone as UTC.
… seconds and microseconds
…fined before assignation to scheduled_date
…utation The compute of releasable picking must take into account the process end date of the stock release channel and not the current datetime. The way the ORM is working into Odoo prevent to makes query on model with criteria based on values from linked model (comparing column from model A to column of model B). To work arround this limitation, we use a specialized field with a search method. Field's search methods are considered as 'internal' search methods and therefore allows you to use a special 'inselect' operator. This kind operator is usefull since it allows to express a criteria as a plain SQL quey. Thanks to this approach we've an easy way to implement our needs with the Odoo's ORM.
…e_tz Co-authored-by: Jacques-Etienne Baudoux <je@bcim.be>
049175d to
ac5d844
Compare
ac5d844 to
11372d0
Compare
This file contains hidden or 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
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.
No description provided.