Commit Graph
4740 Commits
Author SHA1 Message Date
Cédric Krier 8250b52aff Correct formatting in po files 2019-06-10 23:14:36 +02:00
Nicolas Évrard 672ab9b17c Add dependency to PyGObject
issue8408
review283491002
2019-06-07 09:57:20 +02:00
Cédric Krier e1aef8b79d Add Dict widget to tree view
It is needed to be able to search on dict.

issue8296
review271331012
2019-06-04 18:20:23 +02:00
Nicolas Évrard 6399977a19 Add handle to reordable line of tree views
issue8269
review257321002
2019-06-04 17:51:52 +02:00
Cédric Krier 148fa9b24e Use same definition format for dict key than field
This will allow to use the dict keys as relational fields and allow the client
to use them for domain parsing.

issue8295
review273311002
2019-06-03 15:37:49 +02:00
Cédric Krier e0cdb98186 Show revision datetime in local timezone
issue8365
review271441002
2019-05-27 23:18:37 +02:00
Cédric Krier 5bd3c465f5 Parse imported value only if non empty
Empty value can not be parsed by locale. So they should stay empty.

issue8357
review285231002
2019-05-27 23:15:24 +02:00
Cédric Krier ba4ac7d3c3 Fix wrong indentation in setup 2019-05-23 10:10:47 +02:00
Cédric Krier 0747546987 Use FileFinder and SourceFileLoader to load plugins
On frozen environment using import_module does not work because the plugins
are not in the PYTHONPATH.

issue8334
review253491002
2019-05-13 22:39:27 +02:00
Cédric Krier 3572f110db Increase version number 2019-05-06 14:46:45 +02:00
Cédric Krier 9c4f4a6729 Added tag 5.2.0 for changeset d5652dee45a4 2019-05-06 14:46:28 +02:00
Cédric Krier 055d01341b Prepare release 5.2.0 2019-05-06 14:46:28 +02:00
Cédric Krier 88e1e01b90 Do not send value for readonly Many2Many
In contrary to One2Many, Many2Many can not be modified when they are readonly.
But Many2Many inherit from One2Many so we must exclude them explicitly from
the test.

issue8323
review275371002
2019-05-06 13:37:21 +02:00
Cédric Krier 4cc1b194cd Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131.

issue8325
2019-05-05 19:50:58 +02:00
Cédric Krier d733c11276 Do not rely on field views to load form fields
If the views attribute of the field is wrong or empty, the record will not
load the value for this field. The views attribute can be empty if it was
created by copying the field from its parent.
So it is safer to not rely on this attribute which is there only for
optimization and instead always use all the fields defined on the view.

issue8289
review263471002
2019-05-05 19:33:48 +02:00
Cédric Krier c6e7390b11 Update selection to the dropped record
After drag&drop, the treeview keeps the selection at the path where the
drag&drop started. But as the current_record is not changed, this creates an
inconsistant display. So we ensure that the dropped record is selected at the
end.

issue8192
review267371002
2019-05-05 19:32:24 +02:00
Cédric Krier cd5eed3d1c Make ProgressBar inherit from Cell
ProgressBar widget uses methods from Cell.
2019-05-03 17:58:42 +02:00
Cédric Krier 980e379029 Populate contextual menu synchronously
Recent version of GTK does not support anymore filling the contextual menu
asynchronously.

issue8286
review265361002
2019-05-03 09:12:03 +02:00
Cédric Krier ad1da2b28f Update board parse to work with new Container API
The Container API has changed in issue8139.

issue8307
review267321003
2019-05-02 12:54:19 +02:00
Cédric Krier c9bc5c9b67 Use group _context to avoid leaking session context
When launching a new action, the context should not contain the session
context because it is automatically appended to the evaluation.
When creating a new group when the context model changed, it should not
contain the session context neither.

issue8312
review267301002
2019-05-02 12:49:12 +02:00
Cédric Krier db18b3f033 Ensure to put search_value in URL
If the screen container or the domain parser are not yet ready to compute the
search_value, we should ensure to use the initial search_value. Otherwise sao
may trigger to open a new tab without the search_value because the URL will be
set with an empty search.

