Skip to content
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

[13.0][FIX] stock_location_last_inventory_date #1238

Merged
merged 1 commit into from Sep 22, 2021

Conversation

TDu
Copy link
Member

@TDu TDu commented Sep 8, 2021

The prevoius implementation was only taking into account the last inventory
specific to the location.
This change includes also inventories done on parents location.

Also display the computed last inventory date in the form view.

Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squash required

@sebalix
Copy link
Contributor

sebalix commented Sep 13, 2021

Runbot is failing with

Traceback (most recent call last):
  File "/home/odoo/odoo-13.0/odoo/service/server.py", line 1192, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "/home/odoo/odoo-13.0/odoo/modules/registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/odoo/odoo-13.0/odoo/modules/loading.py", line 428, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/home/odoo/odoo-13.0/odoo/modules/loading.py", line 315, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/home/odoo/odoo-13.0/odoo/modules/loading.py", line 191, in load_module_graph
    model_names = registry.load(cr, package)
  File "/home/odoo/odoo-13.0/odoo/modules/registry.py", line 222, in load
    model = cls._build_model(self, cr)
  File "/home/odoo/odoo-13.0/odoo/models.py", line 542, in _build_model
    raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'product.qty_by_packaging.mixin' does not exist in registry.

Can you check?

@dreispt
Copy link
Sponsor Member

dreispt commented Sep 21, 2021

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 13.0-ocabot-merge-pr-1238-by-dreispt-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Sep 21, 2021
Signed-off-by dreispt
@OCA-git-bot
Copy link
Contributor

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-1238-by-dreispt-bump-minor.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

The prevoius implementation was only taking into account the last inventory
specific to the location.
This change includes also inventories done on parents location.

Also display the computed last inventory date in the form view.
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@simahawk
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 13.0-ocabot-merge-pr-1238-by-simahawk-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a4b6d33 into OCA:13.0 Sep 22, 2021
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 0a2ff27. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants