Commit Graph
775 Commits
Author SHA1 Message Date
Yogesh (OpenERP) ae931e7a9d [MERGE] Merge with trunk upto revision no 1493.
bzr revid: ysa@tinyerp.com-20111117045731-9zjfsdrt7j590yx1
2011-11-17 10:27:31 +05:30
Fabien Meghazi 811c58e697 [FIX] Fixes form's date[time] widgets problems with jQuery ui date[time]pickers
lp bug: https://launchpad.net/bugs/877976 fixed
lp bug: https://launchpad.net/bugs/885385 fixed

bzr revid: fme@openerp.com-20111116222705-dg4u0lpw6p2o8nx1
2011-11-16 23:27:05 +01:00
Fabien Meghazi 5bcda27aa1 [IMP] Use t-js
bzr revid: fme@openerp.com-20111116164639-y76q8quqj60r2w3j
2011-11-16 17:46:39 +01:00
Fabien Meghazi f386b74eff [IMP] QWeb2: add 'console' in reserved words
bzr revid: fme@openerp.com-20111116164210-ktn35gjb703kdrek
2011-11-16 17:42:10 +01:00
Xavier Morel d6456b277e [FIX] you get an icon, you get an icon, everybody gets anb icon!
if a searchview filter does not have an icon, default to gtk-home

bzr revid: xmo@openerp.com-20111116134805-yd4ze31j8zc5fw7u
2011-11-16 14:48:05 +01:00
Xavier Morel 901596adce [FIX] searchview needs to send the action's context when loading its view
bzr revid: xmo@openerp.com-20111116133803-f21mzgatnkr5in3p
2011-11-16 14:38:03 +01:00
Yogesh (OpenERP) bc3a1f5294 [IMP] vieweditor :- remove inherit button code and improve code.
bzr revid: ysa@tinyerp.com-20111116113624-p1dwbl4oefut2lse
2011-11-16 17:06:24 +05:30
Xavier Morel e33b9a722e [FIX] some badly implemented function fields return empty strings (for e.g. dates, instead of False)
treat empty strings as 'false' except for char fields

bzr revid: xmo@openerp.com-20111116100416-0713i9va49ffbzlh
2011-11-16 11:04:16 +01:00
Yogesh (OpenERP) a081cdf79b [IMP] vieweditor :- improve code in fetch tagname on edit node.
bzr revid: ysa@tinyerp.com-20111116092308-9iv5coeqbu1cgdsb
2011-11-16 14:53:08 +05:30
Yogesh (OpenERP) d9d16da37b [IMP] Vieweditor :- improve code .
bzr revid: ysa@tinyerp.com-20111116090332-jol5v8k7ahq5nhuu
2011-11-16 14:33:32 +05:30
Xavier Morel 2215a31920 [IMP] underscore fun
bzr revid: xmo@openerp.com-20111116075246-lbrusmxekmdygwkm
2011-11-16 08:52:46 +01:00
Christophe Simonis 4d7a24e814 [IMP] nivification of Loading widget
bzr revid: chs@openerp.com-20111115165530-mvunu1bsuiq1k4du
2011-11-15 17:55:30 +01:00
Fabien Meghazi 7e9090fde7 [REM] FormView: Removed is_dirty_for_user and replaced by calling is_dirty() on fields
bzr revid: fme@openerp.com-20111115145806-hlh19loo03nmy1qx
2011-11-15 15:58:06 +01:00
Fabien Meghazi 1116d94a81 [UNFK] Restore xmo fixes that I accidentally reverted.
bzr revid: fme@openerp.com-20111115132914-74mhywoy36gm8pdd
2011-11-15 14:29:14 +01:00
Fabien Meghazi d4058abeb7 [FIX] on_ui_change triggered before on_changes in date(time) widgets
lp bug: https://launchpad.net/bugs/885681 fixed

bzr revid: fme@openerp.com-20111115124520-aqma1ti2d81oye8j
2011-11-15 13:45:20 +01:00
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
WARNING: underscore string does not mixin to underscore by default. Use _.str.*

bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel e536b4ace8 [FIX] handling of groups with length 0 in ContainerDataGroup's group descriptor munger
For a group with a ${field}_count of 0, code would fallback on __count
which does not exist -> would try to set group.length to `undefined`
which leads to the property being removed from the result, blowing up
the call to `$('<td>').text(group.length)` in the listview (jQuery's
.text() apparently does not like getting `undefined` as its
parameter... who knew?)