issue8267
review281471002
2019-05-02 12:46:37 +02:00
Nicolas Évrard 1e548d30e5 Remove _FileCache file from the FS when they're not used anymore
issue8311
review261391002
2019-05-02 12:11:35 +02:00
Cédric Krier 9066d3189c Update clients catalog template 2019-05-01 22:20:52 +02:00
Cédric Krier 7bc46a91c3 Update translations 2019-05-01 18:05:27 +02:00
Cédric Krier 877142166b Add Finnish
issue7237
review44951002
2019-05-01 16:38:57 +02:00
Cédric Krier 7749adc6f4 Add Turkish
issue6745
review48261002
2019-05-01 16:18:50 +02:00
Cédric Krier b4bfbb8544 Use but_remove only if One2Many has attribute add_remove
issue8305
review261361002
2019-04-26 12:06:44 +02:00
Cédric Krier 741f319617 Use TreePath and update set_cursor call to set cell
Since the removal of pygtkcompat, set_cursor needs to get a real TreePath and
no more a tuple.
Also we added a cell argument to set_cursor, so it must be filled or use
keyword arguments.

issue8290
review271351002
2019-04-26 12:05:31 +02:00
Cédric Krier e3ceba18c4 Allow all models for reference if there is no restriction
If the allowed models is empty, it means that there is no constraint on the
reference model. So we must allow all of them.

issue8300
review275311002
2019-04-26 12:04:10 +02:00
Cédric Krier b45eef8885 Properly retrieve text value from ComboBox
get_active_text does not exist anymore in Gtk+-3

issue8258
review273301002
2019-04-23 12:04:49 +02:00
Cédric Krier 775d016a46 Add parse method to DateTime widget
To fix issue8205, we need to force to parse the date/time entries. So DateTime
widget needs to have a parse method.

issue8259
review267211002
2019-04-23 09:12:07 +02:00
Cédric Krier 6118b67701 Prevent exception when parsing date
We should first try parsing for locale format to avoid ambiguity.
But also the index may fail if the locale format is not using numeric value.

issue8087
review273221002
2019-04-23 09:07:50 +02:00
Cédric Krier be0acbf6f2 Quote database name in URL
issue8271
review255281002
2019-04-15 15:56:48 +02:00
Sergi Almacellas Abellana ac89b3e096 Add domain inversion for reference fields
issue7877
review45831002
2019-04-14 14:18:03 +02:00
Cédric Krier ed987325b2 Add missing padding when pack_start context widget
Without pygtkcompat, all arguments must be passed to Gtk methods.

issue8261
2019-04-10 10:26:40 +02:00
Nicolas Évrard efe5a946be Add list-form view
issue8185
review255091002
2019-04-08 15:06:36 +02:00
Cédric Krier 5c6d71f72c Remove id to on_change calls that are cached
issue8234
review275131002
2019-04-08 10:14:39 +02:00
Cédric Krier a28a914142 Add cache management on RPC
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier b505d02e94 Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:05 +02:00
Cédric Krier 0f0834ad67 Remove prerequisites from documentation
issue7397
2019-04-06 17:57:33 +02:00
Cédric Krier be6762314a Do not bundle README and INSTALL
issue7397
2019-04-06 17:55:58 +02:00
Cédric Krier d1b19b158b Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:58 +02:00
Cédric Krier 8c468608e3 Allow to update records when importing data
issue652
review273131003
2019-04-04 20:00:25 +02:00
Nicolas Évrard b4318526c9 Pass the right view object when creating an Affix
issue8248
review285101002
2019-04-04 15:17:16 +02:00
Cédric Krier 940ed2a3c3 Add label to button of richtext toolbar
issue8232
review279111002
2019-04-02 17:59:03 +02:00
Cédric Krier 4f87999c42 Replace ColorSelectionDialog by ColorChooserDialog
The former is deprecated and use Gtk.Color while we need Gdk.RGBA.

issue8231
review259261002
2019-04-02 17:57:05 +02:00
Cédric Krier 13dd7a7738 Make get_preferences synchronous
We must be sure that the preferences have been set before triggering other
actions (like opening URL).

issue8011
review281141002
2019-04-02 17:53:05 +02:00
Maxime Richez 482f6d378c Set correct function on GtkProgressBar
issue8230
review261241002
2019-04-02 17:49:10 +02:00
Cédric Krier b8c561cc77 Update links in package description
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier 84c6ccceca Add HTML editor
issue8004
review54481002
2019-03-30 16:04:45 +01:00