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
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
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
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
Sergi Almacellas Abellana
04ce9b6715
Fix issubset implementation
...
Current implementation is not valid as it will return false when the element is
not present on one of the list, but it should return false only if the element
is not on both lists.
issue5669
review28391002
2016-06-30 10:44:06 +02:00
Sergi Almacellas Abellana
ad5d55ca70
Display views when Many2One rec_name is loaded
...
issue5665
review28381002
2016-06-29 17:19:41 +02:00
Xavier Codinas
b07e4521c4
Fix root parent condition
...
issue5668
review31271002
2016-06-29 14:31:25 +02:00
Sergi Almacellas Abellana
7225b275e8
Fix usage of apply function
...
issue5666
review22121003
2016-06-29 09:38:32 +02:00
Xavier Codinas
df5af34323
Simplify login with single database
...
If there's only one database it will be displayed in a read only textbox, and if
more databases are available it will display a dropdown with all the databases
that are selectable.
issue5660
review28331002
2016-06-28 10:59:27 +02:00
Xavier Codinas
742a5ed995
Add missing variable in DomainParser.completion
...
And add test for completion on empty value
issue5664
review25251002
2016-06-27 19:10:10 +02:00
Cédric Krier
acddcc69ef
Use new session to login
...
issue5659
review30271002
2016-06-23 17:58:57 +02:00
Cédric Krier
ce0b49fbe3
Clear the current session when logout
...
issue5659
review30271002
2016-06-23 17:58:36 +02:00
Sergi Almacellas Abellana
be752ccd74
Only validate loaded field when performing a sync validation
...
issue5658
review22111002
2016-06-23 09:48:24 +02:00
Cédric Krier
c302fdf02b
Call on_change's even if the field is readonly
...
This is not in the model part that the readonly must be enforced by only on the
widget side.
issue5637
review26361002
2016-06-21 13:30:40 +02:00
Sergi Almacellas Abellana
6c8cbe8d74
Render separators with no text as and empty label
...
issue5641
review28311002
2016-06-15 10:00:18 +02:00