Commit Graph
2207 Commits
Author SHA1 Message Date
Cédric Krier 5fc2e616f4 Destroy search window before creating the new form window
Because of the flag DIALOG_DESTROY_WITH_PARENT, the search window can not be
destroyed by the callback of the form window because the form window is also
destroyed too early.

issue2522
2012-03-29 17:57:00 +02:00
Cédric Krier 90506b48bc Prevent double response calls
row_activate manages the double click on the rows
2012-03-29 16:24:14 +02:00
Cédric Krier 6e10866a93 Reuse record if possible to populate popup 2012-03-28 12:42:57 +02:00
Cédric Krier e990189dd9 Test is parent has window before setting cursor 2012-03-27 17:38:56 +02:00
Cédric Krier 806ed65192 digits is no more always numeric so fallback to default value
issue2511
review304006
2012-03-27 17:38:32 +02:00
Cédric Krier 87f6211909 Implement sensitive on cellrendererbutton
review304004
2012-03-25 19:31:10 +02:00
Cédric Krier da32ba52ab Record icon even if it fails to load it and catch glib.GError
review304001
2012-03-25 19:30:12 +02:00
Cédric Krier d9dad06b57 Keep url widget button sensitive in readonly state 2012-03-25 19:26:38 +02:00
Cédric Krier e605a355d0 Remove workflow
review299001
2012-03-25 00:19:08 +01:00
Sebastian Marro 94a8a64ba7 Improve column space in tree view
issue2488
review283002
2012-03-23 15:27:24 -03:00
Cédric Krier 0d28cf6e29 merge 2012-03-23 18:09:19 +01:00
Nicolas Évrard 0410df270f merge. 2012-03-23 17:58:41 +01:00
Nicolas Évrard 0d0d32c1e8 Integer, Numeric and Float allow None as value
issue2022
review245001
2012-03-23 17:58:00 +01:00
Cédric Krier 8725b15bbf Raise Exception in list like in form 2012-03-23 13:34:07 +01:00
Cédric Krier 3e65c63710 Don't use a nested context dictionary to evaluate record expression
The nested context dictionary override the value of the fields.

issue2506
2012-03-22 10:18:47 +01:00
Cédric Krier 4517e4495c Reload menu after config wizard 2012-03-21 00:15:46 +01:00
Cédric Krier ac263a72fa Improve contextual menu
- Actions for all relation fields on list view
- Use icons
- Add attachments entry

review284003
2012-03-20 19:35:20 +01:00
Cédric Krier 82bc90b8ff Allow to use Greater/Less PYSON with Decimal 2012-03-20 17:53:26 +01:00
Cédric Krier a1d4e5af1a Use RPCProgress almost everywhere
Add management of exception inside RPCProgress
Add RPCExecute to simplify the usage of RPCProgress

review244004
2012-03-19 14:19:45 +01:00
Cédric Krier 6dcb51a3da Don't present parent window if it is already destroyed
When creating a new record from the search dialog, the callback destroys the
search dialog before the form dialog is destroyed.
2012-03-18 21:08:00 +01:00
Cédric Krier 5846e81922 Call callback before destroy the search dialog 2012-03-18 20:59:56 +01:00
Cédric Krier e2d508cd41 Destroy the screen first in wizard dialog
This prevents pygtk warning about invalid iter
2012-03-18 16:48:03 +01:00
Cédric Krier 2a26b02449 Unconnect screen when destroying by calling super 2012-03-18 16:38:12 +01:00
Cédric Krier 712304c7ca Add missing definition of state in __init__
If an exception happens before state is set it is not possible to close the
wizard.
2012-03-18 16:36:28 +01:00
Cédric Krier 20c48c4c99 Test if selection exists before using it 2012-03-18 16:35:17 +01:00
Cédric Krier 4524a2b6b7 Set back search completion to minimum key length of 1 2012-03-17 16:26:07 +01:00
Cédric Krier 6154a94947 Catch TrytonServerUnavailable when logout 2012-03-17 00:44:02 +01:00
Cédric Krier 6efb450ea0 Unconnect One2Many group before destroying it to prevent infinite loop 2012-03-17 00:26:29 +01:00
Cédric Krier ff953ed310 Add destroyed state on record
This prevent to set value on destroyed records
2012-03-17 00:25:41 +01:00
Cédric Krier fec4dc1367 Simplify clear group
Always enforce to send removed
The signal cleared is useless if removed is sent
2012-03-17 00:24:13 +01:00
Cédric Krier bb0053963a Improve login time
- Use pyson_menu
- Use new actions list
- Simplify the menu creation

review276002
2012-03-16 11:28:53 +01:00
Cédric Krier a2cfbcd558 Set rec_name of Reference to empty string if a model is defined 2012-03-13 12:44:23 +01:00
Cédric Krier c1a2e076ce Add missing fill of model in popdown of reference widget 2012-03-13 12:43:27 +01:00
Cédric Krier f80401d9ec Add missing "..." to Attachment menu entry 2012-03-12 18:10:24 +01:00
Cédric Krier 2b5036c8f5 Deactivate buttons if parent was modified
issue1809
review265001
2012-03-12 15:37:23 +01:00
Cédric Krier e6397f5360 Calendar popup must set untimezoned datetime
issue2490
2012-03-12 15:16:04 +01:00
Cédric Krier 9c6955c3c6 Fix modified test for float_time widget
It must compare text values
2012-03-12 13:25:44 +01:00
Cédric Krier 56288f1aaf Fix signal management when objects are destroyed
- don't delete attribute but set it to None
- add test if view still have a record
- lock signal when clearing group in destroy
2012-03-09 23:17:35 +01:00
Cédric Krier 6ee70ea219 Calendar popup must use timezoned date
issue2486
2012-03-09 23:06:56 +01:00
Cédric Krier 6b394a4638 Add parent context to group context
review279001
2012-03-09 14:10:48 +01:00
Cédric Krier 468fb1dae3 Move search arrow at the end and prevent focus chain on buttons
review273001
2012-03-09 14:08:35 +01:00
Cédric Krier ec4872e70a Use field.context_get instead of evaluating the context attribute 2012-03-07 16:17:19 +01:00
Cédric Krier 8e9b3e0971 Fix xxx2many WinSearch callback
Typo was introduced in changeset 4d0d16477712
2012-03-06 15:56:45 +01:00
Cédric Krier 82481bfa21 process_exception is no modal now 2012-03-06 12:27:01 +01:00
Cédric Krier 07f5a9239e Add grouped calls to on_change_with
review249004
2012-03-05 23:41:02 +01:00
Cédric Krier 38df966904 Add view before creating new record to prevent calls to default_get 2012-03-05 18:31:44 +01:00
Cédric Krier 9d4f80cbeb tdp has been replaced by domain_parser 2012-03-05 16:41:04 +01:00
Cédric Krier 481c72d738 Prevent earlier call to on_change in set_on_change on XXX2Many
review249003
2012-03-05 13:02:39 +01:00
Cédric Krier 178d2637d7 Always read rec_name and return it in WinSearch
review250002
2012-03-05 12:59:12 +01:00
Cédric Krier 54737c0df0 Prevent signal in early creation of record
review243002
2012-03-05 12:55:53 +01:00