Cédric Krier
854898a708
Replace value attribute of HTTPStatus by int call
...
In Python3.4, HTTPStatus are not yet enums but just integers.
issue7945
review54471002
2019-01-02 19:01:08 +01:00
Cédric Krier
c37edc62f7
Decode JSON selection data
...
json.loads accept bytes only since Python 3.6
issue7833
review48691002
2019-01-02 18:59:47 +01:00
Cédric Krier
6c7cedb1f1
Keep column arrow up to date
...
When an order is set on a One2Many widget and the user reload the form, the
selected order is lost and so the client should no more display those arrow.
For that we update the arrows on each display using the screen order. And we
unset the screen order when the group change as we do not know the order of
this group.
issue7817
review70481002
2019-01-02 18:56:34 +01:00
Cédric Krier
6cc13fd3d4
Do not recycle first record as product result
...
The value of the field of the first record, which is edited in the list, will
be lost. Because the editable widget is started before the search pop-up and
it override the new default value with its content when the pop-up is closed.
So we can not reuse record create before the pop-up.
issue7941
review49681002
2019-01-02 18:53:18 +01:00
Cédric Krier
0f73879d51
Remove country code from languages
...
issue7863
review53481002
2018-12-31 15:36:49 +01:00
Cédric Krier
89e35d443d
Ensure translate_widget_set is always called with string
...
issue7922
review56511002
2018-12-30 00:17:57 +01:00
Cédric Krier
dc22691801
New API to read related fields
...
issue7888
review58431002
2018-12-21 23:41:56 +01:00
Nicolas Évrard
f78cd43c22
Fix domain inversion of child_of mixing M2O and Reference fields
...
Domain inversion on Reference field does not work when using the dotted
notation with a M2O field using child_of or parent_of.
To solve this we correctly compute the localization of child_of leaves when
using the dotted notation (which renders the inverse_leaf function useless).
But we must also ensure that the selection used by reference fields restrict
the choice to the right models.
issue7869
review60441002
2018-12-20 18:44:31 +01:00
Cédric Krier
d4a26630d7
Fix placeholders in locale
2018-11-17 14:01:46 +01:00
Cédric Krier
7b3ae1d70a
Do not reset tree state after save
...
issue7822
review54411003
2018-10-31 18:52:35 +01:00
Cédric Krier
2e23ae5140
Store in memory the tree state even if save_tree_state option is not set
...
issue7818
review54411002
2018-10-31 18:29:48 +01:00
Cédric Krier
75bb8f6ddd
Set the state on tree view without tree_state
...
issue7818
review54411002
2018-10-31 18:29:28 +01:00
Cédric Krier
d85484ba5f
Do not fail on One2Many with only tree mode
...
switch_view should stop when it does not find the view type.
WinForm should not open if the requested view type can not be set.
issue7824
review45791002
2018-10-31 18:21:31 +01:00
Cédric Krier
d8f2a2a1e1
Use right new_order list when calling rows_reordered
...
rows_reordered takes a list like new_order[newpos] = oldpos
issue7820
review64461002
2018-10-31 18:19:51 +01:00
Cédric Krier
357b309698
Remove custom strftime for year before 1900
...
The bug has been fixed in Python 3.3
issue7814
review48671002
2018-10-31 18:15:57 +01:00
Cédric Krier
4287ca91bf
Wait to be sure about the scheme before construct the bus URL
...
issue7792
review54401002
2018-10-31 08:30:47 +01:00
Cédric Krier
62ba7b5a02
Fix import of HTTPStatus for Python3.4
...
issue7812
review70421002
2018-10-30 18:24:23 +01:00
Sergio Morillo
8cb697582c
Use gobject to call idle_add instead of gtk
...
Under Gtk3 and pygtkcompat, gtk module has not the idle_add method.
issue7810
review64451002
2018-10-26 00:18:09 +02:00
Cédric Krier
11838f1dce
Add drag & drop support on binary widget
...
issue7722
review54381002
2018-10-25 21:03:25 +02:00
Cédric Krier
1f2167a7ce
Domain with ids are not stringable
...
issue7788
review74381002
2018-10-21 21:32:18 +02:00
Cédric Krier
6f69b8b7b1
Do not fail on missing attribute when compare tabs
...
issue7768
review49621002
2018-10-21 21:30:05 +02:00
Cédric Krier
99541190e2
Override send_headers instead of send_content
...
The send_headers is the hook dedicated to subclassing. So we replace the
Content-Type set by send_request.
We can also remove the custom code for encode_threshold as it is now included
in standard module.
issue7753
review58391002
2018-10-08 16:03:21 +02:00
Cédric Krier
291fa96b53
Catch also socket timeout and wrong certificate when trying SSL
...
issue7754
review56431002
2018-10-04 09:10:19 +02:00
Cédric Krier
19d2dd151a
Make setup-freeze.py executable
2018-10-01 23:08:15 +02:00
Cédric Krier
b6b0bdb5ba
Increase version number
2018-10-01 12:31:42 +02:00
Cédric Krier
8242502422
Added tag 5.0.0 for changeset 70ade9d1fe04
2018-10-01 12:31:28 +02:00
Cédric Krier
dfa9ff81fb
Prepare release 5.0.0
2018-10-01 12:31:28 +02:00
Cédric Krier
6e618136d8
Set correct operator precedence to resize pixbuf
...
issue7748
review64431002
2018-09-29 20:39:04 +02:00
Cédric Krier
3b576e29d2
Toggle window hide on time popup-show
...
This prevent the search window to be hidden when the time drop down is opened.
issue7747
review56411002
2018-09-29 20:38:03 +02:00
Cédric Krier
9480bc8993
Do not fail on configparser error
...
The client should not crash if the profiles.cfg is corrupted because it
prevent the user to use the profile manager and correct the error.
issue7751
review49611002
2018-09-29 20:36:41 +02:00
Cédric Krier
91fc6e4003
Update translations
2018-09-28 23:02:33 +02:00
Cédric Krier
b5c4b37fd9
Do not compare against integer when reference id is None
...
issue7742
review66421002
2018-09-28 22:06:39 +02:00
Cédric Krier
c16d40492e
Move record delete to group to get the group context
...
issue7733
review53431002
2018-09-28 17:35:05 +02:00
Cédric Krier
071d07beec
Fix activate and value format of Times in filter
...
issue7740
review64421002
2018-09-28 17:33:46 +02:00
Cédric Krier
76ecc531ba
Remove preferences description
...
The fields come from the server and depend on the activated modules.
issue7750
review56421002
2018-09-28 17:13:30 +02:00
Cédric Krier
a4e7a34920
Add missing compare method to Wizard
...
When wizard is run as tab, it must also have a compare method.
issue7741
review52511002
2018-09-27 22:21:30 +02:00
Cédric Krier
bdc029f5b4
Allow to attach multiple files
...
issue7735
review56391002
2018-09-26 23:05:11 +02:00
Cédric Krier
7348cb7551
Allow to disable Bus
...
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Cédric Krier
fe9de6ef00
Compare tab before instantiate them
...
This prevents to fetch views and make search on a tab that already exists.
issue5799
review53411002
2018-09-24 14:40:04 +02:00
Cédric Krier
5d992e9442
Encode data to call gtk_selection_data_set
...
gtk_selection_data_set requires guchar which is bytes encoded in UTF-8 in
Python3.
issue7710
review64381002
2018-09-24 14:33:27 +02:00
Cédric Krier
1ac825f966
Show ScrolledWindow before setting the states
...
This prevent of weird behavior when the ScrolledWindow is the last and only
visible Notebook widget. Without this call to show, the page is not visible in
the Notebook.
issue7698
review54351002
2018-09-24 14:26:40 +02:00
Cédric Krier
6a6bbce96e
Fix wrong name for tryton-attachment in popup menu
...
issue7723
2018-09-23 09:24:38 +02:00
Cédric Krier
e91cbf7832
Allow to pass parent_context when calling get_context
...
issue7697
review56381002
2018-09-21 11:02:08 +02:00
Cédric Krier
2775d1639b
Use add_box as tryton-create icon
...
issue7711
review66391002
2018-09-21 10:59:00 +02:00
Cédric Krier
4ad702805c
Remove usage of Clipboard set_with_data
...
The method is not exposed by the introspection.
issue7589
review66381002
2018-09-19 09:11:12 +02:00
Cédric Krier
910c911fa7
Replace do_start_editing by 'editing-started' signal
...
issue7691
review66371002
2018-09-19 09:09:10 +02:00
Cédric Krier
647a0d32f1
Replace self by cls in classmethod
...
issue7630
review74341002
2018-09-19 00:15:59 +02:00
Cédric Krier
f296a75281
Add quick return when evaluate simple expression
...
issue7696
review49571002
2018-09-19 00:13:59 +02:00
Cédric Krier
af117d0642
Do not set text property on CellRendererToggle
...
CellRendererToggle does not have a text property.
issue7667
review51511002
2018-09-13 18:44:05 +02:00
Cédric Krier
ae5476c64c
Encode string to write as binary and use file_write
...
issue7686
review68311002
2018-09-12 12:50:00 +02:00