Cédric Krier
d71f83bf47
Change range operator of search widget to be included
...
issue3997
review11311003
2014-07-09 00:43:21 +02:00
Cédric Krier
fedf9468f9
Fix when number's factor is negative
...
It must use the absolute value of factor to compute the digit shift using the
logarithm.
issue4031
review11361002
2014-07-09 00:28:00 +02:00
Cédric Krier
8d440f904c
Fix rename of cells into widgets in tree view
2014-07-03 12:31:21 +02:00
Sharoon Thomas
a9202213b5
Add gtkrc for OSX key bindings
...
issue3960
review12351002
2014-06-29 09:50:29 +05:30
Cédric Krier
1ea3fef7f0
Use PopdownMixin for autocompletion on Char
...
issue3985
review6381002
2014-06-28 15:20:26 +02:00
Cédric Krier
a70338cdc3
Block changed method when setting value in display of selection widget
...
When displaying record value, selection should not call focus_out.
issue3698
review11351002
2014-06-28 14:58:32 +02:00
Cédric Krier
1ec49a016b
Don't use super to get the parent do_* methods of gtk widget
...
With some version of GTK, using super call to get the do_* function doesn't
work. It seems it returns a meta function that will call back the do_* of the
instance. So this leads to an infinite loop.
issue4016
review5421002
2014-06-28 14:51:36 +02:00
Cédric Krier
df9a86bdce
Add missing synchronisation of help attribute from field to widget
...
since changeset 0535f5cf7e00
2014-06-26 18:57:07 +02:00
Cédric Krier
354448b6df
Add missing client limit when searching on Many2One from list view
...
issue4007
review8461002
2014-06-26 18:54:19 +02:00
Cédric Krier
c8f149edad
Add missing type register of TreeViewControl
...
review10391002
2014-06-24 23:23:38 +02:00
Cédric Krier
d364737e28
Speed up adding record to One2Many via on_change
...
There is no need to trigger a group-changed for each record added to the same
Group because it will trigger a global display and a the O2MField._group_changed
which depends only on parent.
issue3966
review6331002
2014-06-22 17:06:29 +02:00
Cédric Krier
8dee983fc8
Fix initialisation of CellRendererBinary properties
...
The definition are wrong for boolean type and editable is not initialised in
__init__ which may crash if the property is not changed before rendering.
issue4002
review10381002
2014-06-22 16:57:10 +02:00
Cédric Krier
6c9be320c5
Freeze recursively on_change value before using it as key
...
on_change value can contains unhashable values like dictionary or list.
issue3989
review10371003
2014-06-22 16:50:00 +02:00
Cédric Krier
64ee45208c
Clean many2one only if text was modified
...
As update_completion emit the signal changed to force the display of the popup
when the completion model is changed. In this case the many2one should not be
cleaned.
issue3881
review7371002
2014-06-16 18:26:54 +02:00
Cédric Krier
afaeb9ce6c
Fix mix up of record and id in popup_menu
...
issue3990
review10371002
2014-06-16 18:25:38 +02:00
Cédric Krier
72e7f282fa
Quit instead of logout when password cancelled
...
Make a logout when there is no more a password/session could generate a lot of
errors or popups. As any way nothing could be saved to the server, it is better
to just quit the application.
issue3908
review7381002
2014-06-16 18:24:24 +02:00
Cédric Krier
91b7463a1d
Fix rename of cells into widgets in tree view
2014-06-16 16:07:42 +02:00
Cédric Krier
013c5b8313
Don't force setting current_record on calendar view
...
issue3986
review5401002
2014-06-13 19:10:44 +02:00
Cédric Krier
252956af26
Add missing default value of yexpand and yfill for Paned
...
issue3984
2014-06-11 17:29:00 +02:00
Nicolas Évrard
2636c2ea5b
Quote doublequote characters when copying records to clipboard
...
issue3972
review6341002
2014-06-11 16:47:13 +02:00
Cédric Krier
08eece83d6
Fix rename of children into widgets for calendar view
2014-06-11 12:02:18 +02:00
Cédric Krier
371839db20
Set name attribute from parent if affix doesn't have one
...
issue3982
review8421004
2014-06-11 09:28:36 +02:00
Cédric Krier
aad1f66dff
Fetch dictionary keys by batch
...
issue3357
review7331002
2014-06-09 18:14:38 +02:00
Cédric Krier
a2ac629320
Refactorize XML parsing
...
issue3938
review11281004
2014-06-09 18:09:45 +02:00
Cédric Krier
a320fbc2b2
Execute client action also for wizard run from menu
...
issue3964
review7341002
2014-06-09 18:01:59 +02:00
Cédric Krier
b26354df23
Call on_change's after setting default values
...
issue3923
review10351002
2014-06-08 00:36:01 +02:00
Cédric Krier
c821aaf8b4
Fix simplify for simple domains ['AND'], ['OR']
...
issue3955
review9411002
2014-06-08 00:23:57 +02:00
Cédric Krier
4c63c7e8b0
Don't guess the values for no reference
...
No reference could use '' or None as selection value for the model. So to
prevent to detect false-positive modification and to set invalid value, the
widget must find which one is used as empty model.
issue3933
review11291002
2014-06-08 00:23:02 +02:00
Cédric Krier
aefd6d2291
Skip missing key of Dictionary field
...
issue3944
review5361002
2014-06-08 00:21:53 +02:00
Sharoon Thomas
3d67c38308
Call OSXApplication.ready() after window.show
...
This patch fixes the case where the OSX app shows an additional
apple icon on the menubar.
issue3961
review6321002
2014-06-02 10:06:32 +05:30
Guillem Barba
e36beee4fd
Detect correctly when to parse value from DateTime, Date or Time field
...
issue3957
review12341002
2014-06-02 17:23:22 +02:00
Cédric Krier
7fc9b25025
Manage sorted on dictionary field's selection
...
issue3605
review2831002
2014-05-30 16:32:40 +02:00
Cédric Krier
aa4d0d0ed7
Clean some wrong usage of True/False
...
review13271002
2014-05-27 22:28:28 +02:00
Cédric Krier
924850b2d3
Align on top the labels and add border to selection of the search box
...
review10321002
2014-05-27 22:27:08 +02:00
Cédric Krier
bc8c3f5fa3
Add cellrenderer cache
...
issue1318
review12291003
2014-05-23 11:59:26 +02:00
Cédric Krier
b3580ae22d
Remove headers of multiselection
...
issue3915
review14281005
2014-05-23 11:51:25 +02:00
Cédric Krier
aafd3413c8
Trigger focus out when selection of multiselection is changed
...
issue3913
review12301002
2014-05-23 11:34:32 +02:00
Cédric Krier
6feab3f2aa
Some widgets are registered many times
...
This could lead to have buttons clicked many times because the clicked event
will be registered many time.
issue3924
review8371002
2014-05-22 23:29:38 +02:00
Cédric Krier
983f6011f8
Set None instead of False when moving record on top
...
issue3912
review14291002
2014-05-22 23:28:30 +02:00
Cédric Krier
26368bfb5a
Factorize TreeView with CONTROL MASK inverted
...
- always grab focus on button press
- use bitwise exclusive or to allow usage of CONTROL
- use this view for search box
issue3919
review5301002
2014-05-22 23:27:31 +02:00
Cédric Krier
6763875179
O2M.set_client should compare with active records
...
issue3914
review14281004
2014-05-17 18:42:21 +02:00
Cédric Krier
81e6348cfe
Skip relation field for on_change value of One2Many
...
This prevents infinite recursion when the parent has many one2many fields.
issue3907
review13311002
2014-05-17 18:38:48 +02:00
Cédric Krier
1334df6bcc
Use a timestamp for storing cache of tree states
...
issue3888
review9281002
2014-05-17 18:34:55 +02:00
Cédric Krier
1ab3c3a84c
Set button readonly when record or group is readonly
...
issue3904
review13301002
2014-05-17 18:32:43 +02:00
Cédric Krier
9430420997
Fix eval_leaf when field equals 0
...
Only None must be considered as a value not set which will be forced by the
domain inversion.
issue3896
review14271002
2014-05-17 18:30:08 +02:00
Cédric Krier
8d89cfec11
Use a tuple model, dictionary for Reference field
...
issue3902
review9331002
2014-05-10 20:29:57 +02:00
Cédric Krier
2c0a604592
Use Group.child_name instead of relation_field to skip on_change values
...
relation_field is not reliable see issue3899
issue3819
review9311002
2014-05-09 14:27:25 +02:00
Cédric Krier
6082036948
Use the right widget to get text in Char widget
...
issue3898
review9301002
2014-05-09 10:13:53 +02:00
Cédric Krier
f910e3ae34
Fix update completion for empty reference
...
issue3890
review12271002
2014-05-07 20:38:47 +02:00
Cédric Krier
d5cf57b1e1
Explicitly set value of parent field
...
issue3819
review5061002
2014-05-06 22:55:49 +02:00