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
Sergi Almacellas Abellana
bbb3628bbb
Fix tests
2014-10-16 16:31:51 +02: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
jmartin
5c13d164fa
Increase version 3.2
2014-05-22 15:46:20 +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
35819568fb
Fix tests.
2014-04-21 00:18:28 +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
39dc08d96b
Rename General tab to Products.
2014-04-14 09:21:54 +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
958fe171cd
Test improvements.
2014-03-24 18:58:30 +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
Albert Cervera i Areny
2946204946
Update product_cost_price according to UOM and remove last_purchase_price (moved to another module).
2014-03-18 18:30:33 +01:00
Albert Cervera i Areny
d188737d15
Add notes field.
2014-03-18 16:45:07 +01:00
Albert Cervera i Areny
7df5127723
Fill in BOMs automatically.
2014-03-18 16:40:53 +01:00
Albert Cervera i Areny
f615c5b488
Add UOM and sequence fields.
2014-03-18 16:24:50 +01:00
Albert Cervera i Areny
6b935b2e7c
Update tests.
2014-03-17 07:02:17 +01:00
Albert Cervera i Areny
a8f575279b
Add sequence for cost plan numbering.
2014-03-16 04:07:48 +01:00
Albert Cervera i Areny
ccc9d9b02b
Fix typo: invisible_tree -> tree_invisible.
2014-03-16 03:43:08 +01:00
Albert Cervera i Areny
77054c4564
Add active field to product.cost.plan.
2014-03-16 02:49:45 +01:00
Albert Cervera i Areny
f9cfe403d3
Remove quantity and total_cost. unit_cost_price renamed to cost_price.
2014-03-16 02:42:22 +01:00
Albert Cervera i Areny
42b18726a1
Manage digits correctly.
2014-03-16 02:17:36 +01:00
Albert Cervera i Areny
f95f5389ca
Fix Catalan typo.
2014-03-16 02:12:09 +01:00
Albert Cervera i Areny
5e4f2359d1
Add name field to product.cost.plan.product_line.
2014-02-19 12:16:21 +01:00