Sergi Almacellas Abellana
f5f4fa465d
Add missing end dot on translatable strings
...
issue8670
review252211037
2019-09-30 09:40:31 +02:00
Cédric Krier
7167b9224e
Do not use record in __init__ of form widget
...
During the initialization of the widget, the view may not yet have a proper
record. But update_img access the record of the view.
Also it is safer for list-form to define the _record before calling super in
case there is an access to record attribute.
issue8616
review285981002
2019-09-28 23:23:01 +02:00
Cédric Krier
76550d2357
Add widget suffixes to the list of suffixes to render
...
issue8653
review266011002
2019-09-23 23:20:07 +02:00
Cédric Krier
ca0450b7ad
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier
3d84838c83
Add start value to PYSON Date and DateTime
...
This enable the customization of the starting point for delta operations.
issue8561
review264041002
2019-09-20 11:36:05 +02:00
Cédric Krier
91f63609e8
Add MultiSelection field
...
issue7851
review249911002
2019-09-20 11:32:56 +02:00
Sergi Almacellas Abellana
57e0526c00
Support dot notation on PYSON Eval
...
issue8528
review287841003
2019-09-19 14:11:23 +02:00
Cédric Krier
4fcf8c5c8f
Use locale format to export CSV from print button
...
issue8635
review252101002
2019-09-17 00:09:44 +02:00
Cédric Krier
ec8838b41a
Improve completion on boolean
...
- Do not convert None to False
- Complete with the opposite or both values
issue8620
review254181002
2019-09-16 23:59:43 +02:00
Cédric Krier
73923b62d4
Add operators on Date and DateTime widget of Dict
...
issue8607
review249871002
2019-09-11 23:40:46 +02:00
Cédric Krier
d3057acff8
Replace child_of target only if it is not a related field
...
issue8609
review285911002
2019-09-02 18:34:55 +02:00
Cédric Krier
8b4dced3cd
Do not consider readonly/non editable widget as focusable
...
issue8475
review277751002
2019-09-02 18:28:23 +02:00
Sergi Almacellas Abellana
e1a8b2c7a9
Do not test NumericEntry digits for non numeric values
...
issue8532
review285861002
2019-08-30 08:59:18 +02:00
Cédric Krier
44a88254a0
Use locale.delocalize() instead of undocumented func parameter of locale.atof()
...
The locale.delocalize() method has been added in Python 3.5 which is the
minimal version required.
issue8572
review273811002
2019-08-25 12:41:43 +02:00
Cédric Krier
efc5beadd7
Do not log as error empty icon name
...
issue8584
review257981002
2019-08-22 22:46:45 +02:00
Cédric Krier
e214209e2a
Avoid display in switch_view when creating new record
...
The display in switch_view is useless as a second call is made after setting
the new record.
issue8539
review267711002
2019-08-18 18:57:30 +02:00
Cédric Krier
8d3a4bae45
Add local context to get context without session context
...
The issue8312 was to strict by its usage of Group._context as it misses the
context_model, the parent context or the _datetime keys.
Instead we introduce a second type of context which provides the same context
but without the session part.
issue8463
review255831002
2019-08-18 18:51:54 +02:00
Cédric Krier
7d3c2a5238
Force a display when group cleared
...
We must ensure that a model is set on the treeview before the former one became
invalid. This is because set_model calls gtk_tree_model_unref_node using the
previous model.
So the display (which set the new model) can not be delayed.
issue8552
review283851002
2019-08-12 12:16:41 +02:00
Cédric Krier
ced1c83b82
Use CDN for downloads URL
...
issue8521
review271861003
2019-08-07 19:43:19 +02:00
Cédric Krier
4401ae25cb
Remove deprecated rules-hint property on treeview
...
The rules-hint property is deprecated since GTK 3.13.16.
issue8505
review267661002
2019-08-07 19:29:09 +02:00
Cédric Krier
876478eb06
Ensure DomainParse.group returns a list of clause
...
issue8520
review255681002
2019-08-07 19:22:59 +02:00
Cédric Krier
38c7f3e65b
Set wizard name for dialog and unify wizard name management
...
issue8535
review287841002
2019-08-07 19:21:31 +02:00
Cédric Krier
8cea908ecf
Include in source dist the gtk-3.0 folders
...
issue8514
review269921002
2019-07-25 10:31:26 +02:00
Cédric Krier
b6863e0486
Compute value to save only at one place
...
review279761002
2019-07-25 10:25:01 +02:00
Sergi Almacellas Abellana
e8d53cf1fb
Remove space between menu and set_relief attribute
...
issue8515
review287811002
2019-07-23 09:29:18 +02:00
Cédric Krier
b23fc2f4f7
Remove unused toolbar_box attribute in Wizard
...
issue8499
review251781002
2019-07-23 00:07:49 +02:00
Cédric Krier
62976e117f
Update display logs for new related read API
...
Since issue7888, the result of related fields are stored in nested
dictionaries.
issue8426
review259841002
2019-07-20 21:45:28 +02:00
Cédric Krier
bde46df290
Do no rely on CellRenderer mode but on type
...
The mode value is from the last row rendered not the current one.
So we must just rely on the type of CellRenderer to know if it can be edited.
issue8483
review261821002
2019-07-17 22:43:14 +02:00
Cédric Krier
35bcbd9d00
Ensure integer expand is converted into boolean
...
issue8308
review253381002
2019-07-13 00:16:28 +02:00
Cédric Krier
d1ead06bd8
Re-use FormXMLViewParser to parse board view
...
issue8313
review275591002
2019-07-08 17:15:51 +02:00
Cédric Krier
abe4078cac
Replace set_homogeneous by Gtk.Grid equivalent
...
The container is a Gtk.Grid and no more a Gtk.Table since issue8139
issue8423
review263721002
2019-06-20 23:19:41 +02:00
Cédric Krier
bae7bb440f
Do not store colors on IconFactory
...
The configuration values may change when it is loaded on startup.
issue8416
review257601002
2019-06-20 23:18:17 +02:00
David Harper
80b45a24b3
Use outline style mdi icons for back and forwards
...
issue8400
review271521003
2019-06-17 22:24:46 +02:00
Cédric Krier
70ff820e66
Allow customizing Dict keys order
...
We add a sequence attribute to the key definition and use it for sorting.
This attribute is filled by the field sequence if it exists (using
sequence_ordered) or by the key name.
issue8373
review275431002
2019-06-16 19:24:15 +02:00
Cédric Krier
e153034941
Improve domain validation error from server
...
We add to DomainValidationError the invalid domain and the field definition so
the client can format and append it to the description of the error.
issue8288
review255351002
2019-06-16 19:04:55 +02:00
Cédric Krier
fc2308da11
Allow to search on related field in search box
...
The server adds to the definition of the fields, the definition of relation
fields up to specific deep level.
The clients use this relation fields definition to extend the domain parser
with those fields using a dot notation. But those "dotted fields" are not
shown in the search filter to not bloat the popup as it is dedicated to
learning.
In addition, Dict fields are also filled with relation fields coming from the
keys defined in the schema model. As the size can very large, it is possible
to deactivate this feature from the configuration.
issue8293
review259391005
2019-06-16 15:44:14 +02:00
Cédric Krier
049c1c1842
Add _type attribute to drag column
...
Every column should have a _type attribute to distinct them for some events.
issue8407
review283511002
2019-06-16 12:35:43 +02:00
Cédric Krier
67e15dc9e4
Update Tryton banner
...
We use svg as it is smaller.
issue8382
review275451002
2019-06-12 19:13:23 +02:00
Cédric Krier
63517c2e4e
Add widget prefixes as column prefixes
...
issue8406
review261581003
2019-06-12 19:10:19 +02:00
Cédric Krier
b2a44a962c
Prevent modification of cache RPC answers
...
The cached value should never be changed after being stored by the setter or
by a getter. So we make a copy of the value before storing it and return
another copy when returned.
issue8387
review269601002
2019-06-12 19:04:42 +02:00
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