Commit Graph
48 Commits
Author SHA1 Message Date
Cédric Krier 9ccc0e786f Set category to Generic 2008-05-23 16:01:41 +02:00
Cédric Krier ea6ecfd348 Add name_get to product 2008-05-20 14:00:21 +02:00
Cédric Krier 6eaf44d20f Fix function signature and remove size constraints 2008-05-14 17:37:22 +02:00
Cédric Krier 6864894139 Fix compute price to return Decimal 2008-05-13 13:08:29 +02:00
Cédric Krier ad40f55004 attributes select must be integer 2008-05-13 11:47:29 +02:00
Cédric Krier 986b2515f0 Fix priority on tree view 2008-05-13 11:46:56 +02:00
Cédric Krier b89b097f4c Add cost_price_uom and fix some char field size 2008-04-28 11:44:22 +02:00
Cédric Krier 057e0dd6c7 Change _order for new dict implementation 2008-04-22 17:49:25 +02:00
Cédric Krier bccb45ea72 Remove wrong attributes 2008-04-22 13:56:11 +02:00
Cédric Krier 98179a904c Change prices into property
- The prices depend on the currency of the company
- The prices can be different in each company especially the cost_price
2008-04-09 15:33:01 +02:00
Cédric Krier 815aba353f Use (16, 4) digits for price 2008-04-09 13:25:23 +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 137e0f2315 Add properties page on product 2008-04-08 18:42:02 +02:00
Cédric Krier beb70f3c09 Add properties tab on product category 2008-04-08 17:26:38 +02:00
Cédric Krier 76cc2df670 Better name for relation fields
No need to repeat the object name
2008-04-08 17:26:15 +02:00
Cédric Krier 29392d9397 Add one2many on uom category to uom 2008-04-08 17:25:39 +02:00
Bertrand Chenal 568fdfab13 Merge 2008-03-27 13:35:11 +01:00
Bertrand Chenal f2a8a11c12 Added missing website url 2008-03-27 13:34:22 +01:00
Cédric Krier 5dd04d6af3 Use new operator for xxx2Many 2008-03-25 11:31:42 +01:00
Bertrand Chenal 911372264f Merge 2008-03-14 14:09:41 +01:00
Bertrand Chenal e66c4bf075 Handle rate/factor more carefully 2008-03-14 14:08:26 +01:00
Bertrand Chenal 175deb06e2 Improvements on products:
- Cost method is now required.
- default type is now stockable
- bugfix: default cost price method is now fixed
2008-03-14 14:04:34 +01:00
Bertrand Chenal f3420fa8bc Added admin group for products. 2008-03-14 14:01:46 +01:00
Cédric Krier 50c2f952d9 Remove list_price from list view 2008-03-13 15:55:21 +01:00
Cédric Krier 0fa1bf0310 Bettre naming for product menu 2008-03-13 10:36:41 +01:00
Bertrand Chenal ed28891afc Automated merge with ssh://tycho.b2ck.org///home/hg/modules/product 2008-03-13 01:24:03 +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 ff1b46b946 Improved views, added most common uom's and uom categories, added access for uom and uom category 2008-03-13 01:16:07 +01:00
Bertrand Chenal 287134a697 Added access for product 2008-03-13 01:13:38 +01:00
Bertrand Chenal 1d8b37c9d3 Added access for product category 2008-03-13 01:13:05 +01:00
Cédric Krier a8dd763c6e Use new tree_invisible attribute 2008-03-12 11:57:50 +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 47856ab2f1 Improved field names. Removed inverse function for list_price 2008-03-08 12:02:07 +01:00
Bertrand Chenal 43dc6728af Use get_field for function names 2008-03-08 12:00:49 +01:00
Cédric Krier 391a9b308c Set size to None for code and add translate to description 2008-03-07 15:44:05 +01:00
Bertrand Chenal 445ba7059c Simplified menu 2008-03-07 03:14:51 +01:00
Bertrand Chenal 0b26607457 Added tree menuitem for product category 2008-03-07 03:13:26 +01:00
Bertrand Chenal 0207f672ce bugfix :Use different name for the function of a function field 2008-03-07 03:11:13 +01:00
Bertrand Chenal 66dccac2a2 Merge 2008-03-07 02:08:55 +01:00
Bertrand Chenal 7f2e5f46df Added uom conversion around list_price, added cost price 2008-03-07 00:37:31 +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
Bertrand Chenal e2695e2a4f Added code field (and namesearch) and description field + xml guidelines 2008-03-07 00:34:22 +01:00
Bertrand Chenal 0e784e0567 Removed useless __init__ 2008-03-07 00:33:01 +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 7cf965ab31 Fix xml coding guide lines 2008-03-05 11:14:16 +01:00
Cédric Krier caa369c768 Fix __init__ and fix code guidelines 2008-03-05 10:26:40 +01:00
Cédric Krier 0f94f2acf2 New __init__ signature 2008-03-04 11:56:55 +01:00
Bertrand Chenal b94171e328 Product module, initial commit 2008-03-03 18:36:08 +01:00