Commit Graph

4892 Commits

Author SHA1 Message Date
Thibault Delavallée f0087538ac [IMP] as ir_ui_menu.needaction_enabled is back as store=True, we can filter the initial search for needaction_counters.
bzr revid: tde@openerp.com-20121129155801-0wxdogo9o9emk6i4
2012-11-29 16:58:01 +01:00
Thibault Delavallée 5fc19e0454 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129151120-e6ovaugw0pkccyuu
2012-11-29 16:11:20 +01:00
Xavier Morel c166c19ed1 [REM] dead code from evaluation being client-side only
bzr revid: xmo@openerp.com-20121129141759-wj4je85nkrfznql1
2012-11-29 15:17:59 +01:00
Xavier Morel 0b0cfff063 [MERGE] missing translation marks, courtesy of Csaba TOTH
lp bug: https://launchpad.net/bugs/1084306 fixed

bzr revid: xmo@openerp.com-20121129140109-bwx1njhyqfenc2d3
2012-11-29 15:01:09 +01:00
niv-openerp 184593003b [FIX] race condition problem with m2m
bzr revid: nicolas.vanhoren@openerp.com-20121129134051-5hiw9z5hi99fxtve
2012-11-29 14:40:51 +01:00
Xavier Morel 759f11f110 [FIX] py.js: bug in tokenization of single-quoted empty string
bzr revid: xmo@openerp.com-20121129132738-fcnam8bkqyt7h8ey
2012-11-29 14:27:38 +01:00
Xavier Morel 9f76458404 [FIX] groupby on editable list
Because of the "meta" columns (e.g. group name column),
ListView#columns would end up with a different number of elements than
ListView#fields_view.arch.children, and when zipping them together (to
build the form view for edition) things wouldn't match anymore.

It would seem simply filtering out meta columns (and only keep those
actually specified by the view) is sufficient to fix the issue and
have everything line up again. I'm midly impressed.

