Commit Graph
4274 Commits
Author SHA1 Message Date
Cédric Krier 23327ca31e Grow multiselection widget to show all items if yexpand is not set
When there are few options, the widget is often used with no yexpand to look
like a normal field. But in this case, some options could be not visible and
user could miss them.

issue5994
review33551002
2016-10-31 22:50:15 +01:00
Cédric Krier 3ad650bd07 Use pygtkcompat to support GTK 3.0
issue5387
review16441002
2016-10-31 17:22:45 +01:00
Cédric Krier c12c74cc79 Destroy wizard after exception in create call
The wizard must be destroyed otherwise it let the sensible widget insensitive.

issue5975
review31651002
2016-10-31 17:18:05 +01:00
Sergi Almacellas Abellana 0225962b25 Add PYSON widget
issue4631
review24021002
2016-10-31 13:39:50 +01:00
Cédric Krier 0d3f57b761 Remove print statement
Introduced by changeset 1d736ce446d3
2016-10-30 20:24:43 +01:00
Cédric Krier ebd3df51de Update link to Easy Install
issue5963
2016-10-30 19:56:38 +01:00
Sergi Almacellas Abellana 21fd28ea05 Manage the text color and background color in calendar view
issue5953
review33471002
2016-10-28 17:57:22 +02:00
Xavier Codinas 58e0499675 Add client.title in config
issue5968
review33501002
2016-10-28 09:58:53 +02:00
Xavier Codinas 4477881805 Remove exclamation point on user error messages
issue5978
review31631002
2016-10-28 09:14:44 +02:00
Sergi Almacellas Abellana 188e5eed39 Show records names in wizard title
issue5933
review26761002
2016-10-27 09:55:52 +02:00
Cédric Krier c7d43aecc9 Add support for button rule
issue5944
review29631002
2016-10-26 09:45:00 +02:00
Jan Grasnick ff24257062 Add support for datetime_field to fields.Reference
issue4579
review27721002
2016-10-26 09:36:04 +02:00
Cédric Krier 85d06d32cb Use cancel_record instead of removing from group
cancel_record uses Screen.remove which ensure the cursor is correctly set after
the removal.
This also ensure that cancel_record remove only the current record.

issue5852
review34331002
2016-10-25 23:13:35 +02:00
Cédric Krier 30147f38e5 Do not apply screen domain on xxx2Many field
The screen domain on those fields only means at least one record
and not all records.

issue5948
review30631002
2016-10-25 23:11:21 +02:00
Angel Fernandez a99e4e963d Manage similar tabs on favorites menu
issue3940
review30641002
2016-10-21 11:57:11 +02:00
Cédric Krier 97303d3f72 Explain the meaning of '~' in documentation
review33481002
2016-10-21 11:03:37 +02:00
Cédric Krier 8522331fa2 Show connection error message instead of version compatibility
When test_server_version does not have the version of the server, it is not a
version compatibility issue but a connection issue.

issue5950
review33451002
2016-10-20 12:22:01 +02:00
Sergi Almacellas Abellana 5a8c313cc1 Use the same src text for boolean in ScreenContainer and in DomainParser
Otherwise the translated value may return a different value and then it's
comparison will fail.

issue5904
review30541002
2016-10-13 17:05:55 +02:00
Sergi Almacellas Abellana f7a44c0cfc Always use common.datetime_strftime for datetime formating
Otherwise it will fail for dates before 1900.
issue5930

review28881002
2016-10-13 09:45:25 +02:00
Sergi Almacellas Abellana fd3c77490f Use model name as tab title when opening records from global search
issue5938
review30601002
2016-10-08 20:55:41 +02:00
Cédric Krier 31593e2802 Merge Spanish's into Spanish (Latin American) 2016-10-08 12:42:37 +02:00
Cédric Krier 6802d9925d Avoid calling unnecessary domain_parser
The construction of the domain_parser can generate RPC calls so it is better to
avoid construct it if possible.

issue5918
review26741002
2016-10-05 22:39:06 +02:00
Cédric Krier b2265c6d76 Reduce the number of call to ir.ui.view_tree_state
The state should not be loaded for view without the tree_state attribute and
neither for view with a unsaved parent.

issue5917
review30571002
2016-10-05 22:34:22 +02:00
Sergi Almacellas Abellana 9511a323c0 Update tab_count when using a search filter
issue5864

review27621002
2016-10-03 09:32:56 +02:00
Cédric Krier 8d89c49591 Replace py2exe and py2app by cx_Freeze
issue5084
issue5085
review28821002
2016-10-02 14:58:47 +02:00
Cédric Krier 3aadca7bf0 Improve Group.set_sequence
- do not load record if there is no record changed above as it can be assumed
  that the sequence is still valid.
- do not update the sequence if the tuple sequence and id is still valid.

