Commit Graph

58 Commits

Author SHA1 Message Date
Raimon Esteve c9d9576c91 Not add origin in case origin is stock.order_point,-1 (origin is str)
#162129
2023-09-06 10:29:15 +02:00
Raimon Esteve 8da34e9778 Set origin in case model is in selection reference when create purchase from purchase requests
#160335
2023-06-30 15:12:01 +02:00
Albert Cervera i Areny 6fb794db9b Remove duplicate method to obtain an operatio from a route_operation. 2022-12-23 13:52:03 +01:00
Raimon Esteve a39c79ebbc Use declarative index definition for ModelSQL
issue5757
2022-11-08 19:20:19 +01:00
Bernat Brunet 74226f9b0b Change the way that the cost of operations are calculated when have
subcontracted product. If the operation have a purchase line us it's
cost, if not, but have a subcontract product use it cost, and if has
nothing us the default way.
2022-10-26 01:29:08 +02:00
Raimon Esteve 7c179ed332 Add round_price
issue9146
2022-10-14 15:09:22 +02:00
Bernat Brunet 7bdf72ad28 Allow to choose by configuration if a production will be done with the
last operation done.
2022-10-11 10:55:05 +02:00
Àngel Àlvarez b3b5c9a80a check if exists purchases to process 2022-09-26 10:49:27 +02:00
Àngel Àlvarez 761d4ad304 add production quantity to purchase_request on subcontracte operations 2022-09-23 20:47:27 +02:00
Raimon Esteve 417a60b989 Add origins in case are models activated
Since 6420dce
2022-09-16 10:09:18 +02:00
Àngel Àlvarez 6420dce7c1 add different origins 2022-09-15 12:46:12 +02:00
Raimon Esteve 4193fe3c56 FIX tests 2022-09-12 10:42:02 +02:00
Raimon Esteve 4b36cb8ac8 FIX return copy operations 2022-09-12 10:31:43 +02:00
Àngel Àlvarez fe5e0210d9 check if uom and quantity is set 2022-09-09 09:10:52 +02:00
Àngel Àlvarez 05a14c71f8 add possibility to create purchase requeste in waiting state 2022-09-08 10:08:41 +02:00
Raimon Esteve d0259a2503
Order operations by sequence or id in case is None
#060064
2022-09-07 15:39:10 +02:00
Raimon Esteve f7aa1ac4bf Replace state to purchase_state depends eval 2022-09-07 11:26:54 +02:00
Àngel Àlvarez Serra 907bca2d12 allow puchase_request on production operation #059903 2022-09-05 11:10:13 +02:00
Raimon Esteve 73b6e6323f Add depends sale_supply_production module
issue3257
2022-05-18 16:44:28 +02:00
Raimon Esteve e9b1e6aa85 Rename move state from cancel to cancelled
issue8927
2021-09-10 12:57:07 +02:00
Raimon Esteve 9d06ab51c6 Use digits mixin
issue10677
2021-08-26 09:53:08 +02:00
Raimon Esteve 6d9b7bd5b7 Allow confirm warning and done the production when configuration is user_warning
#044914
2021-06-03 10:38:32 +02:00
Àngel Àlvarez 49b49b82de fix signature from copute_request 2021-05-07 07:56:29 +02:00
Raimon Esteve 64a5e86681 Allow cancel operations
#041899
2021-03-10 15:06:27 +01:00
Raimon Esteve 9cd00c2fa5 Add total_quantity field at Operation class
#041534
2020-12-15 12:24:25 +01:00
Albert Cervera i Areny 0c82dc7728 Copy default dict in copy() methods. 2020-08-25 17:38:41 +02:00
carlosgalvez-nan 4af83ce06b fix on_change_route
#040326
2020-03-11 09:40:46 +01:00
carlosgalvez-nan 670733a363 Avoid dividing by zero
Check if a operation has the work_center field
2020-01-17 09:51:51 +01:00
Juanjo Garcia 933b062c05 Add missing _parent_ on a fields depends. 2019-11-07 10:38:30 +01:00
?ngel ?lvarez 9b1856c70d remove self when create operations, not work with on_change 2019-10-04 10:02:56 +02:00
?ngel ?lvarez d2c348c018 fix on_change_route 2019-09-17 15:36:52 +02:00
Juanjo Garcia 43481f5493 Use material design icons. 2019-09-05 14:20:54 +02:00
?ngel ?lvarez e6947534bb Add unique identifier and Warning.chekc for UserWarning 2019-05-04 22:37:01 +02:00
?ngel ?lvarez f90dc816ba Add ir.message and use UserWarning 2019-01-05 07:05:25 +01:00
?ngel ?lvarez 1143c9ce40 fix adding operations 2018-09-25 11:58:35 +02:00
Albert Cervera i Areny 099cf3e7a7 Migrate to python 3. 2018-08-17 22:26:30 +02:00
Albert Cervera i Areny 6c3e604c1b Improve operation's rec_name. 2016-03-03 17:14:42 +01:00
Albert Cervera i Areny fc08e19d39 Change operation search_rec_name() so that it searches on production's rec_name too. 2016-03-03 14:35:13 +01:00
C?dric Krier b2916abf44 Update to 4.7 2018-03-19 16:28:08 +01:00
Raimon Esteve 0164320b6c Add company operation/tracking field and group rules
task-032777
2017-11-27 13:13:09 +01:00
Raimon Esteve ff109aad41 Check state operation when done a production 2017-07-19 10:01:21 +02:00
Raimon Esteve a61723b26c Do productions from operation that last operation is done
Refactoring b85386bb13fb
2016-09-26 14:08:48 +02:00
Raimon Esteve b673d40aa7 Return operations when the context is from_done_operation to false 2016-09-26 13:27:54 +02:00
Jes?s Mart?n Jim?nez 7d44525b71 Fix on_change_route method 2016-06-30 10:56:56 +02:00
Guillem Barba 1a881c483c Create operations from compute_request() method 2015-04-17 19:55:40 +02:00
Guillem Barba 616cfd76f4 Modularized update_operations() method 2015-03-03 14:50:11 +01:00
Sergi Almacellas Abellana ddc1b0ee68 Upgrade to 3.2 version and increase version number 2014-06-03 10:31:12 +02:00
Albert Cervera i Areny 6b742b9340 Add extra_depends with stock_supply_production and ensure route is properly set when supply is calculated. 2014-05-14 23:45:02 +02:00
Sergi Almacellas Abellana cd61d1fe21 Add ondelete cascade to production operations 2014-03-21 12:51:50 +01:00
Sergi Almacellas Abellana 40c7974df0 Fix error copying productions with operations 2014-03-20 16:39:38 +01:00