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
Cédric Krier
227967c153
Add a simple search box
...
review247001
2012-03-05 12:51:38 +01:00
Cédric Krier
4c884b92bf
Improve search completion
...
- complete also on empty entry
- allow to press enter to select a completion
review236001
2012-03-05 12:23:44 +01:00
Cédric Krier
e596815359
New domain parser using shlex
...
review248001
2012-03-05 11:54:32 +01:00
Cédric Krier
12eb2a8449
Destroy group when replaced in xxx2Many fields and destroy record when group cleared
...
issue2467
review262001
2012-03-05 10:39:52 +01:00
Cédric Krier
1b0c687b59
Reload the screen directly under when destroying wizard
...
issue2279
review262002
2012-03-05 10:32:29 +01:00
Cédric Krier
739038204d
Reload context at the end of wizard only for config wizard
...
Reloading context at the end of all wizard, makes the client lost the company
context of the current session.
issue2457
review252001
2012-03-05 10:30:36 +01:00
Cédric Krier
ad16d3232f
Synchronize with trytond pyson
2012-03-05 10:20:36 +01:00
Cédric Krier
57cef89150
Use relativedelta to make all the datetime computation
...
issue2469
2012-03-05 10:15:53 +01:00
Nicolas Évrard
88ba73608a
Use dict for string interpollation
...
review215001
issue2193
2012-03-04 16:04:37 +01:00
Nicolas Évrard
9d2cc31762
remove options settable from gtk
...
review221001
2012-03-04 16:02:51 +01:00
Cédric Krier
e5031a9924
Add Rodrigo Hübner to COPYRIGHT
2012-03-02 16:29:42 +01:00
Cédric Krier
a2458fcc79
Fix delayed call to _record_modified
...
As it is called via idle_add, the form could have been destroyed in the
meantime.
2012-03-02 14:09:48 +01:00
Cédric Krier
d6afcdafb1
Return empty list when calling O2M.get if empty
...
Test on required state except to have a value evaluated to False in case of
empty O2M.
issue2382
review258002
2012-03-01 10:18:31 +01:00
Cédric Krier
4dcb82b149
Better translation dialog box
...
Display the fuzzy value and mark which language is edited.
review243003
2012-02-29 14:04:06 +01:00
Cédric Krier
52bd81b773
Block update_profiles when clearing profile entries
...
Otherwise the wrong profile can be updated as update_profiles will be called
before the new profile is selected.
issue2458
2012-02-22 17:23:19 +01:00
Cédric Krier
e1aa70db0e
Prevent double sent of edited event
...
Rely only on the focus-out-event of the editable otherwise the edited event can
be sent twice and if the selected profile was removed it generates a IndexError.
2012-02-22 17:20:50 +01:00
Cédric Krier
470702c945
Manage success of process exception in wizard
...
review249001
2012-02-22 11:56:03 +01:00