issue5873
review28801002
2016-09-27 12:00:24 +02:00
Cédric Krier bdb7c72e14 Manage ProtocolError as a Fault and use correct content-type
issue5782
review29451002
2016-09-27 11:57:10 +02:00
Cédric Krier a08f1630da Fix drop on attachment button under KDE
The copy action needs to also be set to avoid having to use "Shift"
on the drop.

issue5871
review33391002
2016-09-21 00:21:35 +02:00
Sergi Almacellas Abellana 0951bd03e9 Add test from parse_clause with nested generator
issue5883
review26661002
2016-09-20 09:52:25 +02:00
Cédric Krier fdce24fc3b Show non editable widget as insensitive
Since changeset 37b76806c878, there is no visual hint for the editable property
of a widget. So we will change the normal fg/base/bg for their insensitive
values.

issue5855
review28741002
2016-09-19 22:34:29 +02:00
Cédric Krier 0c31ae95ea Move info-bar at the bottom
issue5857
review28751002
2016-09-19 22:20:08 +02:00
Cédric Krier d4149a33b9 Empty value in O2M should remove existing record
The changeset b05bedef260a wrongly skip the removal of existing record in the
group. So it was not possible to remove the last record of the field.

issue5878
review31521002
2016-09-15 22:23:10 +02:00
Cédric Krier ea0e436226 Set correctly image on ImageMenuItem
issue5872
review34261002
2016-09-15 22:22:16 +02:00
Sergi Almacellas Abellana 20fe330660 Manage readonly on field translations
issue5824
review31481002
2016-09-13 10:19:57 +02:00
Cédric Krier da1da413ff Normalize lang to be able to convert it into windows name
issue5443
review27631002
2016-09-12 21:09:26 +02:00
Cédric Krier a5b7c30428 Rename language codes
issue5443
2016-09-10 23:27:44 +02:00
Cédric Krier 68c90d3fbb Add overwrite confirmation on file selection dialog
The feature is only available for GTK >= 2.8
so it is activated using duck typing.

issue5851
review30461002
2016-09-10 10:43:12 +02:00
Nicolas Évrard b99c5b0988 Honor required and readonly status in [OM]2M title label
issue5649
review29301002
2016-09-08 10:15:03 +02:00
Cédric Krier 083a267516 Set parent on RPCProgress only for asynchronous call
It is is useless to change the cursor for synchronous call because the event
loop will not have a chance to update the cursor.

issue5845
review29491002
2016-09-06 09:28:46 +02:00
Cédric Krier f6bbc1db50 Do not popup error message in favorit_set
The method is triggered by the menu select event which will trigger a
segmentation fault in GTK if a popup (error message or login) is displayed
during the callback.
So we just ignore the error and let the callback triggered a next time.

issue5843
review32561002
2016-09-06 09:07:08 +02:00
Cédric Krier b58937a4d5 Do not store in calendar invalid event
The user could create an event with an end date before the start date during
edition. So event must not be added to the store of GooCalendar because it does
not support such inconsistency.

issue5723
review33291002
2016-08-31 23:00:05 +02:00
Cédric Krier d214800cda Show up login dialog on 404 error when login
Only 404 needs to go back to login dialog.

issue5837
review21231003
2016-08-31 22:58:05 +02:00
Cédric Krier 36aab63dac Convert file names from gtk.FileChooserDialog
On POSIX, it is encoded using the file system encoding.
On Windows, it is always UTF-8.
See http://www.pygtk.org/pygtk2reference/class-gtkfilechooser.html#FileNamesAndEncodings

issue5671
review21231002
2016-08-31 22:55:03 +02:00
Xavier Codinas 0f98f48d8c Restore tab default order when no manual change
issue5763
review29441002
2016-08-25 16:29:45 +02:00
Cédric Krier 2b1412c835 Stop using dtstart when dtend is not defined
Goocalendar supports to have None as value for end date so we must use it if
dtend is not defined.
Also it is better to fail directly on missing dtstart attribute.

issue5786
review32431002
2016-08-25 15:44:28 +02:00
Cédric Krier 2e6c7ce418 Limit connection pool size to 4
issue5787
review28661003
2016-08-23 18:37:24 +02:00
Cédric Krier d016d4c08c Return None on exception in server_version
dblogin does not except to receive an exception in test_server_version.
Raising an exception makes the dialog freeze.
The raise was introduced probably by mistake by changeset 0eb1d501ca9d.

issue5789
review31451003
2016-08-19 21:31:17 +02:00
Sergi Almacellas Abellana 3875d535d8 Manage view types in calendar view
issue5761
review22211002
2016-08-17 10:55:52 +02:00
Cédric Krier 3735e089dc Show wizard dialog before adding screen widget
The dialog must be shown before the screen is display otherwise if it contains
a treeview with icons, they will not be displayed because the view will not yet
be realized.

issue4805
review25551002
2016-08-10 22:51:08 +02:00
Cédric Krier 67e36759ba Manage None value in One2Many._set_value
None could be a valid value when the read fails and a default None value is
used instead.

issue5729
review28611002
2016-08-10 22:43:19 +02:00