Skip to content

[OU-FIX] stock: fill default locations for inactive picking types - #6080

Merged
pedrobaeza merged 1 commit into
OCA:18.0from
PyTech-SRL:stock-picking-type-compute-inactive
Nov 6, 2026
Merged

pedrobaeza merged 1 commit into
OCA:18.0from
PyTech-SRL:stock-picking-type-compute-inactive

Conversation

@HekkiMelody

Copy link
Copy Markdown

Without this fix, stock picking types that are inactive are not included in the computation, leading to the following errors

ERROR ? odoo.schema: Table 'stock_picking_type': unable to set NOT NULL on column 'default_location_src_id'
ERROR ? odoo.schema: Table 'stock_picking_type': unable to set NOT NULL on column 'default_location_dest_id'

@OCA-git-bot OCA-git-bot added mod:openupgrade_scripts Module openupgrade_scripts series:18.0 labels Nov 6, 2026
Without this fix, stock picking types that are inactive
are not included in the computation, leading to the following errors

ERROR ? odoo.schema: Table 'stock_picking_type': unable to set NOT NULL on column 'default_location_src_id'
ERROR ? odoo.schema: Table 'stock_picking_type': unable to set NOT NULL on column 'default_location_dest_id'
@HekkiMelody
HekkiMelody force-pushed the stock-picking-type-compute-inactive branch from 1632201 to abdb635 Compare November 6, 2026 10:05
@pedrobaeza pedrobaeza added this to the 18.0 milestone Nov 6, 2026
@pedrobaeza
pedrobaeza merged commit 9229e2c into OCA:18.0 Nov 6, 2026
5 checks passed
@HekkiMelody

Copy link
Copy Markdown
Author

Thank you @pedrobaeza 🙏

@HekkiMelody
HekkiMelody deleted the stock-picking-type-compute-inactive branch November 6, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:openupgrade_scripts Module openupgrade_scripts series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants