I am copy/pasting this unanswered post from 2021:
"after creating a new test warehouse, couldn't delete the record with the following message popping up:
The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead.
Model: Stock Rule (stock.rule), Constraint: stock_rule_picking_type_id_fkey
Note: this a freshly created test warehouse with no record."
I am having the exact same issue, just created a test warehouse, did nothing else than trying to delete it and this message pops up. I am using odoo v16. How can we get clear of that constraint?
Thanks!