Commit Graph
183 Commits
Author SHA1 Message Date
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
Cédric Krier 4a23c1127d Missing binding of callback in button_clicked 2013-10-04 12:50:53 +02:00
Cédric Krier 7fc161d36e Add datetime, date and time to DomainParser
review1116003
2013-10-04 11:21:32 +02:00
Cédric Krier 77c2c510aa Add Reference field
review1118002
2013-10-04 11:20:39 +02:00
Cédric Krier 159b2f576c Fix typo in Sao.Date 2013-10-03 12:15:14 +02:00
Cédric Krier d10b366a27 Add constructor for Date and DateTime
It is needed to be able to differentiate Date and DateTime because Javascript
as only a datetime object named Date.

review1115003
2013-10-03 11:11:25 +02:00
Cédric Krier cbd80ce5fd Add create/write logs to search entry 2013-10-02 18:25:27 +02:00
Cédric Krier e0518618bc Implement datetime and time widgets
review1067002
2013-10-02 12:05:14 +02:00
Nicolas Évrard 0f3f7bf1af Fix extra comma 2013-10-01 13:56:57 +02:00
Nicolas Évrard 4664385a6d Handle inactive records in M2O
review1066003
2013-10-01 11:48:56 +02:00
Bertrand Chenal 1771aa5adb Add cookie to store login and database name
review904002
2013-09-26 15:03:47 +02:00
Cédric Krier 4a6986e0b6 Add initial stylesheet
review909002
2013-09-17 17:40:59 +02:00
Cédric Krier 65d0d4590e Add missing ok, cancel images 2013-09-16 17:35:25 +02:00
Cédric Krier b6a686a553 Add "More" button on tree view and implement next/previous
review1058002
2013-09-13 10:35:11 +02:00
Nicolas Évrard bbe1195c47 Ensure object keys are integer when passed to read 2013-09-11 16:15:59 +02:00
Cédric Krier 538cc69949 Fix value from Selection with relation when empty 2013-09-06 21:14:18 +02:00
Cédric Krier 48a8545804 Add missing call to callback in update_selection 2013-09-06 21:13:13 +02:00
Cédric Krier 29040c1a46 Use toggle for toolbar menu 2013-09-06 15:55:25 +02:00
Cédric Krier 52fb8815c2 Fix session renew 2013-09-06 15:01:29 +02:00
Cédric Krier 762f0a343c Add support for invisible in tree view
review1057002
2013-09-06 10:47:05 +02:00
Cédric Krier 877b8beb63 Improve selection management in tree view
review1055003
2013-09-06 10:46:08 +02:00