Cédric Krier
ea7affe93f
Fix signal_unconnect of models to screen for issue870
2010-01-27 19:51:40 +01:00
Cédric Krier
da4f9ac1dd
Update COPYRIGHT
2010-01-24 00:22:38 +01:00
Cédric Krier
3916dee98f
Use DHM_FORMAT for datetime fields in search widget
...
Since there is more checks on sql_format of datetime fields, we can no more
send date value for datetime fields.
2010-01-23 10:15:11 +01:00
Cédric Krier
4e21fb716e
Set default value for pyson_domain
2010-01-21 21:26:31 +01:00
Cédric Krier
eeb0c8c8fb
Fix dashboard action to use pyson_* values
2010-01-21 21:26:00 +01:00
Cédric Krier
11606fa023
Add __contains__ to EvalEnvironment
...
It is used in _get_on_change_args
2010-01-21 20:49:11 +01:00
Cédric Krier
6530e1c02f
Fix __getitem__ when self is not in models
...
New record on form view is not added to models so when reloading self is not
in models
2010-01-21 20:31:57 +01:00
Cédric Krier
60ea094761
Always skip signal when loading records even for less then 10
2010-01-21 18:05:14 +01:00
Cédric Krier
247b565da5
Use iterators when possible
2010-01-21 18:01:03 +01:00
Cédric Krier
2b126c8dd4
Improve color_set
...
- use style only once
- get colormap only when needed
2010-01-21 17:58:50 +01:00
Cédric Krier
763523b65d
Fix _get_on_change_args to keep value type
2010-01-21 13:35:08 +01:00
Cédric Krier
ecd03ca33a
Improve switch view
...
- Don't fetch all records when new fields are added by views, re-fetch records
only if new fields are displayed.
- Use some list comprehension.
- Use dictionaries to prevent double "for" loop.
- Make reload to reload also the 80 others records if needed.
2010-01-21 11:30:17 +01:00
Cédric Krier
bee6180263
Better test to import json
...
There is an other json module for python < 2.6
2010-01-20 15:23:47 +01:00
Cédric Krier
8e0906691d
Force group without string doesn't have any border
2010-01-20 12:56:32 +01:00
Cédric Krier
036fdada82
Add PySON to replace python string evaluation
2010-01-20 11:07:17 +01:00
Cédric Krier
157ac82502
Set the cursor after reload
2010-01-19 17:55:43 +01:00
Cédric Krier
b38943c866
Scroll before setting the cursor
2010-01-19 17:54:24 +01:00
Cédric Krier
a03cb27025
Test range before use it
...
get_visible_range can resturn None
2010-01-19 17:37:12 +01:00
Cédric Krier
0e86d9ff0e
Send signal record-changed to the wrong parent
...
It must be send to the ModelRecord of the field and not to the
ModelRecordGroup
2010-01-19 12:29:24 +01:00
Cédric Krier
1be2ced70b
Fix unselect many rows in import/export dialog for issue1374
2010-01-18 23:29:34 +01:00
Cédric Krier
8fe9466271
Don't strip '0' in year completion and prepend '0' to year with length of 1
...
for issue1370
2010-01-16 14:34:26 +01:00
Cédric Krier
a34ad22d57
Don't show "Spell Checking" option if gtkspell is not present
2010-01-16 14:22:11 +01:00
Cédric Krier
fc515b138e
Handle always states on group for issue1366
...
Allow to override states on label linked to field for issue1367
2010-01-11 12:35:11 +01:00
Cédric Krier
c68ce13b5a
Improve speed of textbox with gtkspell
2010-01-11 12:30:37 +01:00
Cédric Krier
baa0c8a7e7
Don't extend model_deleted of One2Many with negative model id for issue1371
2010-01-10 22:27:05 +01:00
Cédric Krier
75e3f05cad
Use the same internal model for many2many and one2many fields
2010-01-08 17:08:35 +01:00
Cédric Krier
c28d17ad76
Remove strip and limit on print profile stats
2010-01-08 10:33:06 +01:00
Cédric Krier
36a6bbf8f3
Don't call sys.exit as it breaks profile
...
See http://bugs.python.org/issue5978
2010-01-07 23:48:58 +01:00
Cédric Krier
42ff7838ff
Add profile mode and use --profile argv
2010-01-07 23:45:54 +01:00
Cédric Krier
547080af2e
Use the same behavior for F3 on one2many even if add_remove is set.
2010-01-07 23:32:03 +01:00
Cédric Krier
4a00f8bf01
Fix typo from changeset 0f8f0bc32cdf for issue1360
2010-01-03 18:38:39 +01:00
Cédric Krier
c1b09911f7
Add missing import of _LIMIT
...
Add missing window in WinSearch
Fix rename go function of WinSearch into run
2010-01-03 18:21:15 +01:00
Cédric Krier
2634e76119
Improve speed of _load_for by using a dictionary
2009-12-28 14:29:23 +01:00
Cédric Krier
b401a3668e
Use button on action in board
2009-12-23 00:01:26 +01:00
Cédric Krier
ec585637d8
Add default value for view_mode and view_ids for issue1344
2009-12-21 16:07:46 +01:00
Cédric Krier
c1e693268d
Handle window_name of act_window in board view
2009-12-21 13:47:57 +01:00
Cédric Krier
64a80d45fb
Add missing window when calling execute of action
2009-12-21 13:24:50 +01:00
Cédric Krier
3adbb27af3
Fire search when pressing enter in search window criteria
2009-12-21 13:23:55 +01:00
Cédric Krier
93aba308d5
merge
2009-12-21 11:20:08 +01:00
Cédric Krier
b242d7b6fc
Add missing gettext
...
Handle correctly the limit in action
2009-12-21 11:19:44 +01:00
Cédric Krier
754ea82a9c
Fix view_ids for board when empty
2009-12-21 11:18:54 +01:00
Cédric Krier
69e5b72c10
Add missing model on board
2009-12-21 11:17:31 +01:00
Igor Támara
e914e66b90
Updated es_CO translation
2009-12-20 08:46:09 -05:00
Mathias Behrle
0b5eee433e
Update translation for de_DE
2009-12-19 21:33:34 +01:00
Mathias Behrle
d464b61824
Doc reviewed and updated for issue1332 (Closes http://codereview.appspot.com/177041 ).
2009-12-18 15:15:17 +01:00
Cédric Krier
2a486149cd
Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:39:05 +01:00
Cédric Krier
097b2fe60b
Use digest instead of hexdigest for key of safe_eval cache
2009-12-17 11:29:16 +01:00
Cédric Krier
3d06a48a97
Add cache to safe_eval
2009-12-17 11:26:44 +01:00
Cédric Krier
38996b2479
Add missing context for issue1335
2009-12-15 13:09:46 +01:00
Cédric Krier
e75b7b1752
Add missing import of datetime
2009-12-14 18:26:48 +01:00