Commit Graph
4189 Commits
Author SHA1 Message Date
Cédric Krier d09c31a36e MimeType in .desktop must end with a semicolon 2016-05-19 11:08:51 +02:00
Cédric Krier 50ad44b340 Set sizing to TREE_VIEW_COLUMN_FIXED for column without field
Columns like button have not a field defined but their sizing should any way be
fixed otherwise the Treeview containing such columns will never be in fixed
height mode and so all records of the view will always be read.

issue5546
review23091002
2016-05-19 11:06:45 +02:00
Prayash Mohapatra 169b316cb8 Remove unused Board.widgets list
issue5063
review18131002
2016-05-10 11:47:57 +02:00
Cédric Krier 80d5120936 Fix typo decoder -> decode from changeset 2753ae3e9865 2016-05-10 11:46:43 +02:00
Maxime Richez bcc5038e94 Clear filename when clear button is pressed
When the clear button of a binary field is pressed, you
would expect the filename to be cleared too, but the
associated field remains unchanged.

issue2633
review16201002
2016-05-10 11:12:00 +02:00
Cédric Krier 77623908c9 Manage PYSON in tree_invisible attribute
issue5425
review17181002
2016-05-10 10:29:48 +02:00
Cédric Krier be4f9f558e Re-update translations 2016-05-07 15:09:39 +02:00
Cédric Krier 0f48b55d51 Increase version number 2016-05-02 15:35:01 +02:00
Cédric Krier 6ffe4cee23 Added tag 4.0.0 for changeset 44d8ed92ff90 2016-05-02 15:34:04 +02:00
Cédric Krier 43e5acb140 Prepare release 4.0.0 2016-05-02 15:34:02 +02:00
Cédric Krier 5db2511ef8 Create record before binding widget to activate
Otherwise setting default boolean value trigger the activate action which fails
because the container has not yet the screen set.
2016-05-02 12:54:21 +02:00
Cédric Krier 04280f95f5 slugify hostname and database in IPC
As they are used to create a file, they can not contain invalid chars.

issue5356
review20171002
2016-05-01 22:45:57 +02:00
Cédric Krier 6f17b8fe0c Encode uri into filesystem encoding before urlopen
issue5503
review21941002
2016-05-01 22:44:42 +02:00
Cédric Krier 9d1171cca0 Update translations 2016-05-01 11:00:11 +02:00
Cédric Krier 2c1da06779 Cast keyword_open into int
It is needed to correctly evaluate the value "0"

issue5379
review18071002
2016-04-29 23:01:39 +02:00
Cédric Krier b6eccbb959 Limit nested import to One2Many
The ModelStorage.import_data can only support nested for One2Many, so this must
be limited on the interface.

issue5427
review25281002
2016-04-28 20:58:50 +02:00
Cédric Krier 52fcbba9df Fix readonly tests when user has only create access
The screen should not be read-only if the user is allowed to create record even
if he is not allowed to modify it. And it is the same for the save button.

issue5479
review20151002
2016-04-21 17:15:08 +02:00
Sergi Almacellas Abellana 6eb88eb563 Fix index argument type in date_parse
Introduced on changeset 44d7f51c9e85

issue5469
review17231002
2016-04-11 11:48:56 +02:00
Nicolas Évrard 0389f7b5a5 Infer yearfirst from {day,month}first for locale changing the year
issue5173
review24141002
2016-04-11 09:50:26 +02:00
Karla Stenger fb8003e87a Strip spaces from hostname
Some systems allow connecting to a hostname contaning trailing spaces,
but saving this value to the known_hosts causes corruption and
subsequent segfault.
So this patch sanitizes the hostname before connect.

issue5290
review24131002
2016-04-09 00:31:07 -03:00
Cédric Krier 3d1b24cc6d Don't use widget set_text in sig_changed_combo of Reference widget
As set_text clean the combo selection, it means it is impossible to select a
model. This was wrongly introduced by changeset 13d81b52b4c4
2016-04-08 20:25:55 +02:00
Cédric Krier 8064fdb5c7 Don't override action context by current context
issue4303
review17211002
2016-04-02 15:36:11 +02:00
Cédric Krier 37c4c03e45 Remove first level of Viewport and ScrolledWindow from context screen
The policy strategy did not work when the size of the screen change because
some fields become visible.

issue5422
review20891002
2016-03-31 22:41:29 +02:00
Cédric Krier 5f9e9ea3b9 Fix CHANGELOG order 2016-03-25 16:50:35 +01:00
Oscar Alvarez 46ecb3d34d Improvement design of charts on Tryton
General changes:
  - Axis lines using soft color (Soft gray)
  - Axis more thinner line (line width)
  - Legends rectangle with thinner line
  - Added dash style to line axis
  - Set dot on line ever indeed when is filled

Line Chart
  - Added alpha channel (transparency) to fill
    (just to line chart with fill True value),
this to do behind axis lines slightly visible

Bar Chart
  - Remove shadow (for get a clearest design)
  - Reduce size of arc border (more as rectangle shape)

