Cédric Krier
bf0b0f78a5
Fix set value of many2one when text is empty
...
many2one must have None value if text is empty.
2012-04-15 17:03:34 +02:00
Cédric Krier
5a9954fa88
Enforce nomodal to try to put focus back
...
The widget with the focus could disappear when setting back the focus so it
tries to put the focus to one of its parents.
2012-04-15 17:02:09 +02:00
Mathias Behrle
6b6527f172
Update translation for de_DE
2012-04-15 13:56:09 +02:00
Cédric Krier
955965f054
Force local id in record expression evaluation context
...
Otherwise field id is None for new records.
issue2544
2012-04-14 19:31:29 +02:00
Cédric Krier
23435aeb17
When saving group, delete also records
...
issue2543
2012-04-13 21:11:26 +02:00
Cédric Krier
b3b2e1fc91
merge
2012-04-13 20:56:35 +02:00
Cédric Krier
ef1a328b7d
Add a pseudo-parent to attachment
...
With a parent, it is not possible to switch to form view.
2012-04-13 20:56:20 +02:00
Cédric Krier
520dac307e
Test if filename is not empty before opening binary file
...
issue2542
2012-04-13 20:55:12 +02:00
Nicolas Évrard
7fd67f008e
Remove .rec_name of M2O from value when not set explicitly
2012-04-13 15:58:55 +02:00
Cédric Krier
97490e46e5
PixbufLoader must be closed before getting pixbuf
...
On windows, jpeg loader needs to be closed to return correct pixbuf.
issue2482
2012-04-13 14:24:08 +02:00
Cédric Krier
dfee4cd190
Loading a record, already there, must trigger signals
...
review322003
2012-04-13 11:42:14 +02:00
Cédric Krier
9edf30a53c
Fix sum computation when value if None
...
issue2538
2012-04-13 11:40:26 +02:00
Cédric Krier
2c49d28893
Make search window activate always response ok
2012-04-11 12:50:47 +02:00
Cédric Krier
508b883720
Editing Many2One from list must have the same behavior as in form
...
review315002
2012-04-11 11:59:10 +02:00
Cédric Krier
a9075429eb
Fix graph when y field is None
...
issue2530
2012-04-09 17:04:30 +02:00
Cédric Krier
0af5a29f88
Remove unused get_default methods
2012-04-03 20:16:29 +02:00
Cédric Krier
69adbd9528
Fix pep8 and pyflakes
2012-04-03 20:04:58 +02:00
Cédric Krier
cffb986b9e
Use None as default value instead of False
2012-04-03 12:25:58 +02:00
Cédric Krier
3ffcc05dc2
Fix open from list of Many2Many fields
...
Use the a WinForm like for One2Many
review314001
2012-04-02 20:30:15 +02:00
Cédric Krier
c24ebf22c7
Fix digits evaluation to allow 0
...
It must replace digit with default value only if it is None
2012-04-01 15:42:00 +02:00
Cédric Krier
ae113f5ebe
Fix float_time widget to allow None as value
...
issue2520
2012-03-30 11:59:37 +02:00
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