Also make `openable` clearer, and improve style of listview in case of
an empty group (openable but length 0): remove the arrow on the left
(but leave the indent, otherwise it's ugly).

lp bug: https://launchpad.net/bugs/889807 fixed

bzr revid: xmo@openerp.com-20111115112906-e87sf40tgr8goqps
2011-11-15 12:29:06 +01:00
Yogesh (OpenERP) 8ec52797ad [IMP] Vieweditor :- improve on_ui_change method.
bzr revid: ysa@tinyerp.com-20111115112119-vopxmyqheoyci7vu
2011-11-15 16:51:19 +05:30
Yogesh (OpenERP) cc13fc74d6 [MERGE] Vieweditor :- improve code edit node functionality and add float widget.
bzr revid: ysa@tinyerp.com-20111115111103-qt45h7l4pgs6cmpi
2011-11-15 16:41:03 +05:30
Xavier Morel f6b0482130 [FIX] add active_id, active_ids and active_model to context send when fetching m2o widget values in forms
lp bug: https://launchpad.net/bugs/878189 fixed

bzr revid: xmo@openerp.com-20111115105809-phttoirkmq4rzd1w
2011-11-15 11:58:09 +01:00
Yogesh (OpenERP) a42aeec255 [IMP] vieweidtor :- improve warning method.
bzr revid: ysa@tinyerp.com-20111115105203-umsohg7hz8evuh79
2011-11-15 16:22:03 +05:30
Yogesh (OpenERP) b1f0df7418 [IMP] Vieweditor:- implement functionality of floatwidget.
bzr revid: ysa@tinyerp.com-20111115104539-418py0oj656q1gr5
2011-11-15 16:15:39 +05:30
Xavier Morel df134ee96c [FIX] inability to open database screen after going back to login
as well as synchronization of db list between database management and login screen (mostly on dropdb)

bzr revid: xmo@openerp.com-20111115094507-n0hs6ehjc1exua0u
2011-11-15 10:45:07 +01:00
Xavier Morel 92ba7b7fc3 [IMP] correctly synchronize dblist between db pane and login
bzr revid: xmo@openerp.com-20111115094250-8c2rq2le39oc3z7b
2011-11-15 10:42:50 +01:00
Xavier Morel 6810fd765c [FIX] only hide the database when going back to login, don't stop it entirely
the database widget seems to not restart correctly anymore, after being stopped

lp bug: https://launchpad.net/bugs/889718 fixed

bzr revid: xmo@openerp.com-20111115093448-opym0msx0szvaeyt
2011-11-15 10:34:48 +01:00
Yogesh (OpenERP) 322bbae26a [IMP] vieweditor :- add selection and value attribute on properties attribute and render attributes
bzr revid: ysa@tinyerp.com-20111115091615-w6v2wq3acf5twm6s
2011-11-15 14:46:15 +05:30
Fabien Meghazi 90a73bb63c [FIX] Prevent jquery.tipTip to activate when source node is not attached to DOM anymore
bzr revid: fme@openerp.com-20111115091347-0wh7yf8df2y653d8
2011-11-15 10:13:47 +01:00
Yogesh (OpenERP) 41ee96e532 [IMP] vieweditor :- improve selector in widget.
bzr revid: ysa@tinyerp.com-20111115074111-ij7kp2kr7rlxr0v6
2011-11-15 13:11:11 +05:30
Yogesh (OpenERP) 17c81331aa [IMP] vieweditor :- add property attribute.
bzr revid: ysa@tinyerp.com-20111115055453-5b3zse1uz29yl4lb
2011-11-15 11:24:53 +05:30
Yogesh (OpenERP) 8d718eb7da [MERGE] Merge with trunk upto revision no 1469.
bzr revid: ysa@tinyerp.com-20111115050159-xn0kxam21tenh6wb
2011-11-15 10:31:59 +05:30
Yogesh (OpenERP) 4b250ebee8 [IMP] vieweditor:- improve code and set element in start method.
bzr revid: ysa@tinyerp.com-20111115045027-b7j0qpw31d2zoqii
2011-11-15 10:20:27 +05:30
Fabien Meghazi 95c31ad01c [ADD] FormView: Added debug information as tooltips
bzr revid: fme@openerp.com-20111114205916-549at8roai7yrpjm
2011-11-14 21:59:16 +01:00
Fabien Meghazi a9777f9598 [ADD] Added jQuery tipTip
bzr revid: fme@openerp.com-20111114204925-nsrkn93c3tizqzm8
2011-11-14 21:49:25 +01:00
Xavier Morel 76a02ead76 [FIX] support 'thousands' separator for floats
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114155332-3on98ot7o808z0gi
2011-11-14 16:53:32 +01:00
Xavier Morel 42c7cb86d9 [FIX] support 'thousands' separator for integers
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14 16:45:10 +01:00
Xavier Morel 4aafc01a3c [ADD] function to insert 'thousands' separators
bzr revid: xmo@openerp.com-20111114153436-pj6vq6lamfrjpg7f
2011-11-14 16:34:36 +01:00
Xavier Morel 7094859be3 [REM] can't be arsed to fix the broken date and time parsing tests
bzr revid: xmo@openerp.com-20111114144120-2rctezb1x63fytnr
2011-11-14 15:41:20 +01:00
Xavier Morel 550436f084 [FIX] correctly apply user's date and time formatting settings
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114140007-7nz0pz9zkhqkt3ga
2011-11-14 15:00:07 +01:00
Xavier Morel fc2050fef1 [IMP] search view: assert the view received from the fields_view_get is a search view
bzr revid: xmo@openerp.com-20111114123948-inqtk10u1xgk2gmg
2011-11-14 13:39:48 +01:00
Yogesh (OpenERP) 311b552601 [IMP] Improve code in vieweditor.
bzr revid: ysa@tinyerp.com-20111114121933-zmxgk4oy9e20p08u
2011-11-14 17:49:33 +05:30
Yogesh (OpenERP) a58a66282b [IMP] vieweditor :- change variable name id to property.
bzr revid: ysa@tinyerp.com-20111114114055-d8tdfcvofsivhws6
2011-11-14 17:10:55 +05:30
Yogesh (OpenERP) 479ab43429 [IMP] vieweditor:- simple value pass on set_value method instead of array..
bzr revid: ysa@tinyerp.com-20111114112734-l3d7v634sy1g9qsp
2011-11-14 16:57:34 +05:30
Fabien Meghazi fc1375a782 [IMP] Improved styling of tabs and group fieldset
bzr revid: fme@openerp.com-20111114112627-euf7h75zxnzrkpz5
2011-11-14 12:26:27 +01:00
Yogesh (OpenERP) eeede30542 [IMP] vieweditor :- improve code and add warning message.
bzr revid: ysa@tinyerp.com-20111114110712-761wddi4f9low200
2011-11-14 16:37:12 +05:30
Fabien Meghazi 54bde62da0 [IMP] Form view sidebar actions like print should implicitly save the record
bzr revid: fme@openerp.com-20111114110239-g2s034i66rmhh2ne
2011-11-14 12:02:39 +01:00
Fabien Meghazi bb9f7923fb [FIX] Dynamic method calls in sidebar won't work once label are translated
bzr revid: fme@openerp.com-20111114104329-nyflvgm5kz7ykq2c
2011-11-14 11:43:29 +01:00
Xavier Morel d2a0f9bcba [IMP] mark a bunch of strings as translatable in searchview JS
bzr revid: xmo@openerp.com-20111114101221-905mu3id02o3n2li
2011-11-14 11:12:21 +01:00
Fabien Meghazi 86ecdd5e90 [FIX] Form view: 'string' attribute on 'group' tag is ignored (courtesy of Stefan Rijnhart)
lp bug: https://launchpad.net/bugs/883445 fixed

bzr revid: fme@openerp.com-20111114101118-jtqxe3095j9pn4ik
2011-11-14 11:11:18 +01:00
Yogesh (OpenERP) 5d9f64d56d [IMP] vieweditor :- add warning message for invalid field name in create view.
bzr revid: ysa@tinyerp.com-20111114100614-0fmzahtjx7uh9p2g
2011-11-14 15:36:14 +05:30
Xavier Morel 097ea702fa [ADD] 'id' to all advanced filters if not in fields_get, to serve as a 'get resource by id' in web client
also fix broken extended filters due to broken oldwidget

lp bug: https://launchpad.net/bugs/885994 fixed

bzr revid: xmo@openerp.com-20111114095738-9nfpr970235k15fv
2011-11-14 10:57:38 +01:00