Commit Graph

9 Commits

Author SHA1 Message Date
Jacques-Etienne Baudoux
235e26a5d8 stock_location_package_restriction: fix location creation 2024-06-14 13:18:53 +02:00
Jacques-Etienne Baudoux
ae595b0798 [MIG] stock_location_package_restriction: Migration to 16.0 2024-06-11 15:15:39 +02:00
Jacques-Etienne Baudoux
b16ffba0ce stock_location_package_restriction: violation message 2024-06-11 15:15:39 +02:00
Jacques-Etienne Baudoux
f2712ab21d stock_location_package_restriction: show violations
Show and search locations that does not respect the restriction.
2024-06-11 13:06:56 +02:00
Jacques-Etienne Baudoux
8bb53050df stock_location_package_restriction: add nopackage
Allow to configure that you don't want a package on the location.
Refactor code.
2024-06-11 13:06:56 +02:00
Thierry Ducrest
fa5be1ab73 Add check options on stock_location_package_restriction 2024-06-11 13:04:31 +02:00
Thierry Ducrest
17fc5c4306 Fix stock_location_package_restriction for backorder
Only check the restriction for moves actually being done.
2024-06-11 13:04:31 +02:00
Thierry Ducrest
a305a76725 s_l_package_restriction: Change no restriction value
The required constraint on the field was causing conflict with other
module when running the tests.

So instead of having a specific value the default no restriction
behaviour, a falsy value is used.
2024-06-11 13:04:31 +02:00
Jacques-Etienne Baudoux
ffcc5ebf39 [ADD] stock_location_package_restriction 2024-06-11 13:04:31 +02:00