Cédric Krier
30da4b6f1f
Set ondelete RESTRICT for category on uom
2009-03-25 12:55:24 +01:00
Cédric Krier
0077a5404a
Remove OSV and WizardOSV
2009-02-28 17:00:24 +01:00
Cédric Krier
d0d0b8747e
Replace name_get, name_search with get_rec_name and search_rec_name
...
Return only id for default value of many2one
2009-02-17 11:46:14 +01:00
Cédric Krier
9cef7c30fc
Fix for new modelstorage
2009-02-02 13:11:13 +01:00
Cédric Krier
5b5fa2e92d
Handle default_category from context value
2008-11-13 15:18:40 +01:00
Cédric Krier
a2dc2edbc0
Add options on compute_qty to round or not
2008-11-03 15:39:40 +01:00
Cédric Krier
ac6e854ad5
Fix typo
2008-10-29 18:27:08 +01:00
Cédric Krier
89edcc283b
Fix search for xmlrpc
...
Add keywords uom.category for search clause
2008-09-30 17:10:36 +02:00
Cédric Krier
043bc4a940
Add translate on name of categories for issue367
2008-09-17 12:32:45 +02:00
Cédric Krier
e3904957c4
Add special domain with keyword product.default_uom.category to search for uom
...
category with a product id
2008-09-16 16:39:26 +02:00
Cédric Krier
ac4b2b5e7d
Add digits on uom for the display
2008-08-26 19:06:12 +02:00
Cédric Krier
f2294415d9
Allow to modify xml uom
2008-08-26 18:18:38 +02:00
Cédric Krier
bf0ae58e91
Add translate on name and symbol of uom
2008-07-16 18:08:48 +02:00
Bertrand Chenal
1e873d1547
Added context to compute_qty and compte_price call on uom object
2008-07-09 15:57:51 +02:00
Cédric Krier
d5f5624c26
Fix COPYRIGHT
2008-06-23 20:55:06 +02:00
Bertrand Chenal
d22a7e2879
Guidelines
2008-06-11 20:18:04 +02:00
Bertrand Chenal
dd3310af04
Removed constraint
2008-05-28 13:42:11 +02:00
Cédric Krier
6864894139
Fix compute price to return Decimal
2008-05-13 13:08:29 +02:00
Cédric Krier
057e0dd6c7
Change _order for new dict implementation
2008-04-22 17:49:25 +02:00
Cédric Krier
2e46126957
Fix guidelines and make compute_{qty,price} public
2008-04-09 13:22:24 +02:00
Cédric Krier
29392d9397
Add one2many on uom category to uom
2008-04-08 17:25:39 +02:00
Bertrand Chenal
e66c4bf075
Handle rate/factor more carefully
2008-03-14 14:08:26 +01:00
Bertrand Chenal
1c3eb8968b
- Added Symbol field on uom object.
...
- Added tooltips on factor and rate fields.
- Improved on_change function (use 1.0 instead of 0.0 when fields factor and rate must be filled).
- Fix the factor and rate check function (rounding, interger division and completeness).
- Fix default values of context on create and write functions.
- Fix arg name on compyte_qty.
- Fix helper functions _compute_qty and compute_price.
2008-03-13 01:22:57 +01:00
Bertrand Chenal
65a3b06987
Overload create and write instead of a function field.
...
This also fix a zero division problem.
2008-03-11 21:38:51 +01:00
Bertrand Chenal
66dccac2a2
Merge
2008-03-07 02:08:55 +01:00
Bertrand Chenal
506efce969
Added compute_price and compute_qty, fix on_change return value, removed useless __init__
2008-03-07 00:36:18 +01:00
Cédric Krier
f360ce0634
on_change function are automatically in _rpc_allowed
2008-03-05 12:07:49 +01:00
Cédric Krier
caa369c768
Fix __init__ and fix code guidelines
2008-03-05 10:26:40 +01:00
Bertrand Chenal
b94171e328
Product module, initial commit
2008-03-03 18:36:08 +01:00