Commit Graph
15 Commits
Author SHA1 Message Date
Cédric Krier 8550300972 Set the default locations for stock move when production is set
Closes #14665
2026-03-10 14:54:48 +01:00
Cédric Krier c823ca38a9 Use only production inputs or outputs for lot trace
The production moves can not have any other traces than their sibling moves.

Closes #14385
2026-01-07 08:29:45 +01:00
Cédric Krier dbb0abe49a Include origin name in stock move record name
Closes #14359
2025-11-14 09:05:02 +01:00
Cédric Krier efaccdb81b Allow to update production cost price updated of stock move in a closed period
The update of a production cost can happen when the input moves are in a closed
period.

Closes #13944
2025-03-26 23:58:06 +01:00
Cédric Krier c5aadfb64a Clear currency on output move of production to lost and found 2025-04-05 19:43:09 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier a6ba7caead Enforce empty value for input and output production on stock move with id
The domain for Many2One is based on the target not the field value.

Closes #13721
2024-12-01 18:38:35 +01:00
Cédric Krier 6e3817ba05 Add equivalent domain of SQL constraints
When possible we should also add a domain so the client can provide better
feedback to the user.

Closes #9432
2024-10-27 16:20:45 +01:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Sergi Almacellas Abellana 47392d8a04 Compute lot trace document using sql expression 2024-07-22 12:24:34 +02:00
Cédric Krier ac75f5f371 Add searcher to production of stock move 2024-05-27 23:45:48 +02:00
Cédric Krier 51360ee110 Fill currency when creating output move of production
Closes #12360
2024-03-16 21:00:21 +01:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier eae906615b Prepare migration to monorepo 2022-12-16 17:29:25 +01:00