issue4947
review17111002
2016-03-25 16:41:20 +01:00
Prayash Mohapatra c2a8f83156 Fix Separator to generate bold label when field is required
issue5243
review22901002
2016-03-24 11:00:26 +01:00
Cédric Krier 47852470c4 Uses 30 days for month for Timedelta
issue5282
review24931002
2016-03-21 23:53:16 +01:00
Cédric Krier f14271ee0f Improve speed of setting default value on One2Many
When the default value of One2Many is a list of values, a lot of signals are
triggered for each record, this can be avoided like in changeset f09978373d97.
Also adding fields could always set_default to new record without signal and
just trigger the signal for the last record.
Finally, the validation in set_default is useless when performed from a
One2Many because the parent record will validate it anyway.

issue5161
review16131003
2016-03-21 23:49:11 +01:00
Cédric Krier 2588c53b8d NotLogged exception is now 403
issue5415
review21851002
2016-03-21 23:40:52 +01:00
Cédric Krier 0767699ae6 Improve CSV import/export
- Add all available encoding for import/export
- Add CSV parameters to export window
- Add DnD on import window
- Move common part in WinCSV
- Add better defaults on win OS

issue5361
review17101002
2016-03-19 11:58:28 +01:00
Cédric Krier 05fe68ec18 Check required Many2One against None only
0 is a valid required value for Many2One

issue5373
review21821002
2016-03-16 21:59:34 +01:00
Cédric Krier 7e6e24f365 Execute action synchronously
The clicked event must be blocked when the action is started, so the retrieval
of the action definition should be synchronous to be done inside the
try/finally.

issue5362
review23901002
2016-03-16 21:56:47 +01:00
Cédric Krier 8936e5133c Manage context model of ir.action.act_window
issue5220
review20631002
2016-03-15 17:45:47 +01:00
Cédric Krier 42247bab4e Use Authorization header for session
issue4646
review18791002
2016-03-15 16:58:10 +01:00
Cédric Krier 58d10ba1f2 Stop delete-event for non-deletable windows
Window.set_deletable doesn't always prevent some window manager to show the
close button and more over it doesn't prevent to close the window via other
means like keyboard shortcuts.
To ensure those windows will not be deleted, we must prevent the delete-event
to propagate.

issue4505
review16021002
2016-03-05 17:33:18 +01:00
Cédric Krier c81a4f93a0 Use a list to store feed data in JSONUnmarshaller
Creating a new string could be very expensive for large amount of data,
especially because xmlrpclib read response and feed the parser with chunk of
1024. So it is better to store the feed data in a list and create the string
only once when closing the parser.

issue5237
review19951003
2016-03-05 17:24:12 +01:00
Cédric Krier 29b56e3929 next_column returns only editable column
If we don't find any column, we should not return the last tested column
because it is not a valid column.

issue5284
review20791002
2016-03-05 17:19:00 +01:00
Cédric Krier 3109a05d57 Support DateTime widget in add_operators
The filter box is already using this way but the changeset d1af53492682 make it
fails because the DateTime doesn't have get_editable method.

issue5338
review20741002
2016-02-22 23:20:54 +01:00
Cédric Krier 9cca7d2475 Disable move-active and scroll-event on readonly Selection
move-active is triggered by key bindings of gtk.ComboBox that are overrule the
editable property of the child entry.
scroll-event is catch by gtk.OptionMenu which change the menu item selected.

issue5322
review22791002
2016-02-20 11:09:47 +01:00
Cédric Krier a9a2b03efe Disable datetime operators if widget is not editable
issue5159
review21651002
2016-02-07 16:13:21 +01:00
Cédric Krier 65d365ef86 Force CellRendererToggle to not be activatable on non-editable tree
issue5305
review15991002
2016-02-07 16:12:26 +01:00
Cédric Krier 579b63ed1d Manage readonly on MultiSelection
readonly is managed with a selection function that disable the change of the
selection.

issue5150
review18981002
2016-02-07 16:10:44 +01:00
Cédric Krier 71af3d2592 Restore shortcuts for menu
changeset 8f4025580772 broke the shortcut because the accel path were not in
sync with the accel_map.

issue5304
2016-02-04 01:01:06 +01:00
Cédric Krier d6950d6298 Set note resource also to new records
issue5300
review18961002
2016-02-04 00:52:01 +01:00
Cédric Krier 3d8255a155 Add missing note icons
issue4669
2016-02-03 09:58:08 +01:00
Cédric Krier 29c5ee48c6 Add Note
issue4669
review9171002
2016-02-02 19:15:25 +01:00
Cédric Krier 9f16e1d1bc Don't reset entry position at focus-out
Resetting position at focus-out prevent to use the popup menu of the Entry as
the selected text will be unselected by resetting the cursor position.

issue5279
review22751002
2016-02-02 19:11:38 +01:00
Cédric Krier ac4fd973a5 Fix domain parser when value is an operator
issue5266
review22731002
2016-02-02 19:09:10 +01:00
Cédric Krier 2156ce79da Set parent field only if signal is requested
When set_on_change adds a record, we don't need to trigger the parent
on_change, otherwise it can lead to an infinite loop.

issue5278
review17791002
2016-02-02 19:07:31 +01:00
Cédric Krier 0195584554 Set English as default language for NSIS
issue5272
review21621002
2016-02-02 19:05:12 +01:00