C?dric Krier
ff6d272729
Use set_buffer instead of instantiation parameter of TextView
...
GTK+-3 does not support instantiation with parameter.
issue6753
review43481002
2017-09-11 21:41:28 +02:00
C?dric Krier
bd9efd84b0
Manage also 401 HTTP status to renew session
...
This is a similar status to 403 also used by the server.
issue6748
review40641002
2017-09-07 21:08:29 +02:00
C?dric Krier
8b0e80527e
Use client limit for window action with empty limit
...
issue6740
review40621002
2017-09-07 21:02:03 +02:00
C?dric Krier
6f60a3a5c5
Allow to encode Decimal in ViewSearch
...
issue6744
review35621002
2017-09-07 21:00:28 +02:00
C?dric Krier
f9581df3b7
Improve binary/image buttons
...
- show/hide clear/select button
- move open as primary icon of filename
- show download only when there is data to download
issue6719
review37641002
2017-09-07 18:44:55 +02:00
C?dric Krier
5fcdfe11ba
Improve treeview headers
...
- Use same alignment as the widget
- Use grid lines vertical on non-editable
- Use grid lines both on editable
issue6681
review37601002
2017-09-03 11:30:04 +02:00
C?dric Krier
397a839a2a
Use widget instead of type to set column fixed
...
issue6696
review43371002
2017-08-31 23:42:58 +02:00
C?dric Krier
2f1d523a82
Add missing shortcuts
...
issue6104
review41481002
2017-08-30 18:27:10 +02:00
C?dric Krier
7df25524aa
Unify toolbar and menu definition
...
- Use a unique definition
- Update states of both toolbar and menu
- Use a more logical order
issue5644
review27861002
2017-08-30 18:17:48 +02:00
C?dric Krier
220cb2ba1e
Do not read data from the server if the value is a _FileCache instance
...
If the value was just set by the user, it should not read the data from the
server but use the new data set by the user.
issue6718
review38561002
2017-08-28 18:31:07 +02:00
C?dric Krier
5ee4071497
Mark tree states as done for view without tree_state attribute
...
set_tree_state can be called later with a different view_type and this should
not change the tree.
issue6473
review35251002
2017-08-28 18:26:59 +02:00
C?dric Krier
df4e16ecec
Make readonly, required and invalid widget themable
...
- add classes to the widget
- provide a minimal application style
- allow to load a user theme
- add the profile name to the main window
issue6643
review35141002
2017-08-07 19:58:00 +02:00
C?dric Krier
36d2f2c9d8
Do not try to update keys if an RPCException occurs
...
issue6689
review38511002
2017-08-07 19:53:11 +02:00
C?dric Krier
ac099958c1
Allow to execute button on readonly record and group
...
issue6659
review40551002
2017-08-04 00:31:26 +02:00
Karla Stenger
ab6e67befd
Add profile_name or login details in title
...
issue6598
review42471002
2017-07-29 19:45:00 -03:00
C?dric Krier
2652e0dacf
Use keyword argument model to instantiate ComboBoxEntry
...
Gtk+-3 supports only keyword arguments
issue6588
2017-07-27 18:56:31 +02:00
C?dric Krier
58dcbe4442
Test correctly if saved record has the id 0
...
issue6646
review42531002
2017-07-27 10:26:24 +02:00
C?dric Krier
aad0359f95
Catch all Exception on RPC call that does not process them
...
Those methods should never fail because the UI can not manage them.
issue6662
review35201002
2017-07-26 23:54:43 +02:00
C?dric Krier
6b7f3ef6b2
Compare to end instead of '\0' as GTK3 return empty string instead
...
issue6656
review35171002
2017-07-26 23:41:08 +02:00
C?dric Krier
62f0791974
Convert color to 2 digit hexadecimal instead of relying on pygtk __str__
...
issue6656
review35171002
2017-07-26 23:40:45 +02:00
C?dric Krier
89f0bb9f76
Use get_color_selection instead of the pygtk colorsel attribute
...
issue6656
review35171002
2017-07-26 23:39:52 +02:00
C?dric Krier
ee0c6dd5b1
Do not hide the search window when combobox shows its popup
...
When a combobox shows its popup, the search window loose the focus so in this
case it must not be hidden.
issue6654
review41451003
2017-07-26 23:38:16 +02:00
C?dric Krier
a360206a35
Use right form view in Many2One and WinSearch
...
The first view which is a tree must be removed from the view ids as mode of
the screen is form only.
issue6510
review40531002
2017-07-26 23:25:21 +02:00
Sergi Almacellas Abellana
6ecda8760c
Ensure screen view_ids is always a list
...
issue6649
review42541002
2017-07-19 09:27:47 +02:00
C?dric Krier
8ee3f78a49
Apply widget style to editable entry
...
The Char widget with autocomplete should apply the style on the entry widget
instead of the ComboBoxEntry.
issue6620
review41431002
2017-07-16 23:52:05 +02:00
Karla Stenger
e6715044a7
Update CONFIG['login.profile'] after connection succeeds
...
issue6597
review36461002
2017-07-13 12:06:20 -03:00
C?dric Krier
474e2aff44
Clear profile combo when filling entries and on each loop
2017-07-13 00:01:17 +02:00
C?dric Krier
35ed728f58
Missing removal of port in option parser
...
issue6595
2017-07-12 23:59:48 +02:00
C?dric Krier
7e12813762
Do not store host/port split
...
There is a mismatch between how the profiles are stored. Sometimes the host
contains the port and sometimes not. So we rationalize this by removing the
storage of the port and always store the full host as the user type it.
issue6595
review36421002
2017-07-12 20:00:59 +02:00
C?dric Krier
9b049e174f
Set sequence when editable tree create new record
...
If the editable view has a sequence attribute, it must set the sequence when
creating new record otherwise the sequence field is left empty and there is no
guarantee that the order will be preserved on the save.
issue6622
review36421003
2017-07-12 19:27:36 +02:00
C?dric Krier
40b3531a63
Add Attr* constructors to Pango
...
This implements the same constructors as pygtk for pango.
issue6600
review41421002
2017-07-11 00:14:46 +02:00
C?dric Krier
9bfe68e8f5
Instantiate ComboBoxEntry with the model
...
In Gtk+-2, the default cellrenderer is not updated by the call to
set_entry_text_column so it must be correctly inferred with the model at
instantiation.
issue6588
review34221002
2017-06-29 23:14:27 +02:00
Karla Stenger
0696fee3fd
tryton: Initialize profile value and always update it to CONFIG
...
issue6597
review36401002
2017-06-26 11:49:41 -03:00
C?dric Krier
0970af8469
Set internal value of richtext widget if it is the same as widget value
...
This prevents to trigger a modification on the record only because the
internal value was not normalized.
issue6520
review38381002
2017-06-13 09:39:46 +02:00
C?dric Krier
47fdc9b462
Increase version number
2017-05-01 19:29:39 +02:00
C?dric Krier
1591d89e2e
Added tag 4.4.0 for changeset 763dc5d8e1d7
2017-05-01 19:28:49 +02:00
C?dric Krier
d87c7e44d7
Prepare release 4.4.0
2017-05-01 19:28:48 +02:00
C?dric Krier
3e2d345d3b
Update translations
2017-04-29 18:53:45 +02:00
C?dric Krier
338df54325
Set sequence also when using product on One2Many
...
As sequence is needed in many places, its computation is factorize in a private
method.
issue6439
review34921002
2017-04-29 10:31:42 +02:00
C?dric Krier
efbb9bb9ae
Skip validate only on constant readonly fields
...
A field can be readonly by the domain inversion in the validate method. So it
should be validated again in case its domain inversion change and reset it a
non-readonly.
So only field that are always readonly can be skipped for the validation.
issue6448
review37351002
2017-04-26 19:36:21 +02:00
C?dric Krier
e7949e25d9
Do not really remove records that do not have parent
...
The parent test is redundant with the force_remove flag. So be removing this
test, we activate the remove/unremove feature on WinForm without parent.
issue6342
review32121002
2017-04-12 15:41:08 +02:00
Florian Preinstorfer
397dade252
Fix various documentation issues
...
Fix:
* broken links
* invalid headline
* several typos and spelling fixes
Remove:
* home documentation
* tips documentation
Add:
* global search documentation
* user preferences > applications documentation
issue6428
review30241002
2017-04-12 15:33:33 +02:00
C?dric Krier
ecbd4cf006
Remove only initially selected rows in CSV export/import
...
The selection is changed after each removal and select new rows which result in
removing all the rows.
Indeed the TreeIter should be computed before modifying the store to ensure to
always remove the right rows.
issue6413
review37311002
2017-04-10 23:20:58 +02:00
C?dric Krier
a307d791f0
Use custom hour with microsecond format
...
Appending microsecond to the locale time format does not always work when the
locale use AM/PM notation.
issue6398
review30211002
2017-04-06 10:45:38 +02:00
Sergi Almacellas Abellana
05a935c547
Don't show field string in treeview help tooltip
...
issue6333
review28211002
2017-03-31 09:36:00 +02:00
Sergi Almacellas Abellana
31127f8f84
Ensure view_ids is a list when opening from popup_menu
...
issue6405
review35341002
2017-03-30 17:02:40 +02:00
C?dric Krier
6897e950f8
Manage context domain on screen
...
issue5485
review32061002
2017-03-29 22:37:46 +02:00
C?dric Krier
d9177741cb
Use selection mode constant instead of string
...
In GTK-3, it is not supported to use string instead of the constant.
issue6387
review27241002
2017-03-29 22:32:51 +02:00
C?dric Krier
c52ef0cbbf
Use Adjustment properties
...
The direct attributes are only available in GTK-2.
issue6383
review33251002
2017-03-29 22:31:52 +02:00
C?dric Krier
0d92007717
Use None as limit for xxx2Many and menu
...
The sort uses search_filter to retrieve the sorted ids list but this method use
the limit attribute of the screen. The xxx2Many values has no limit.
issue6363
review33211002
2017-03-23 23:03:56 +01:00