Commit Graph

67 Commits

Author SHA1 Message Date
?ngel ?lvarez 8197b17013 update to 4.7 2018-04-25 15:44:48 +02:00
Sim? Albert i Beltran ca643dcc70 Fix the update of uom_digits on product change 2017-12-22 10:53:51 +01:00
Sim? Albert i Beltran 28ce654fa3 Update product_cost_price on change product 2018-02-05 17:24:43 +01:00
Jes?s Mart?n Jim?nez f4ea891c57 Fix several on_change methods 2016-07-07 11:30:15 +02:00
Jes?s Mart?n Jim?nez aa104f07aa Fix AssertionError: Field method product.cost.plan.default_state for unknown field 2016-07-07 08:45:06 +02:00
Jes?s Mart?n Jim?nez 82d82542e5 Fix on_change_* methods 2016-07-05 13:24:19 +02:00
Jes?s Mart?n Jim?nez cf7a91ca8a Fix getting product price_decimal from config 2016-07-05 10:12:52 +02:00
Guillem Barba c3a4494da8 New extra dependency production_external_party 2015-06-26 12:04:39 +02:00
Guillem Barba 9eb8aae677 Allow different UoM in product lines with same product 2015-06-15 17:09:17 +02:00
Guillem Barba 9a8f5dc40c Add required flag to plan's name 2015-05-28 10:48:29 +02:00
Guillem Barba cbdaffe6ac Fix get attribute of None product on on_change_produt 2015-04-26 22:58:46 +02:00
Guillem Barba b1168fe527 Set system and internal_cost fields correctly in get_cost_line_vals and improve readability 2015-04-17 15:38:46 +02:00
Guillem Barba e10bfa62b4 Allow to set cost price to 0 in product lines 2015-04-15 19:44:59 +02:00
Guillem Barba 25c244456e Fix bug in on_change_with_uom_category introduced in last commit 2015-04-13 13:25:01 +02:00
Guillem Barba c3fabe8c97 Fix None object access in on_change_with_uom_category() 2015-04-13 10:17:53 +02:00
Guillem Barba 51a27e2140 Add product's cost price to plan form, add confirmation message 2015-02-06 09:52:05 +01:00
Guillem Barba 7affa7ac0d Show warning instead of error if process already exists in plan 2015-02-06 09:19:29 +01:00
Albert Cervera i Areny 3e1c35b575 Replace tabs with spaces. 2015-02-03 14:10:26 +01:00
Albert Cervera i Areny 4fc9a0824c Add check_recursion to product.cost.plan.product.line. 2015-01-28 14:36:19 +01:00
Guillem Barba db2ba21701 Check if plan has product when create bom. Improved plan's rec name 2015-01-27 09:52:03 +01:00
Guillem Barba 2b32fa46c3 Some fixes and improvements 2015-01-19 19:16:09 +01:00
Sergi Almacellas Abellana 0cd91d1a19 Migrate to version 3.4 2014-11-05 09:28:18 +01:00
Guillem Barba 2eb81c33c2 [#020936] Finish module with some fixes and improvements
- Add uom_digits field to be used in Plan's quantity field
- Use plan's quantity when explode BoM to create plan's product lines
- Multiply product line quantity by its parents quantities to calc the BoM
  inputs quantities
- Implement the copy() for plans and lines
2014-09-02 17:22:07 +02:00
Guillem Barba 2a9e52fa11 [#020936] fix use of on_change/_with methods and depends definition
Add on_change_with_costs to replace some on_change_* and use
methods attribute of depends decorator. Other change to, in
conjuntion, work fine the costs and prices calculation
2014-08-28 14:48:18 +02:00
Albert Cervera i Areny e9986ded17 Do not allow adding product lines until costs have been calculated. 2014-07-01 14:47:53 +02:00
Albert Cervera i Areny a1542f8f39 Change uom domain to avoid infinite recursion. 2014-06-11 01:59:24 +02:00
Sergi Almacellas Abellana a7dcc21f65 Add domain to products_tree field 2014-06-05 14:07:29 +02:00
Sergi Almacellas Abellana ecf0eb9ca8 Fix one2many on_change and cleanup tests 2014-06-03 09:54:45 +02:00
jmartin 5d0cfa735f Fix DeprecationWarning: on_change argument is deprecated, use the depends decorator 2014-05-27 10:47:44 +02:00
Sergi Almacellas Abellana c624f1ce51 Allow to define unit digits in config file 2014-05-14 10:10:42 +02:00
Albert Cervera i Areny 14a5f9f7e7 Change product.cost.plan rec_name. 2014-05-13 18:12:37 +02:00
?ngel ?lvarez 1b14158871 Fix mobs on_change 2014-05-06 14:47:55 +02:00
Albert Cervera i Areny 0eca3d51a9 Do not automatically select the bom for subproducts. 2014-04-16 00:38:46 +02:00
Albert Cervera i Areny 597fb677f4 - Add name to cost plan
- Fix total cost calculation
- Put cost_price before readonly fields to easy encoding
2014-04-14 12:43:23 +02:00
Albert Cervera i Areny d84040777a Add sequence to plan costs. 2014-04-14 09:20:34 +02:00
Albert Cervera i Areny 1faa61909c Group lines of the same product when creating the BOM. Also ensure product has no BOM assigned already. 2014-04-10 00:42:24 +02:00
Albert Cervera i Areny 6667493d34 Link created bom with the product. 2014-04-10 00:18:25 +02:00
Albert Cervera i Areny d11c0bc84b Use None instead of name as the former makes no sense. 2014-04-10 00:08:12 +02:00
Albert Cervera i Areny 6b1e8272e7 Add total_unit field to product lines. 2014-04-09 22:48:55 +02:00
Albert Cervera i Areny f5c9ae47ed Rename a variable. 2014-04-09 20:39:51 +02:00
Albert Cervera i Areny 93b33e6d5f Remove Workflow from plan. 2014-04-09 19:59:12 +02:00
Albert Cervera i Areny f7ffb713a4 Improve BOM creation wizard. 2014-04-09 02:00:05 +02:00
Albert Cervera i Areny 8cc611a716 Do not make name field required in product lines to make it more usable. 2014-04-09 00:55:39 +02:00
Albert Cervera i Areny 90770e488b Do not make translatable BOM name in wizard. 2014-04-09 00:54:26 +02:00
Albert Cervera i Areny 4c4f6c17cc Once created, link bom with cost plan. 2014-04-09 00:53:57 +02:00
?ngel ?lvarez d1d8714020 #12040 Add wizard to create BOMs 2014-03-25 23:43:47 +01:00
Albert Cervera i Areny fb61bfbf46 Merge. 2014-03-24 19:08:38 +01:00
Albert Cervera i Areny b60571732e - Allow managing products in a tree structure.
- Make digits a constant.
2014-03-24 18:48:34 +01:00
Sergi Almacellas Abellana def8e0f9e8 Fix cost calculation with diferent uoms in bom 2014-03-24 16:02:19 +01:00
Albert Cervera i Areny e042104d91 - Change update_cost_price() function signature.
- Allow deleting plans with cost lines.
2014-03-19 02:00:28 +01:00