Commit Graph
5338 Commits
Author SHA1 Message Date
Christophe Simonis 56ee9f011b [FIX] qweb: <t t-log> action was generating invalid code
bzr revid: chs@openerp.com-20121121155001-7gwb3w3mxqevxibm
2012-11-21 16:50:01 +01:00
Fabien Meghazi b04140e54c [IMP] Improved styling of searchview datepicker icon
bzr revid: fme@openerp.com-20121121152443-xj45wq1lttrs8rrh
2012-11-21 16:24:43 +01:00
Fabien Meghazi 9f9a2996f6 [FIX] __debug__ key wrongly set in QWeb default_dict
bzr revid: fme@openerp.com-20121121144320-mzgynprxpq1jlxey
2012-11-21 15:43:20 +01:00
Fabien Meghazi 4b007e1521 [FIX] Searchview proposition facet does not format date[time]s client side
bzr revid: fme@openerp.com-20121121135657-nh3t6usqkvl9vh03
2012-11-21 14:56:57 +01:00
Fabien Meghazi 74a5e92d46 [FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting FileAPI)
bzr revid: fme@openerp.com-20121121104329-5aa88lxqogn206l2
2012-11-21 11:43:29 +01:00
Fabien Meghazi a0c3ba7a1c [MERGE] many2many_tags: correctly checks it's falsy value
bzr revid: fme@openerp.com-20121121100812-gzn25f8g50cr5t3t
2012-11-21 11:08:12 +01:00
Hiral Patel (OpenERP) 0b995d57d1 [IMP] Remove debug mode after logout
bzr revid: hip@tinyerp.com-20121121064527-pojijc3a7ksxnroy
2012-11-21 12:15:27 +05:30
Christophe Simonis e7b2ec50fe merge upstream
bzr revid: chs@openerp.com-20121120162812-wb04dwv62v25evtj
2012-11-20 17:28:12 +01:00
Denis Ledoux dle@openerp.com bdca6b0925 [FIX]Fix bug lp:1080997. Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
bzr revid: dle@openerp.com-20121120161634-xc0qxyz6x1ccrl2o
2012-11-20 17:16:34 +01:00
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
Fabien Meghazi c9de04d796 [FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog(). Remove Dialog#$buttons dom manipulation hack.
bzr revid: fme@openerp.com-20121120141807-pvdryoib39eqh1u7
2012-11-20 15:18:07 +01:00
Jiten (OpenERP) c1da45fade [Merged] Merged trunk.
bzr revid: jra@tinyerp.com-20121120125207-gjcwghoi0fjm88q4
2012-11-20 18:22:07 +05:30
Vishmita 4eae01b9d8 [IMP]Improve code
bzr revid: vja@tinyerp.com-20121120124438-c727ibwv4r1kg9qw
2012-11-20 18:14:38 +05:30
Jiten (OpenERP) beeaf61b21 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121120123652-ezrem00a8t8xbi7c
2012-11-20 18:06:52 +05:30
niv-openerp ade1a5df87 [IMP] allows to specify a specific eval domain in /web/action/load
bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe
2012-11-20 12:07:48 +01:00
Fabien Meghazi 6c07b70017 [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
lp bug: https://launchpad.net/bugs/1078640 fixed

bzr revid: fme@openerp.com-20121120110104-ge6k5n22cul5jrax
2012-11-20 12:01:04 +01:00
Xavier Morel 5a9f78302f [MERGE] from trunk
when creating the instance, set instance.session.uid to 42 so the evaluator has something to chew on when it tries to create the evaluation context

bzr revid: xmo@openerp.com-20121120101733-b0ire11bbuywfi8u
2012-11-20 11:17:33 +01:00
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00
Fabien Meghazi ceae7544ca [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e
2012-11-20 10:50:42 +01:00
Tejas Tank 86408a7348 Merged Latest.
bzr revid: tta@openerp.com-20121120092907-cqr0uuusv86uaiwx
2012-11-20 14:59:07 +05:30
Vishmita 3b07266500 [IMP]Minor Changes related to terminology for Change Password dialog pop-up
bzr revid: vja@tinyerp.com-20121120072957-rrjlbwkn6tkdmqkc
2012-11-20 12:59:57 +05:30
Hiral Patel (OpenERP) 14879e0802 [IMP] Set the height of text field
bzr revid: hip@tinyerp.com-20121120065118-c9hc7n2u2txgn4w2
2012-11-20 12:21:18 +05:30
Hiral Patel (OpenERP) 45dd2ae4e5 [MERGE] Merge with lp:openerp-web
bzr revid: hip@tinyerp.com-20121120044450-36oiywuzlysqyygl
2012-11-20 10:14:50 +05:30
Olivier Dony a670e79f8e [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121119170116-x6fusrmmmkquvgfh
2012-11-19 18:01:16 +01:00
Olivier Dony 1a8acb73b3 [IMP] monodb bootstrap: support @db query string param to force monodb mode
Allows a.o. to let auth_signup URLs works even if multiple DBs
exist

bzr revid: odo@openerp.com-20121119170042-iprc0u159qpf8ll2
2012-11-19 18:00:42 +01:00
Fabien Meghazi 9180d9702b [FIX] Don't leave button@type=submit in IE
bzr revid: fme@openerp.com-20121119143719-1uu4s71jyudfi5u3
2012-11-19 15:37:19 +01:00
Vishmita a1544bffb4 [FIX]check if first character is special character
bzr revid: vja@tinyerp.com-20121119134124-ejaqtquqr7nd9y6z
2012-11-19 19:11:24 +05:30
Hiral Patel (OpenERP) 203c5d0bf6 [IMP] Change font color of Print and More to black
bzr revid: hip@tinyerp.com-20121119132142-go7qw4nyn9248gdz
2012-11-19 18:51:42 +05:30
Vishmita c8f1dc402d [MERGE]Merge lp:~openerp-dev/openerp-web/trunk-improve-little-big-details.
bzr revid: vja@tinyerp.com-20121119125700-z5li5h7oo7237ify
2012-11-19 18:27:00 +05:30
Christophe Matthieu c7e8142cae [FIX] many2many_tags: the widget accept the required attribute
bzr revid: chm@openerp.com-20121119122413-plp6klbytyjuhwqt
2012-11-19 13:24:13 +01:00
Fabien Meghazi 09a2f24398 [FIX] push_state() broken after closing a wizard
bzr revid: fme@openerp.com-20121119111130-7xubnqvvhp3q1jds
2012-11-19 12:11:30 +01:00
Fabien Meghazi b7a5b07b3e [IMP] Update jQuery to version 1.8.3
bzr revid: fme@openerp.com-20121119111110-rjznfpj6fllfbgqj
2012-11-19 12:11:10 +01:00
Jiten (OpenERP) e17c6b40d9 [IMP] Improve notification number with infinity symbol when its more than 99.
bzr revid: jra@tinyerp.com-20121119102053-ifq5iifd28qh87oh
2012-11-19 15:50:53 +05:30
Raphael Collet 4dcede9044 [IMP] web: add 'widget: self' in rendering environment of openerp.web.Client
bzr revid: rco@openerp.com-20121119100734-dtprbdm9bypid8bk
2012-11-19 11:07:34 +01:00
Xavier Morel e0ec6783e5 [IMP] listview already checks non-empty ids array for deletion, so check not useful
bzr revid: xmo@openerp.com-20121119084533-6qnktzmh19kfwtoo
2012-11-19 09:45:33 +01:00
Xavier Morel 28cbfd22b7 [FIX] editable listview: do not attempt to delete falsy ids (from the dataset)
During the creation of a new record (in an editable list), the
prospective new record has a ``false`` id. In a non-o2m, the row under
creation can be selected (checkbox) and deleted (More > Delete),
leading to the request to ``DELETE false`` being sent to the ORM…
which said ORM does not wish to entertain.

Before actually performing the delete request (more precisely
forwarding said request to the listview itself), remove all false-ish
ids from the array.

Also, don't send a request to delete nothing.

bzr revid: xmo@openerp.com-20121119084203-0vz4v9myfizxz88u
2012-11-19 09:42:03 +01:00
Vishmita e97d0843c3 [IMP]Minor Change
bzr revid: vja@tinyerp.com-20121119071142-8z4tyac5t8614dde
2012-11-19 12:41:42 +05:30
Vishmita df369bd8c0 [Merge]Merge lp:~openerp-dev/openerp-web/trunk-improve-change-password-dialog
bzr revid: vja@tinyerp.com-20121119070614-yri2ytotkzx47mj9
2012-11-19 12:36:14 +05:30
Paramjit Singh Sahota 0a8c9ac5a2 [IMP] Little change
bzr revid: psa@tinyerp.com-20121119063704-217zmdwq22tekqq0
2012-11-19 12:07:04 +05:30
Paramjit Singh Sahota 48deaf23df [IMP] Improved code for the 'Need Action' indicators highlightz with the infinity symbol when the records exceed 99.
bzr revid: psa@tinyerp.com-20121119062151-0oj8w4k73cgy4hat
2012-11-19 11:51:51 +05:30
Jiten (OpenERP) df184ad1f9 [MERGE] Merge trunk.
bzr revid: jra@tinyerp.com-20121119053320-to7uhn8mk3xpvq8r
2012-11-19 11:03:20 +05:30
Christophe Simonis 4aa5e76174 merge upstream
bzr revid: chs@openerp.com-20121116183212-1ke59kde4ilicw6d
2012-11-16 19:32:12 +01:00
Xavier Morel 86842fe9c8 [FIX] correctly handle case of deleting-an-o2m-line-being-edited
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
Christophe Matthieu ea92f73acc [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato
2012-11-16 16:15:06 +01:00
niv-openerp 40c4ed7f54 [FIX] problem in editable list o2m when hitting the enter button rapidly
bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco
2012-11-16 16:12:48 +01:00
Vishmita 367e3a90cc [FIX]add accesskey for 'add items'.
bzr revid: vja@tinyerp.com-20121116133111-joo7ghrvrlqs0f0v
2012-11-16 19:01:11 +05:30
Xavier Morel 1e2e0c5cb1 [FIX] test cases
* mock(:) callback receives a pair (args, kwargs) not raw params
* list buttons test triggers domain evaluation, which depends on form (why???)

bzr revid: xmo@openerp.com-20121116115544-cdowx66w3m8inqon
2012-11-16 12:55:44 +01:00
Christophe Matthieu 6debec3f10 [IMP] web form: one2many_binary became many2many_binary
bzr revid: chm@openerp.com-20121116112517-yqc9w37iz5yg2xf0
2012-11-16 12:25:17 +01:00
Vishmita 5e948944a0 [IMP]Improve code for change password dialog
bzr revid: vja@tinyerp.com-20121116110838-zqwt9mkx5prooqzq
2012-11-16 16:38:38 +05:30
Xavier Morel e1e4c48c18 [REM] test runner feature which probably caused more trouble than it caught
avoid catching exception in executed callback, it just hinders debugging by generated completely bonkers traces

bzr revid: xmo@openerp.com-20121116105554-hu45anetrj1a8tl6
2012-11-16 11:55:54 +01:00