Commit Graph
3886 Commits
Author SHA1 Message Date
Cédric Krier 723caeea73 Don't remove unmodified non-valid record from One2Many
issue4099
review5491003
2014-08-19 14:34:04 +02:00
Cédric Krier 3291c55912 Use same order for children as focus_sort_tab to find focusable child
get_children doesn't return children ordered so they must be ordered according
to their position and the direction.

issue4089
review7451002
2014-08-19 14:29:01 +02:00
Cédric Krier ee7814658a Set focus on the first focusable child of the form if no cursor is defined
issue4091
review7441003
2014-08-19 14:27:21 +02:00
Cédric Krier 6914b254b7 Add export of selection string
issue4036
review14331002
2014-08-04 17:00:40 +02:00
Cédric Krier 2a1763c266 Fix domain inversion evaluation of constrained field
The evaluation to True of constrained clause should only be done for inversion.
Also it should be valid even if a wrong value is defined in the context.

issue4073
review14391003
2014-08-04 16:39:18 +02:00
Cédric Krier 616e9c5358 Load plugins from local user directory
The local plugins are loaded first to get precedence on the system wide
plugins.

issue4032
review13381003
2014-07-31 19:47:44 +02:00
Cédric Krier 1140618c3a Remove grand parent pool for sibling
Walking the grand parent pool could be expensif on large tree to prefetch some
records, so it seems to be a better strategy to limit to sibling.

issue4085
review5461003
2014-07-31 19:41:31 +02:00
Cédric Krier 3c479fc57f Ensure to concatenate export fields list to list
Normally, export_fields should be a list as it comes from json-rpc except when
inside neso. So in this case, it is a tuple since 2.6.

issue4065
review8491002
2014-07-29 12:38:38 +02:00
Cédric Krier d685f5b03e Save parent record after deletion without the deleted children
issue3917
review5441003
2014-07-20 12:57:24 +02:00
Cédric Krier 94cb7b10b4 Manage tree_state attribute
issue4028
review13371003
2014-07-20 12:54:40 +02:00
Cédric Krier 4c6837261b Fix missing rename of view.store
introduced in changeset 0535f5cf7e00

issue4068
review7431002
2014-07-20 12:50:17 +02:00
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