Cédric Krier
048fe8f4dd
Reconnect in db_exec on network error for issue1387
2010-03-18 15:29:16 +01:00
Cédric Krier
82343a2978
Add JUMP_IF_FALSE_OR_POP opcode for Unladen Swallow
2010-03-17 22:18:31 +01:00
Cédric Krier
b6318db92e
Remove unused "saves" attributes
2010-03-17 13:08:58 +01:00
Cédric Krier
6c60f917ce
Don't update fields attributes with view attributes
...
It is bad to have the internal model changed by the views because it breaks
the MVC pattern.
2010-03-17 13:08:35 +01:00
Cédric Krier
257a090b72
merge
2010-03-17 11:45:24 +01:00
Cédric Krier
e69e60a470
Use lazy load in Import/Export windows
2010-03-17 11:45:11 +01:00
Cédric Krier
a1634063cb
Handle color background of one2many and many2many for issue1355
2010-03-16 13:37:53 +01:00
Cédric Krier
ec34404a0d
Handle background color for required fields in export like in import
2010-03-12 20:18:27 +01:00
Cédric Krier
43a2713719
Remove old code to handle attribute "sum_bold"
2010-03-12 20:13:30 +01:00
Cédric Krier
2ff8b46392
Set cursor with display call in switch view function
...
The widget must be displayed to be able to call set_cursor
2010-03-12 14:34:36 +01:00
Cédric Krier
73bb4adc63
Add immodules and gtk locale into MacOS bundle
2010-03-11 16:24:44 +01:00
Cédric Krier
5a5692d55a
Call set_default instead of set for wizard values
2010-03-10 20:23:34 +01:00
Cédric Krier
81144c949c
Close the tempfile before opening it with external application for issue1431
2010-03-03 18:48:26 +01:00
Cédric Krier
74925ac741
Call destroy of the tryton widget and not the gtk widget for issue1315
2010-02-28 23:39:49 +01:00
Cédric Krier
053d1df488
Fix name of screen has been renamed into model_name
2010-02-28 23:38:46 +01:00
Cédric Krier
3b18f37137
Don't loop inside field tags
2010-02-26 17:51:35 +01:00
Cédric Krier
1f0807ec14
Add support for datetime in pyson encoder and refactoring by validation with
...
pylint
2010-02-23 15:44:44 +01:00
Cédric Krier
6419bae9cd
Fix domain in selection widget
...
domain attribute is a pyson string and must be decoded before using it
2010-02-23 11:48:23 +01:00
Cédric Krier
2f50a1aca1
Use open instead of file to follow recommendation of Python doc
2010-02-22 23:13:06 +01:00
Cédric Krier
76aaffe7ec
Remove digits eval from xml attributes as digits is not allow
2010-02-22 23:03:27 +01:00
Cédric Krier
dd73789064
merge
2010-02-18 23:19:20 +01:00
Cédric Krier
96a40e55a5
Validate record before switching view for issue1409
2010-02-18 19:49:36 +01:00
Tobias Paepke
eba60fb84c
add german doc translation
2010-02-18 01:34:49 +01:00
Cédric Krier
2000ae50af
Fix typo
2010-02-12 11:17:46 +01:00
Cédric Krier
999f2737a0
Refactoring
...
- Better naming in model
- Group extends list
- Add an index to Group
- New common windows for dialog of many2one, one2many and many2many
- one2many and many2many dialog use the same screen than the widget
- Reduce the number of option in Screen
- Remove RPCProxy to handle logout exception on every server call
- Better naming of event signals
- Fix on_change detection for many2many for issue1400
2010-02-12 11:07:09 +01:00
Cédric Krier
00d12fd71c
Improve date_widget to prevent to encode invalid date for issue1381
...
Test date with strptime during typing
Add more widgets on test window
2010-02-03 15:51:08 +01:00
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