Sergi Almacellas Abellana
37d91cb526
Don't set button text when reusing existing button elements
...
Since changeset 4744202e7c6a button elements are reused, so we must
only add its text when it does not exist otherwise the label is shown
multiple times.
issue5870
review32571002
2016-09-13 10:24:42 +02:00
Sergi Almacellas Abellana
d6b3ae4ba0
Add noeval to PYSONDecoder
...
issue1616
review25491002
2016-09-13 10:15:42 +02:00
Cédric Krier
0f2a922ffe
Rename language codes
...
issue5443
2016-09-10 23:27:57 +02:00
Cédric Krier
65e3f3d39c
Fix rename of label to title in xxx2Many
...
The changeset a05aa6335ba6 renamed the label variable into title but it misses
the id attribute management.
issue5861
2016-09-08 17:08:41 +02:00
Nicolas Évrard
3e735b24c5
Honor required and readonly status in [OM]2M title label
...
issue5649
review21081002
2016-09-08 10:16:04 +02:00
Sergi Almacellas Abellana
17d1d721df
Resolve display promise when all the rows of a tree view are displayed
...
Since changeset 82c4ec24b675, the tree is drawn asynchronously but some
methods may require the tree to be fully rendered to compute its values, so
the display method must return a promise that resolves when all of the rows
are displayed
issue5849
review33331002
2016-09-06 12:40:03 +02:00
Cédric Krier
9d36b52d6b
Let drone run npm as root
...
see https://docs.npmjs.com/misc/scripts#user
2016-09-05 16:17:29 +02:00
Cédric Krier
ff5a3971ab
Allow root when running bower
...
drone run tests as root but bower does not want to run as root
without this option.
review26641002
2016-09-05 15:43:19 +02:00
Sergi Almacellas Abellana
fb246e1315
Do not convert null values to zero in Decimal fields
...
Javascript Number converts null to 0, but the original value must be preserved
so we avoid converting null values to Decimal.
issue5846
review28711002
2016-09-05 13:14:22 +02:00
Nicolas Évrard
04229ae077
Use c3 names configuration to prevent name clashes
...
review33311002
issue5523
2016-09-02 12:36:13 +02:00
Sergi Almacellas Abellana
40b1629775
Add support for pyson_order on action window
...
issue5844
review21251002
2016-09-01 11:12:37 +02:00
Cédric Krier
58d81d27f8
Do not show error dialog on 404 during login
...
issue5837
review32541002
2016-08-31 22:58:38 +02:00
Sergi Almacellas Abellana
a3a3c64d23
Make datetimepicker locale aware
...
- Set the moment locale when setting user language
- Pass the moment locale to datepicker instances
issue5797
review21201002
2016-08-29 09:35:54 +02:00
Cédric Krier
a2ef328750
Fix Screen.domain_parser to filter only field in view
...
and remove duplicate 'id' addition
issue5815
review30441002
2016-08-25 19:12:43 +02:00
Cédric Krier
73481748c1
Reuse existing cell when redrawing row
...
It is better to avoid remove/append on the DOM to prevent to trigger a repaint.
So we should reuse existing cell if possible instead of replacing it on each
redraw.
issue5803
review21211002
2016-08-25 19:11:24 +02:00
Cédric Krier
41c69e6827
Extend existing table when More is clicked on list view
...
issue5802
review27571002
2016-08-25 19:08:27 +02:00
Xavier Codinas
f35ca92d8a
Restore tab default order when no manual change
...
issue5763
review32401002
2016-08-25 16:23:22 +02:00
Cédric Krier
31d0c8d333
Improve responsiveness of Sao.View.Tree.display
...
- Use replaceWith to construct the new table body
- Call redraw on a bunch of rows asynchronously
- Improve visible test in redraw by using references
issue5801
review27561002
2016-08-25 15:49:43 +02:00
Xavier Codinas
a3d5cce4b5
Allow to update fields in DomainParser
...
issue5821
review27591002
2016-08-24 16:12:26 +02:00
Cédric Krier
b86adb86de
Replace ok/cancel icons by GTK+ one
...
The Tango version are in CC-by-sa-2.0 which is not considered as a free license
by Debian project. So we replace them by the standard GTK+ version.
issue5788
review31461002
2016-08-19 21:52:10 +02:00
Sergi Almacellas Abellana
032d7e5833
Add missing bind on XXX2Many edit and add
...
Changeset 5b447f80162c added async callbacks when opening and editing XXX2Many
fields, but they were not bound to the correct object so the object properties
are not read correcty.
issue5780
review31411002
2016-08-17 11:00:00 +02:00
Sergi Almacellas Abellana
a7370447b9
Remove already deleted records on on_write result
...
issue5771
review26521002
2016-08-17 10:57:09 +02:00
Sergi Almacellas Abellana
bb6d80e4f6
Manage list values of res_id
...
The res_id value returned from an action on the server can be a list or a
number, so it must be converted to a list only when it is not a already.
issue5774
review32411002
2016-08-12 13:23:28 +02:00
Cédric Krier
56e3197283
Manage null value in One2Many._set_value
...
null could be a valid value when the read fails and a default null value is
used instead.
issue5729
review26501002
2016-08-10 22:44:42 +02:00
Xavier Codinas
11f1ecd8df
Add support for column sorting
...
issue5675
review31301002
2016-08-08 17:08:16 +02:00
Cédric Krier
a077ee95eb
Set 'default_rec_name' context key when query default_get
...
The last searched text is used as default rec_name
issue4136
review30351002
2016-08-04 23:57:03 +02:00
Raimon Esteve
a7342e10db
Fix setting text on label of Separator
...
issue5709
review29371002
2016-07-30 00:35:06 +02:00
Diego Abad
59d3769b0d
Fix widget Image to expect data instead object
...
Since changeset 16076b99d5be get_data function on Binary
field was fixed to return data instead object.
Image widget was implemented on changesets 90eca9355575,
3b2b20cb44b3 (form and tree view) relied on the bad behaviour
of get_data and so it must be fixed.
issue5745
review29421002
2016-07-26 17:18:21 +02:00
Sergi Almacellas Abellana
b0a0e653af
Add test for DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:56:46 +02:00
Sergi Almacellas Abellana
14df832d52
Add missing bind in DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:55:57 +02:00
Sergi Almacellas Abellana
94a56af0ae
Use dp.hide to trigger focus out Datepicker
...
issue5737
review28551002
2016-07-25 09:33:02 +02:00
Sergi Almacellas Abellana
628892bc7d
Test if event is defined on Many2One edit
...
Introduced in changeset ce61862b61eb
issue5738
review25531002
2016-07-25 09:30:25 +02:00
Sergi Almacellas Abellana
ab26142062
Add changelog for changeset6d7c53854f4
2016-07-22 10:50:49 +02:00
Sergi Almacellas Abellana
0fe47f15c2
Manage confirm attribute on buttons
...
issue5728
review28531002
2016-07-22 10:20:15 +02:00
Nicolas Évrard
b7a8f5b7d4
Call autocompletion when setting record value
...
issue5712
review31371002
2016-07-20 13:24:32 +07:00
Cédric Krier
50afb5b695
Allow null in Greater/Less PYSON
...
issue5711
review25501002
2016-07-19 07:43:04 +07:00
Xavier Codinas
1af28f73a1
Return empty object in MODELACCESS.model.get
...
It is to allow to retrieve access keys with default empty
value without failing.
issue5708
review29381003
2016-07-18 23:57:39 +07:00
Xavier Codinas
e54476fe30
Always return promise in field binary get data
...
If record id negative, it must still return a promise.
The default value for data must be an empty list.
issue5676
review28431002
2016-07-15 20:52:41 +07:00
Sergi Almacellas Abellana
9e1042dabf
Fix WizardDialog.destroy
...
- Fix typo in event name.
- Wait until the wizard dialog is closed to read the correct wizard object.
issue5704
review28521002
2016-07-15 14:53:36 +02:00
Sergi Almacellas Abellana
406351b8c1
Don't close modal dialogs when clicking outside of them
...
issue5700
review28501002
2016-07-14 10:31:27 +02:00
Raimon Esteve
1c4c4428f9
Remove duplicated attribute in Form Label
...
issue5705
review30301002
2016-07-14 11:42:25 +07:00
Sergi Almacellas Abellana
9195d843d2
Manage rec_name promise on Attachment and Notes title
...
Also re-add wrongly removed context declaration
issue2350
review27461002
2016-07-12 09:21:22 +02:00
Cédric Krier
e7f700fd3d
Set group parent from previous screen only if new group does not have one
...
xxx2Many widgets could set a group with a different parent then the previous
one of the screen. This group should keep its parent because it comes from the
value of the field.
issue5672
review21121002
2016-07-11 18:36:37 +02:00
Xavier Codinas
9e83964a31
Add readonly property in size input binary field
...
issue5691
review30281002
2016-07-11 12:02:50 +02:00
Sergi Almacellas Abellana
9b25b0d347
Ensure all values are set before resolving default_get
...
issue5681
review26471002
2016-07-08 09:23:48 +02:00
Cédric Krier
0824de014a
Fix form view in Many2Many
...
The first view which is a tree must be removed from the view ids as mode of the
screen is form only.
issue5378
review28401002
2016-07-07 10:26:36 +02:00
Sergi Almacellas Abellana
881eca005a
Replace views string with model description
...
issue2350
review28371002
2016-07-05 09:54:16 +02:00
Cédric Krier
1a55a423f7
Clear the new record for Preference
...
The Preference window create a new record to simulate the read using
preferences values. But this mark the record has modified and prevent to click
on buttons. So the new record must be canceled just after "new" call.
issue5663
review23241002
2016-06-30 21:56:10 +02:00
Cédric Krier
659565265d
Button can be enable on readonly record and group
...
issue5010
review27391002
2016-06-30 21:52:35 +02:00
Cédric Krier
1acc508800
Limit readonly state for xxx2Many
...
issue5041
review21051002
2016-06-30 21:43:35 +02:00