bzr revid: xmo@openerp.com-20121129131301-scc38i4l55ea7lis
2012-11-29 14:13:01 +01:00
tsabi 83b7823f25 some more change in the new pyeval.js file
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129115454-rpviywfnosjdmovm
2012-11-29 12:54:54 +01:00
tsabi 72109e7541 fix tab problem
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129115306-ifncjymnmuk989eq
2012-11-29 12:53:06 +01:00
tsabi fbaf8a44f4 [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114206-cv8hqf6ivd7neez0
2012-11-29 12:42:06 +01:00
tsabi 76ca47d4fd [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Thibault Delavallée 7461f88473 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129114105-0akr0d6nji08g750
2012-11-29 12:41:05 +01:00
Xavier Morel fe3d493cc8 [FIX] searches with filters using "empty" domain/context values (but not attributes)
e.g. @domain="[]" would be seen as non-empty by the search view, and
if multiple domains the search view would generate a nonliteral
``['|', '[]', '[]]`` which would just yield ``['|']`` after evaluation
and concatenation, which is an invalid domain and would blow up the
server.

Specifically filter out the values ``[]`` and ``{}`` from filters

bzr revid: xmo@openerp.com-20121129112413-yrgncnesqs093jwf
2012-11-29 12:24:13 +01:00
Xavier Morel a2b23a1ca7 [REM] merge conflict file committed
bzr revid: xmo@openerp.com-20121129112350-egvxrg8ii71wzdx6
2012-11-29 12:23:50 +01:00
Xavier Morel c7772fdd82 [FIX] server-sourced fields_get has no indirection to the model's fields
previous searchview-controller wrapper method did. Remove leftover indirection deref

bzr revid: xmo@openerp.com-20121129103841-6qcl4sctekqmrt2q
2012-11-29 11:38:41 +01:00
Xavier Morel bf29cecca3 [FIX] if an action descriptor is precisely ``false``, treat it as an ir_action_close ~/projects/tiny/web/current
Can be seen in e.g. Quotations > [More sidebar] > Sale: Mark Unread:
it's a server action which just returns ``False``, the handler
resulted in a noop but also produced an error message in the browser
console ("No type for action false").

Convert ``false`` (identity-tested) into an ir_action_close in
do_action, before actually mucking into the action descriptor.

bzr revid: xmo@openerp.com-20121129101137-g01nd49hnlg2odfs
2012-11-29 11:11:37 +01:00
Christophe Matthieu f0c821ebbc [MERGE] from trunk-openchatter-vive-lilo-chm
bzr revid: chm@openerp.com-20121129095214-pniv6qy0p2ea6efe
2012-11-29 10:52:14 +01:00
Xavier Morel 1238164680 [MERGE] evalpocalypse
bzr revid: xmo@openerp.com-20121129091149-0k26u2mmjzaa2c1a
2012-11-29 10:11:49 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
Fabien Meghazi 396f76c95a [MERGE] Fix field binary image controls padding causing overflow
bzr revid: fme@openerp.com-20121129091017-0oefnnl6z4fd5aae
2012-11-29 10:10:17 +01:00
Christophe Matthieu 66e13eb9bf [IMP] web avatar preference: change overflow hidden into padding: 4px 0
bzr revid: chm@openerp.com-20121129083314-gbhblm0vi4nw08sb
2012-11-29 09:33:14 +01:00
Launchpad Translations on behalf of openerp 4b464deeee Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121129051532-an3wp6f216pkzxiz
bzr revid: launchpad_translations_on_behalf_of_openerp-20121129052158-2gjacp96ppgmvr5t
2012-11-29 05:21:58 +00:00
tsabi e2435d4f00 fixed a typo that maked javascript error
bzr revid: tsabi-20121129011822-fv9v0l72231y0093
2012-11-29 02:18:22 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Xavier Morel 8431c69016 [FIX] sidebar activation: put original context before action context in eval sequence
bzr revid: xmo@openerp.com-20121128161311-u3e3oqhutt043mzq
2012-11-28 17:13:11 +01:00
Antony Lesuisse a34f0ef51c [MERGE] trunk-timezone-notification-fme
if res.users and browser timezone offset differs we display a warning.
openerp-web relies on the browser for datetime manipulations so we need both to be in sync.

bzr revid: al@openerp.com-20121128160344-1iae73w47ocot9ib
2012-11-28 17:03:44 +01:00
Xavier Morel 83d5c4f94c [IMP] update py.js to correctly tokenize unicode literals
also various style improvements in the lib

bzr revid: xmo@openerp.com-20121128155448-1tv62wyv3zy2asr5
2012-11-28 16:54:48 +01:00
Thibault Delavallée 39ef2cc731 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128155252-fspz3t9ywt2neww4
2012-11-28 16:52:52 +01:00
Xavier Morel 628ed49fff [FIX] correctly return deferreds from all action type handlers
bzr revid: xmo@openerp.com-20121128152524-xrh6zqty0huqb732
2012-11-28 16:25:24 +01:00
Xavier Morel 48b0d70fc2 [FIX] context evaluation in kanban resequencing
bzr revid: xmo@openerp.com-20121128151044-i58uwcdem2cgyyrv
2012-11-28 16:10:44 +01:00
Xavier Morel 2b75593168 [FIX] don't display password fields in set_default dialogs
lp bug: https://launchpad.net/bugs/1015092 fixed

bzr revid: xmo@openerp.com-20121128135013-xzanbxv6qoqo28kh
2012-11-28 14:50:13 +01:00
Xavier Morel ddcce477d7 [FIX] eq/neq of arrays in compute_domain
bzr revid: xmo@openerp.com-20121128134142-eywfsl3bv56pvoso
2012-11-28 14:41:42 +01:00
Christophe Matthieu fef6ed2f93 [FIX] When the avatar of 'change my preferences' is mousehover, the scrollbar appears, and after a color bar appears. Set oe_form_field_image_controls on overflow hidden for fixing.
bzr revid: chm@openerp.com-20121128111741-pm6fy7z01se90oxd
2012-11-28 12:17:41 +01:00
Xavier Morel 89d9cd5910 [FIX] use py.js 0.7 API
bzr revid: xmo@openerp.com-20121128110542-nplg9o3e5jpxmqic
2012-11-28 12:05:42 +01:00
Thibault Delavallée 10ba4e5e60 [IMP] [TMP] controller: search for all menus to have their needaction info, because currently needaction_enabled is not searchable (non stored function field). Revert this revision when the column is back as stored.
bzr revid: tde@openerp.com-20121128110520-wijh1sr5qvsch7b8
2012-11-28 12:05:20 +01:00
Xavier Morel b194e225f1 [FIX] py_date should return a local date, not a UTC date
bzr revid: xmo@openerp.com-20121128104716-w7zqiljfazj597pg
2012-11-28 11:47:16 +01:00
Christophe Matthieu 71e999d611 [MERGE] from trunk-improve-notification-infinity-psa; Improved notification when it will be more than 99 than display 99+
bzr revid: chm@openerp.com-20121128094131-xewcni2ee1sirqep
2012-11-28 10:41:31 +01:00
Christophe Matthieu b41ee4833e [MERGE] from trunk-first-10clicks-accounting-tta; Selection Placeholder. No traceback py but a warning/constraint message for wrong value insert for float and int.
bzr revid: chm@openerp.com-20121128083349-qfnl5rbaprq7hlh6
2012-11-28 09:33:49 +01:00
Christophe Matthieu 4c7229f2c3 [MERGE] from trunk-addons_23-mdi; FIX for 'Debug mode becomes permanent in local databases.' and Fonts for 'Print' and 'More' menus are grey (they should be pure black, because grey = deactivated in the mind of most people)
bzr revid: chm@openerp.com-20121128082130-x16m1x0bdsgo7grp
2012-11-28 09:21:30 +01:00
Thibault Delavallée 920fd89e05 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128081853-t1efdxd9s6owrb5o
2012-11-28 09:18:53 +01:00
Tejas Tank 81a2e23dd6 [FIX] clean the code.
bzr revid: tta@openerp.com-20121128053540-01z3yiooq83foyew
2012-11-28 11:05:40 +05:30
Launchpad Translations on behalf of openerp 09eccd07dc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121128044150-jz3ll5wdeuxmt0uq
bzr revid: launchpad_translations_on_behalf_of_openerp-20121128045740-q3cav2rhekdy6gq8
2012-11-28 04:57:40 +00:00
Divyesh Makwana (Open ERP) 91b19d1a7c [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121128042303-eu3ttdp9nvt99o2k
2012-11-28 09:53:03 +05:30
Antony Lesuisse f63bdc67e2 [FIX] Login button left for better looking signup and oauth integration
bzr revid: al@openerp.com-20121127235942-oudu8auo2f9ctulo
2012-11-28 00:59:42 +01:00
Xavier Morel 5aa800ef42 [IMP] simplify action handlers: no need to eval_domains_and_contexts as do_action will evaluate them if and when needed
bzr revid: xmo@openerp.com-20121127154121-rsr4hxgmwmdrpdt7
2012-11-27 16:41:21 +01:00
Xavier Morel 6d27327d14 [FIX] parsing of long integers, as some openerp domains output them
bzr revid: xmo@openerp.com-20121127154037-fiu6vsfdvix3zlmz
2012-11-27 16:40:37 +01:00
Christophe Matthieu f1ea29e580 [MERGE] from trunk-opw-581041-vja; Fixed the issue of raised exception not displayed in trunk when adding attachment to object if create of ir.attachment raises exception. Now, it should display the warning message.
bzr revid: chm@openerp.com-20121127150808-wqo8qh2vstagz4kj
2012-11-27 16:08:08 +01:00
niv-openerp 8e15ed4002 [IMP] small improvement of core lib
bzr revid: nicolas.vanhoren@openerp.com-20121127144140-14y700rqdmpd8w44
2012-11-27 15:41:40 +01:00
Xavier Morel cc4d5a79ec [FIX] group_by using old code
bzr revid: xmo@openerp.com-20121127143917-pk4un6zi1v96niyr
2012-11-27 15:39:17 +01:00
Thibault Delavallée c5d3036674 [IMP] Needaction: couters are not counter with the menu anymore.
Web-side: a call to get_needaction_data is performed to have action counters.
Menus are then updated synchronously with this value.

bzr revid: tde@openerp.com-20121127142944-m17zo62er5rh2lvg
2012-11-27 15:29:44 +01:00