Skip to content

Instantly share code, notes, and snippets.

@gurneyalex
Created October 18, 2021 09:54
Show Gist options
  • Save gurneyalex/2e26a159890338747c0dd54a889b8ed0 to your computer and use it in GitHub Desktop.
Save gurneyalex/2e26a159890338747c0dd54a889b8ed0 to your computer and use it in GitHub Desktop.
odoo issue #62139 - server action to fix inventory theoretical quantities
"""
set model to Inventory, add contextual action
"""
record.line_ids._compute_theoretical_qty()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment