Commit Graph
218 Commits
Author SHA1 Message Date
Cédric Krier 23181a22d2 Fix Group.add when index is -1 2014-03-28 23:27:31 +01:00
Cédric Krier 1ab35fad71 Fix _super call of Char.get 2014-03-28 22:54:26 +01:00
Cédric Krier 7cdedc15d8 Enforce readonly on Window.Form
issue3778
review4541002
2014-03-28 20:03:17 +01:00
Nicolas Évrard d6f184f28f Add support for editable tree
review2171002
2014-03-28 14:37:36 +01:00
Cédric Krier 6b00c07f74 Fix domain parser for empty selection
issue3785
review4571003
2014-03-24 15:58:58 +01:00
Cédric Krier 52e0945df3 Add missing TODO to force parent on Reference field
review4621002
2014-03-24 15:56:01 +01:00
Cédric Krier 714553a3c8 Fix Reference field with domain
issue3783
review4621002
2014-03-24 15:55:35 +01:00
Cédric Krier c4bbcd3573 Don't let default value override existing value
issue3782
review4591002
2014-03-24 15:48:11 +01:00
Cédric Krier da033f3a11 Fetch jquery using the same protocol as the page 2014-03-19 15:33:49 +01:00
Cédric Krier 9124910ebf Add option to show revisions
issue3678
review3671003
2014-03-18 19:56:07 +01:00
Nicolas Évrard 8ca0c4a09f Add multiselection widget for many2many
review3951002
issue3634
2014-03-16 21:19:05 +01:00
Nicolas Évrard b8670c9b43 Add index to one2many's on_change add
review2091003
issue3539
2014-03-16 21:03:27 +01:00
Cédric Krier aa87053ed1 Remove auto-refresh
issue3752
review4281002
2014-03-15 10:52:44 +01:00
Cédric Krier 398d9ad209 Add support of domain for non-relation field
issue3743
review4171003
2014-03-15 10:47:02 +01:00
Cédric Krier ad5bb1de41 Manage microseconds in JSON-RPC
review3671003
2014-03-15 10:40:46 +01:00
Cédric Krier 82c2aa2d45 Fix instance test in init_selection
key could be empty but still the call must be for an instance.

issue3728
review4011002
2014-03-08 13:25:13 +01:00
Cédric Krier 71f012dc8f Replace sha widget by password
issue3713
review3791004
2014-03-07 19:39:49 +01:00
Sergi Almacellas Abellana ecdb4348f6 Pass the action which is calling a wizard or a report
issue3675
review3581002
2014-03-05 19:35:22 +01:00
Cédric Krier 41308379cf Don't change group value when it is not needed
The group of xxx2many must only be changed for set and set_default. Other
methods should keep the removed/deleted records but as the older group was
destroyed this information is lost.

issue3724
review3941003
2014-03-04 11:50:08 +01:00
Cédric Krier 6d86ccb33e Fix Group.changed when Field.changed return undefined 2014-03-01 02:04:35 +01:00
Nicolas Évrard 222b94d0da merge. 2014-02-27 18:59:57 +01:00
Nicolas Évrard 3bcb08084e O2M's _set_value should not copy deleted/removed records from previous group 2014-02-27 18:59:27 +01:00
Cédric Krier 193a3d9381 Add Len to PYSON
issue3692
review3681002
2014-02-27 12:38:29 +01:00
Cédric Krier 242d237868 Fix action button sensibility
Allow to run action if no record is selected.

issue3685
review3611004
2014-02-20 23:36:38 +01:00
Cédric Krier 843c750f61 Don't extend the session context in expr_eval 2014-02-20 19:10:57 +01:00
Cédric Krier 2a01262c69 Many2Many edit should use his own screen instance
It must not trigger a grant parent reload.

issue3646
review3531002
2014-02-15 18:41:31 +01:00
Cédric Krier fe45fa6a1e Manage client actions from button and wizard
issue3343
review3221003
2014-02-15 18:33:11 +01:00
Cédric Krier 46c8157150 Fix domain inversion for xxx2many fields
issue3659
review3331002
2014-02-13 22:50:28 +01:00
Cédric Krier 50547103ce Missing set of result in Window.Form 2014-02-13 22:45:27 +01:00
Cédric Krier aaec44af7f Add buttons of the view in actions menu 2014-02-13 19:53:33 +01:00
Cédric Krier a9206afc00 Use jQuery.isEmptyObject to test on_change 2014-02-03 17:59:45 +01:00
Cédric Krier afb54b8ced Rename unlink for remove
issue3457
2013-12-20 12:36:42 +01:00
Cédric Krier 6d72b5a133 Use a sequence of records, values in write
issue3499
2013-12-20 12:24:10 +01:00
Sergi Almacellas Abellana fdf889db63 Open dialogs on the right place when multiple tabs are opened
review2191002
2013-12-08 22:19:12 +01:00
Nicolas Évrard 2b18a3ea2b The search_entry input is in the screen_container 2013-12-05 18:40:51 +01:00
Cédric Krier 0fef2ded29 Refactore get_preferences for login and user preferences
issue3514
review1781003
2013-11-28 23:16:19 +01:00
Cédric Krier 534e6c9504 Add unique dialogs
review1751002
2013-11-25 12:18:32 +01:00
Cédric Krier fd07ac80d5 Fix value of selection widget when it is integer
Some selection widgets use integer as value instead of string but their values
are converted to string by the HTML select.
2013-11-19 13:45:24 +01:00
Cédric Krier 4864cb8f67 Use stringified field value to compare for change
Decimal uses an instance of Number to be different with Float but instance
comparison doesn't work in javascript, so a JSON string must be used.
2013-11-18 17:33:18 +01:00
Cédric Krier aef4813e49 Allow to search on rec_name of Reference fields
The syntax is similar to the display of Reference in list view:
<target name>,<search value>.
The target name is the name of the target model and the search value follow the
same behavior as when searching on Many2One.

review1331002
2013-11-16 18:44:33 +01:00
Sergi Almacellas Abellana 5c9080b717 Open dialogs with a size relative to parent window and center to it
issue3490
review1501002
2013-11-14 15:53:49 +01:00
Cédric Krier 8d5bc95d33 Fix Date creation for timezone with change at midnight
Fixing https://bugs.launchpad.net/openerp-web/+bug/1068105
review1281002
2013-11-03 20:48:26 +01:00
Nicolas Évrard 95f07565b9 Set the default value for domain screen to null 2013-10-22 15:05:27 +02:00
Nicolas Évrard 9967e34029 Add support for tree state
review1065002
2013-10-18 17:09:10 +02:00
Nicolas Évrard 901fca32b2 Make field readonly only when it is an AND-domain
review1137004
2013-10-18 15:59:18 +02:00
Cédric Krier a43c6cdcb0 Always show vertical scroll to always correctly the menu 2013-10-18 00:45:06 +02:00
Cédric Krier 6174055cf8 Improve Container.resize
The computation of the width should take care of the colspan and should try to
optimize the expansion.

review1145002
2013-10-18 00:30:30 +02:00
Cédric Krier f3cb9f0a31 Make Date, Binary and Reference always displayed inline 2013-10-16 02:36:02 +02:00
Cédric Krier b052ea4d18 Default colspan for notebook is 4 2013-10-16 02:34:35 +02:00
Cédric Krier 88ace4c73f Make Many2One always displayed inline 2013-10-14 23:49:05 +02:00