Commit Graph
3899 Commits
Author SHA1 Message Date
Cédric Krier 1bf537cd47 Missing removal of context on field
issue4178
review9721003
2014-09-17 22:23:35 +02:00
Cédric Krier c1360595aa Add pre-validation on button
issue4121
review5521002
2014-09-17 22:06:08 +02:00
Cédric Krier e3c9ca8930 Replace side button by icon in the entry
This ensure that all widgets have the same height inside a row.

issue4158
review11461002
2014-09-16 10:09:35 +02:00
Cédric Krier 1fca0d85b6 Use the right record to set wizard button state
When the wizard receive the record-modified signal, current_record is not yet
set on the screen so we must use the record from the signal to set the button
state.

issue4171
review7581002
2014-09-16 10:05:05 +02:00
Cédric Krier c26018a4f3 Better export window
- Add DnD on export window
- Allow to overide predefined export

review578002
2014-09-13 15:33:07 +02:00
Cédric Krier 7143326355 Set new button in focus chain of one2many
New button must be added to focus chain to allow keyboard only creation when
there is no existing record on form view.

issue4145
review13501002
2014-09-13 15:20:35 +02:00
Cédric Krier 945c0f5a5b Prefill export window with current view fields
issue4123
review8511003
2014-09-13 15:11:19 +02:00
Cédric Krier 8f03dc77b5 Fix favorite menu on OSX
As the select event is not managed by the mac menu, it must be done using a
timeout.

issue2303
review9711002
2014-09-13 12:14:08 +02:00
Cédric Krier 36cae5c5c8 Delay update_sum on tree view
update_sum can be called a lot of time as it is called in display which is
called for each record when clearing and if the list of record is large it can
be very slow.

issue4129
review8511004
2014-09-04 22:45:25 +02:00
Cédric Krier f4577bf28b Manage field context on Group value
issue4098
review11391004
2014-08-29 16:49:54 +02:00
Cédric Krier 09fbe1c1d0 Some tree states fixes
- Direct click on save should also store the tree states
- The timestamp of tree states should be ignored for form view because it is
  only for internal usage
- Store in tree states the index instead of id for new records

issue4130
issue4131
review14431002
2014-08-29 16:27:59 +02:00
Cédric Krier 944834994a Remove widget position and use tab_compare instead
issue4092
review13451002
2014-08-29 13:36:19 +02:00
Cédric Krier 4c73900104 Check if record is still in the multiselection when displaying
The records of current value could no more be in the selection if it has changed
because of the domain. So it must no more be displaied and it will be removed by
the call to set_client.

issue4029
review9541002
2014-08-19 14:36:45 +02:00
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