Commit Graph
1551 Commits
Author SHA1 Message Date
Cédric Krier b84fa18767 Validate current record before new, edit, next and previous in one2many 2010-03-30 19:36:37 +02:00
Cédric Krier c392db8677 Set views XML attribute if missing 2010-03-30 19:35:33 +02:00
Cédric Krier 68ace96b2a Don't set twice the same image on buttons of many2one for issue1459 2010-03-30 13:34:26 +02:00
silverfox 09e4574ccb Add Russian language in tryton-client 2010-03-29 15:26:21 +07:00
Cédric Krier 9878aa0ab9 Fix usage of XML only attributes in list view 2010-03-27 16:06:24 +01:00
Cédric Krier 56bbc55f0a Fix exclude_field for new separation of XML and field attributes 2010-03-26 13:01:04 +01:00
Cédric Krier 64a4fd3d42 Set relation_field and string XML attributes if missing 2010-03-26 13:00:00 +01:00
Cédric Krier 66b86c1c0d Make invisible XML attribute override field state 2010-03-26 12:58:55 +01:00
Cédric Krier 89ed02d4d2 No more mix view attributes and fields attributes 2010-03-25 16:43:41 +01:00
Cédric Krier 6fe8745c19 Use hostname instead of host when login for fingerprint check 2010-03-25 16:42:30 +01:00
Cédric Krier c7dbcbf40d Use ir.attachment view instead of a custom one
Update to use the new resource field on ir.attachment
2010-03-23 11:00:40 +01:00
Cédric Krier 006ce86923 Add fingerprint and CA check for SSL connection 2010-03-22 10:05:26 +01:00
Cédric Krier f192c791e8 Improve __get_record to not fail if the view is not yet set 2010-03-20 15:19:04 +01:00
Cédric Krier 2231b1f8ff Catch exception for non supported image type by PixbufLoader 2010-03-20 15:18:18 +01:00
Cédric Krier 26490e044d Replace child{1,2} attributes in xml views by a unique child 2010-03-19 15:24:31 +01:00
Cédric Krier 8bb2ad5615 Remove ids from on_change* calls 2010-03-18 18:14:17 +01:00
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