Commit Graph
203 Commits
Author SHA1 Message Date
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
Cédric Krier df5a3f4617 Make width of container depends on expanded children 2013-10-14 23:48:04 +02:00
Cédric Krier 0c23b7f23e Manage xexpand and xfill in form view 2013-10-14 17:49:12 +00:00
Cédric Krier a158836e82 Array generic methods are not standard 2013-10-14 09:15:27 +00:00
Cédric Krier 875787ab4a Add title bar and message dialog
review1133002
2013-10-14 09:02:47 +00:00
Cédric Krier 6998626fe3 Set dialog modal for now 2013-10-14 08:22:55 +00:00
Cédric Krier 85bc2d6d55 Fix display of Date with no record and no field 2013-10-11 18:42:00 +02:00
Cédric Krier 997207b1e5 Fix alignment, width and resize in treeview
review1123002
2013-10-08 16:51:55 +02:00
Cédric Krier 3c18a9b40e Fix number fields validation when 0 2013-10-08 16:43:21 +02:00
Cédric Krier c782bb6e1b Use simplified user menu 2013-10-07 18:17:22 +02:00
Cédric Krier c1f8fab454 Manage buttons sensitive for xxx2Many 2013-10-07 17:52:31 +02:00
Cédric Krier 496dab4dbb Make custom button working everywhere 2013-10-07 14:02:26 +02:00
Cédric Krier 7ca37239f2 Add some style to One2Many and Many2Many 2013-10-07 14:01:18 +02:00
Cédric Krier a4389f26bb Use jQuery UI primary icons in Button 2013-10-07 12:38:35 +02:00
Cédric Krier 0a792903dc Fix browser compatibilities by adding some polyfills
Chrome doesn't support Array.concat so we must use the instance method.

review1108003
2013-10-07 12:22:39 +02:00
Cédric Krier 6165a6ef9b Fix typo in attributes converion of Form view 2013-10-04 16:39:55 +02:00