Commit graph

4364 commits

Author SHA1 Message Date
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
C?dric Krier
8e51d24d8b Do not override empty mode of Screen
issue6381
review34791002
2017-03-23 22:55:11 +01:00
C?dric Krier
9df7d77298 Use compact separators to dump json
issue6373
review31211002
2017-03-23 22:53:03 +01:00
C?dric Krier
090b23f497 Replace filter button by entry icon
This removes the feeling of unaligned label between the filter button and the
context labels.

issue6307
review33141002
2017-03-21 23:29:44 +01:00
Sergi Almacellas Abellana
14f51d0c2a Explicity copy action context on board action
The context is implicitly copied by or operator when it is evaluated to false,
but we should ensure it's always copied as it's updated with action values
issue6336

review34771002
2017-03-16 14:06:44 +01:00
C?dric Krier
6a0a618497 Catch RPCException in count_tab_domain
issue6325
review27171002
2017-03-13 20:59:39 +01:00
C?dric Krier
bd4c43630d Set default keyword for action triggered by button
issue6302
review33871002
2017-03-13 20:35:17 +01:00
C?dric Krier
4aaf70cff4 Use attributes keyword argument for Screen
issue6303
review32071002
2017-03-08 10:48:34 +01:00
C?dric Krier
65e95c2d30 Always verify certificate with CA
The fingerprint is no more used for certificate verification but only to
prevent fallback to plain http connection.
The system CA is used by default if no ca_certs is configured.

issue6270
review27991002
2017-03-08 10:44:01 +01:00
Nicolas ?vrard
58eb76e3ec Correctly convert datetime in the domain parser
issue6301
review28061002
2017-02-27 10:58:12 +01:00
C?dric Krier
6b86fd6323 Remove tips
issue6285
review26191002
2017-02-25 18:40:23 +01:00
C?dric Krier
3759d1673a Ellipsize tab label longer than 20 chars
Replace the size request hack as it does not work on GTK3.

issue6284
review34721002
2017-02-25 18:38:15 +01:00
C?dric Krier
0376ccf339 Avoid unnecessary write of known_hosts file
Loading the existing file should not trigger a save of the file on each key
neither when setting the same fingerprint.

issue6098
review31111002
2017-02-20 23:12:30 +01:00
C?dric Krier
d0e01be3b7 Disable create new record from key on read-only editable tree
issue6220
review33071002
2017-02-17 18:47:21 +01:00
C?dric Krier
d811ade6f0 Do not assign menu definition as it is a property
Instead set revision callback dynamically.

issue6257
2017-02-14 13:36:34 +01:00
C?dric Krier
64731ea0da Do not skip One2Many with readonly attribute for modified values
Since changeset f4d51f07325d, the readonly state of one2many is not limited to
the modification of existing lines.

issue6256
review31091002
2017-02-14 00:05:19 +01:00
C?dric Krier
a079244f4c Change toolbar_def and menu_def into instance property
The list need to be re-evaluated on each instantiation because the strings must
be translated using the current language.

issue6257
review27981002
2017-02-14 00:02:38 +01:00
C?dric Krier
0b7bc68727 Use record context to trigger action from pop-up menu
And allow to pass a context when record is an integer.

issue6214
review27951002
2017-02-11 19:10:28 +01:00
C?dric Krier
417b32fc3e Unquote URI before passing to urlopen
issue5503
review29191002
2017-02-08 21:35:01 +01:00
C?dric Krier
11ff953e14 Use underline for save button in form window
issue6233
review29961002
2017-02-07 01:12:31 +01:00
C?dric Krier
bfca4e5ba6 Backed out changeset 42f552527a47 2017-02-06 23:23:54 +01:00
C?dric Krier
48473cca6d Increase version number 2017-02-06 22:36:20 +01:00
Nicolas ?vrard
9295f58f91 Cast Date and Time field value to the correct type when checking for modification
issue6179
review33751002
2017-01-27 19:47:20 +01:00