Commit Graph

299 Commits

Author SHA1 Message Date
Raimon Esteve a265a853f4 Search context lot when farm is none in the context
#163387
2023-11-14 13:48:14 +01:00
Raimon Esteve 92375f2a9c Search feed lot in feed event mixin when farm is none in the context
#163387
2023-11-14 13:45:10 +01:00
Albert Cervera i Areny 887f4eda28 Pyflakes fixes 2023-10-11 10:54:04 +02:00
Albert Cervera i Areny 9a408a232f Rename Uom to Unit. 2023-09-13 21:12:36 +02:00
Albert Cervera i Areny ee237a38b0 Convert sum attribute into boolean 2023-06-10 17:21:05 +02:00
Juanjo Garcia Pagan bfcc5b0142 Adapt to new stock_lot_cost. (#5)
FIX tests.

Task #068419
2023-05-16 15:19:38 +02:00
Raimon Esteve e53d05e0e9 Increase version number 2023-05-10 17:24:02 +02:00
Juanjo Garcia 04d88a1e24 FIX tests.
Task #048598
2023-03-27 14:24:44 +02:00
Albert Cervera i Areny d214b85399 Do not crash if search_rec_name receives a None. 2023-03-23 23:57:37 +01:00
Albert Cervera i Areny ed0405a4b5 In scenario, compute today after module installation to minimize issues if test is executed near midnight. 2023-03-21 20:12:16 +01:00
Albert Cervera i Areny 48279fb48c Fix scenario. 2023-02-24 13:30:12 +01:00
Juanjo Garcia 468fe388fd Add missing pool. 2022-12-29 14:45:35 +01:00
Raimon Esteve a2909d9c1f Allow to modify state of move done and cancelled
issue11921
2022-12-12 10:08:40 +01:00
Raimon Esteve 0c9e750e38 Unify to create move with company object 2022-11-16 14:12:07 +01:00
Raimon Esteve 814a32a2e4 Remove default currency on stock move
issue11512
2022-11-16 13:32:39 +01:00
Raimon Esteve 19ab74fc47 Use declarative index definition for ModelSQL
issue5757
2022-11-08 18:57:11 +01:00
Raimon Esteve 79861eee1b Increase version number 2022-08-17 14:15:15 +02:00
juanjo-nan 6d1deb018f Add field weight to farm_reclassification_event. (#4)
Task #058091
2022-08-11 19:16:00 +02:00
Albert Cervera i Areny dae9921603 Fix line break in message.xml 2022-07-09 23:57:02 +02:00
Albert Cervera i Areny bc42a8d4a8 Remove call to assign button which no longer exists on stock.move 2022-05-12 09:35:31 +02:00
Albert Cervera i Areny 38782c8066 Use set for depends. 2022-05-04 00:23:36 +02:00
Albert Cervera i Areny b697c6d2a3 Use set for depends. 2022-05-03 18:20:53 +02:00
Jared Esparza d4070ddff5 Replace test setuptools command by unittest discover 2022-04-28 13:11:41 +02:00
Raimon Esteve 3bbeb81028 Add on_change_with_medication_start_date method to get default start date
#050925
2022-04-26 13:20:26 +02:00
Jared Esparza c257f39ecc Add user errors and fix translation | #050102 2022-03-16 10:08:28 +01:00
Jared Esparza e9af1c6433 Fix user errors and add not_farrowing_group user error and message | #048729 2022-02-03 12:45:33 +01:00
Juanjo Garcia f8976c4529 Add user error when create an location from the animals without a warehose.
Task #048049
2021-11-26 12:12:22 +01:00
Jared Esparza bd33a2323e Modify get_produced_animal_type to on_change_with_animal_type | #047967 2021-11-05 14:29:05 +01:00
Raimon Esteve 9c1d9ce5c7 Add test on domain of relation fields
issue10794
2021-10-20 11:40:30 +02:00
Albert Cervera i Areny 5f78538691 Add required medication_end_date field to medication event editable list. 2021-10-07 13:32:30 +02:00
Albert Cervera i Areny 310512a7a2 Add 'document' field to quality template form view. 2021-10-07 13:10:35 +02:00
Albert Cervera i Areny 900183bffe In order_events.py and abstract_event.py fill in the default farm of the user. 2021-10-06 13:22:33 +02:00
Albert Cervera i Areny 0998b366cf In order_events.py, do not contraint the farm field to the list of farms assigned to the user. 2021-10-06 13:22:28 +02:00
Albert Cervera i Areny a906db1c5e Pyflakes fixes. 2021-10-03 12:11:28 +02:00
Jared Esparza b5959d25f3 Modify check of live and dead to cover none case, Change get_produced_animal_type to on_change_with_animal_type 2021-10-01 12:57:59 +02:00
Jared Esparza 65915d80a3 Fix table handler use 2021-09-30 09:25:27 +02:00
Jared Esparza 918da270db Update spanish translations 2021-09-29 15:49:12 +02:00
jared-nan a19eb45557 046624 | Add Reclassification event 2021-09-29 15:47:46 +02:00
jared-nan 4e13165de3 046623 | Add support for individual farrowing and weaning 2021-09-29 15:45:56 +02:00
Raimon Esteve 4a39d0045e Ensure that objects in the Pool has __slots__
issue10719
2021-09-27 17:26:13 +02:00
Albert Cervera i Areny 755a13b056 Declare product.product so Function fields from template are created. 2021-07-09 11:18:02 +02:00
Albert Cervera i Areny 494c07d20d Apply restrict_by_specie_animal_type restriction to storage and warehouse locations only. 2021-06-25 15:37:13 +02:00
Albert Cervera i Areny 561996a4a0 Check if location has warehouse before returning its id. 2021-06-25 12:59:09 +02:00
Raimon Esteve 09f2ff9e02 Replace context to search_context when quantity lot > 0 2021-06-08 17:47:05 +02:00
Raimon Esteve d5b9b21613 Increase version number 2021-06-01 10:03:16 +02:00
Raimon Esteve 9f4dfb3e96 Increase version number 2021-04-30 13:21:05 +02:00
Albert Cervera i Areny 18836481f4 Remove unnecessary __all__. 2021-03-21 23:20:23 +01:00
Albert Cervera i Areny 4bd71a6dba Store directly sequence type to sequence 2021-03-21 23:17:55 +01:00
Albert Cervera i Areny d779ed05da Remove commented code. 2021-03-19 19:19:12 +01:00
Àngel Àlvarez 1a00a1257d adapt farm to new quality_control version 2020-12-20 09:24:26 +01:00