Commit Graph
102 Commits
Author SHA1 Message Date
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02: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
Cédric Krier 1772caec90 Clean migrations for series before 6.0 2025-01-04 00:19:42 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier 184536c72a Remove usage of getattr to access state view fields of wizard 2024-11-20 10:35:06 +01:00
Udo Spallek b245323c30 Fix typo in alt text of documentation logo
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier 709bebe701 Use base URL as logo link and include homepage in TOC
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Cédric Krier 1f0b754785 Fill production moves with all default values
When used for on_change, we need to fill all the default values as the client
does create new record with default values.

Closes #12575
2024-12-26 16:12:10 +01:00
Cédric Krier 81f674082b Remove check_xml_record from ModelStorage 2024-11-11 15:19:51 +01:00
Sergi Almacellas Abellana 26abd6635d Improve labels input and output materials of production and BOM 2024-12-14 12:08:49 +01: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 f358b1fc1c Set default state when production moves from BOM
The visibility of some fields depend on the state so it is better to set it.
2024-11-13 11:14:35 +01:00
Cédric Krier 70e1b5bfad Fill unit price required when creating production moves from BOM
Since 23a3a9ed13d7 the unit price is reset to None if the unit price is not
required.
So the client must known that the unit price is required to keep the value.

Closes #13674
2024-11-13 11:10:05 +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
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier 7fafdf6af8 Set planned date of moves for all productions at once
Closes #8873
2024-10-23 19:30:17 +02:00
Cédric Krier a3568f6bb0 Do not update planned date of production moves if it is not needed 2024-10-23 19:34:26 +02:00
Cédric Krier 8f570007f0 Set planned date when creating production moves 2024-10-23 19:27:28 +02:00
Cédric Krier ab3fecb282 Increase version number 2024-11-04 18:51:20 +01:00
Cédric Krier dc470fe1f4 Prepare release 7.4.0 2024-11-04 18:23:40 +01:00
Cédric Krier 015c68f2c6 Update translations 2024-11-02 16:10:36 +01:00
Cédric Krier e5658ccf92 Fix missing target field in operand of domain 2024-10-30 11:24:15 +01:00
Cédric Krier afb909aa41 Fix missing target field in operand of domain 2024-10-28 21:23:57 +01:00
Maxime Richez dcef019d80 Allow cancellation of done shipments and productions
Closes #13489
2024-10-13 15:50:49 +02:00
Cédric Krier d3cca51abc Create company and chart of account when activate modules in test scenario 2024-09-11 19:05:12 +02:00
Nicolas Évrard 6907ea5b7b Add warning when using implicit rec_name target for relational domain 2024-09-07 00:39:55 +02:00
Cédric Krier 19153c0ab5 Do not copy origin of stock inputs and outputs when duplicate productions 2024-09-06 13:32:08 +02:00
Cédric Krier 62b079225f Remove $ before series in formatted document URL without base URL 2024-09-03 17:55:42 +02:00
Cédric Krier 3ee4a0febd Group numbering productions 2024-08-25 12:15:56 +02:00
Cédric Krier ead6ea96dd Group generation of BOM's code at creation 2024-08-25 11:00:20 +02:00
Cédric Krier 1fcd308aa6 Use MatchMixin to get product bom 2024-09-07 11:20:52 +02:00
Cédric Krier a2dfc4455b Refine index definition
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier 40732da51d Do not set unit price for production input move in test scenario
Since 23a3a9ed13d7 the unit price must be empty when not required.

Closes #13453
2024-08-21 19:25:16 +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 215834f78f Add code to production BOM 2024-05-14 08:58:04 +02:00
Cédric Krier 306f84c9d2 Clear company on the lot sequence in production scenario
Since 9191fe4b4da4, the sequence can not be restricted to a company.

Closes #13257
2024-05-14 08:56:28 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier 0c5ac00c69 Replace _explode_move_values calls by _move call of production 2024-03-16 21:07:22 +01:00
Cédric Krier fe4cec2189 Set currency and unit price of production move when unit price is required
Since 0b2e50445415 the unit price is always set when production is done, so
the unit price of output moves is not important before.
2024-03-16 21:03:13 +01: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 8666e82b80 Rename 'done' buttons to 'do' and label them as "Complete"
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier 80b61a9f63 Store model on ir.rule.group 2024-02-25 13:45:21 +01:00
Cédric Krier 5448a91bf7 Store model on ir.model.button 2024-04-06 10:48:45 +02:00
Cédric Krier 9193a425d1 Store model name on ir.model.access 2024-04-06 14:10:01 +02:00