Commit Graph
45 Commits
Author SHA1 Message Date
Bertrand Chenal 4a4da20672 Help message correction 2008-10-31 21:36:32 +01:00
Cédric Krier bc94542407 Add ondelete CASCADE on actions and delete parent action when deleting child 2008-10-30 16:00:24 +01:00
Cédric Krier d14f551082 Add model on ir.action.wizard and check on ir.action.keyword on model 2008-10-08 18:16:38 +02:00
Cédric Krier 7e9b5554e7 Handle translatable field in xml import to create the en_US translation record
for issue367
2008-09-16 19:03:16 +02:00
Cédric Krier 36e89745f6 Add module translation for actions for issue362 2008-09-15 12:24:44 +02:00
Cédric Krier 01f6c3d263 Remove old wrong class naming 2008-09-15 00:22:07 +02:00
Cédric Krier 6bee991c0d Remove style_content from get_keyword on report action 2008-09-10 13:44:22 +02:00
Cédric Krier 7f32771048 Change unlink to delete for issue201 2008-07-25 12:49:00 +02:00
Cédric Krier 271ba1118e model on action report is not required
So if model is not set _get_objects is not called
2008-07-22 18:27:00 +02:00
Cédric Krier 557d39c004 Remove ExceptXXX
Add function raise_user_error for translation of error message
2008-07-17 19:35:03 +02:00
Cédric Krier b988b3d723 Add search value criteria on act_window 2008-07-10 11:26:31 +02:00
Cédric Krier 0232c66506 Fix COPYRIGHT 2008-06-23 20:18:54 +02:00
Cédric Krier 8e24757546 Remove size constraint on actions 2008-06-15 23:22:45 +02:00
Cédric Krier 8851c2cec3 Add report translation
Remove size constraint in translation
Fix check_xml in view if strings is empty
2008-06-10 14:05:37 +02:00
Cédric Krier f2fc3e89c7 Add report output format for pdf from odt for issue42 thanks to htgoebel 2008-06-03 15:05:25 +02:00
Cédric Krier c8e2714ead Add graph_open action type 2008-06-03 11:18:20 +02:00
Cédric Krier cab8fc8deb Add window name boolean on act_window
It allow to not use the action name as the window name but use the view string
2008-05-20 17:37:02 +02:00
Cédric Krier 8b382d9272 Add action url 2008-05-08 13:16:46 +02:00
Cédric Krier b14321a971 Improve cache to work with many instance 2008-04-24 17:20:41 +02:00
Cédric Krier 8fc4a98304 Use dict for _order on ORM object.
_order is now an instanciate variable.
It is a dict like this:
[('name', 'ASC'), ('id', 'ASC')]
2008-04-22 17:47:24 +02:00
Cédric Krier 1e20a65668 Add board view type 2008-04-17 15:01:43 +02:00
Cédric Krier d3d8f01606 Add direct print on report 2008-04-16 12:59:41 +02:00
Cédric Krier d3ca007120 Remove print statement 2008-04-14 19:08:54 +02:00
Cédric Krier 953a768d15 Add style on report 2008-04-14 19:02:37 +02:00
Cédric Krier a42c68e8a1 Add get_action_id to rpc_allowed for the client
when button is link to action
2008-03-19 15:17:54 +01:00
Cédric Krier c6d00c88ac Remove limit 80 2008-03-10 17:21:37 +01:00
Cédric Krier c66b3c9755 Remove some class instances and move it in the __init__
This make inheritance easier
2008-03-04 11:49:32 +01:00
Cédric Krier db410a3fc8 Make _rpc_allowed no more a class instance and add selection and reference
methods to it
2008-03-03 19:10:57 +01:00
Cédric Krier ac142e65a4 Remove pool from args of __init__ of OSV
More simple to inherit
2008-03-03 18:30:39 +01:00
Cédric Krier 80309dca8f Add missing rpc_allowed function 2008-03-02 01:30:40 +01:00
Cédric Krier d2cc8c31c2 Add on delete cascade if view is deleted 2008-02-26 18:39:46 +01:00
Cédric Krier d80152ce78 Remove _defaults dict and replace by default_ function to allow easy override 2008-02-26 16:23:05 +01:00
Cédric Krier c6948c3f35 Remove _columns dict and put it directly in the object to reflect better the
browserecord
2008-02-26 12:40:40 +01:00
Cédric Krier c7b2ca6edd Add groups to action and filtering rule 2008-02-21 23:13:51 +01:00
Cédric Krier 9c06ee017f Rename view_id into view 2008-02-17 14:16:18 +01:00
Cédric Krier e2336f015a Rename act_window_id into act_window 2008-02-17 13:54:01 +01:00
Cédric Krier 34ad38b9cb Rename view_ids into act_window_views 2008-02-17 13:43:13 +01:00
Cédric Krier b38c97bd4a Fix inheritance in __init__
- Add field only if pool is not None
- Don't append to mutable object because they are static in ORM object so they
  will be change for all objects
2008-02-17 02:36:25 +01:00
Cédric Krier 1013a93e33 Add rpc_allowed to improve security on object
A method can only call by rpc if it is in _rpc_allowed list
2008-02-15 18:26:51 +01:00
Cédric Krier 0bf725f14d Change fields.Function to use string instead of function address
This allow to override the function without the need to redifine the field
2008-02-15 15:28:27 +01:00
Cédric Krier 3324ddab32 Fix write, unlink with just one id 2008-02-12 19:00:21 +01:00
Cédric Krier eaf8d9853e Use string for selection on fields instead of function
- View cache works without clean the cache
- Allow override the function without modify the field
2008-02-12 15:17:35 +01:00
Cédric Krier 9f822f48d7 Restart the cache view when modify action keywords 2008-02-12 14:18:02 +01:00
Cédric Krier 3262890fbd Fix copy of action report
- don't copy data in the DB if there is a path
- add constraint unique on report_name
- add report_content in the view
2008-02-08 18:38:10 +01:00
Cédric Krier 85ef6a1c43 Rename actions in action 2008-01-27 17:55:11 +01:00