Commit Graph
4914 Commits
Author SHA1 Message Date
Christophe Matthieu 2f38a4425f [MERGE] view list: Show the menu sidebar when a child item is showed.
bzr revid: chm@openerp.com-20121204141416-cay34shj7h5y4a6q
2012-12-04 15:14:16 +01:00
Xavier Morel c04b5b7e1f [IMP] client actions doc fixes
bzr revid: xmo@openerp.com-20121204094925-0h0un3eg6znnxy7i
2012-12-04 10:49:25 +01:00
vta vta@openerp.com dd539643e6 [FIX] Added the context of the action when evaluating the domain.
bzr revid: vta@openerp.com-20121204093326-plc4pf4qszok1rw6
2012-12-04 10:33:26 +01:00
Launchpad Translations on behalf of openerp 683f31e51b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121204055506-fin73s7n3o52fmuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20121204055956-fsd4tp3felpk8pm5
2012-12-04 05:59:56 +00:00
Christophe Simonis 0892aa7c49 [IMP] improve css for monetary fields
bzr revid: chs@openerp.com-20121203184214-wdunfzy4u2z99fk5
2012-12-03 19:42:14 +01:00
Olivier Dony 6c00237919 [MERGE] instance.init: less offensive constant
bzr revid: odo@openerp.com-20121203125820-e1k8dphqhp35z2z2
2012-12-03 13:58:20 +01:00
Xavier Morel f9670e67a2 [FIX] rollback default conversion of js Object to py.object (not py.dict) and add default toJSON to all py.object
* Accesses in contexts & domains are object derefs, so using dicts was
  dumb

* But objects still need to round-trip through in case of e.g. o2m
  commands in contexts, so py.object needs a toJSON (or a special
  object kind needs to be added, specifically for round-tripping
  objects through)

bzr revid: xmo@openerp.com-20121203122312-gc499mujf4l0nuz7
2012-12-03 13:23:12 +01:00
Xavier Morel 54ea7670d3 [FIX] incorrect conversion of JS arrays to py.js lists/tuples
bzr revid: xmo@openerp.com-20121203114706-dn5sqq3glqst4g1q
2012-12-03 12:47:06 +01:00
Xavier Morel 0b54cbb64f [IMP] update py.js for abs builtin support
bzr revid: xmo@openerp.com-20121203084803-ib325gp18g5xvdv6
2012-12-03 09:48:03 +01:00
Launchpad Translations on behalf of openerp 0c1c7e0645 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121201052150-yqa0633xufeghwro
bzr revid: launchpad_translations_on_behalf_of_openerp-20121202044423-mgcbteebgi44toci
2012-12-02 04:44:23 +00:00
Olivier Dony e91080c251 [I18N] Update translation templates with latest terms
bzr revid: odo@openerp.com-20121130183717-5a4h24j8b5v7kxfl
2012-11-30 19:37:17 +01:00
Olivier Dony ab39c09a7b [MERGE] Less intrusive timezone offset warning (comes with corresponding server branch)
bzr revid: odo@openerp.com-20121130175658-r3zvuhx75iqa5sus
2012-11-30 18:56:58 +01:00
Olivier Dony 706a58bfec [IMP] instance.init: less offensive constant
bzr revid: odo@openerp.com-20121130175249-yrbcdsn2z1io79dz
2012-11-30 18:52:49 +01:00
niv-openerp 053d6af231 [FIX] forgot to modify test after API change
bzr revid: nicolas.vanhoren@openerp.com-20121130140335-k1nus3oz1xw6deeu
2012-11-30 15:03:35 +01:00
Xavier Morel 4102c43793 [FIX] trailing comma in array
bzr revid: xmo@openerp.com-20121130133021-dg09qnw9twz2v4ws
2012-11-30 14:30:21 +01:00
Xavier Morel e137c9d747 [FIX] translations and other failings
always include a ``context`` param in rpc requests if none is
provided: use the user_context at the very least

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

bzr revid: xmo@openerp.com-20121130103651-4pf5bauj50cm151y
2012-11-30 11:36:51 +01:00
Xavier Morel 5d313f1754 [FIX] styllistic fixes
bzr revid: xmo@openerp.com-20121130103638-8r77jpmb3hhmo8dt
2012-11-30 11:36:38 +01:00
niv-openerp 94dca54e38 [IMP] removed date.today() in pyeval
bzr revid: nicolas.vanhoren@openerp.com-20121130095228-mffq2407lq7tf8jj
2012-11-30 10:52:28 +01:00
Launchpad Translations on behalf of openerp f12df4e8ea Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130050827-124dy1fyx1f113n9
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130051820-ru59ffbuvhm96b8l
2012-11-30 05:18:20 +00:00
Fabien Meghazi 40a383df01 [IMP] Afterall the clock icon does not reflect that there's a problem. Reverting to alert icon
bzr revid: fme@openerp.com-20121129223704-pbvw818xt6a3cmmn
2012-11-29 23:37:04 +01:00
Fabien Meghazi 55b76fca12 [IMP] Do not dismiss systray icon
It will be automatically done once the user fills is a correct timezon (webclient reloads)

bzr revid: fme@openerp.com-20121129222242-zcipil8lr0xct72g
2012-11-29 23:22:42 +01:00
Fabien Meghazi 0fa1393d48 [IMP] Use a more appropriate icon in the systray
bzr revid: fme@openerp.com-20121129215814-e137va813jyu1fsc
2012-11-29 22:58:14 +01:00
Fabien Meghazi ddf04c8a2b [IMP] wording
bzr revid: fme@openerp.com-20121129214919-1gypag36heyum97g
2012-11-29 22:49:19 +01:00
Fabien Meghazi 3d75ca8741 [IMP] Use a systray icon for timezone notification (less intrusive)
bzr revid: fme@openerp.com-20121129213743-w79fh583icui2h2l
2012-11-29 22:37:43 +01:00
Fabien Meghazi bd5c3aa90c [IMP] tz_offset is no longer in context
bzr revid: fme@openerp.com-20121129210436-d4umqkb04me1tliu
2012-11-29 22:04:36 +01:00
niv-openerp f9b9e7c4cb [IMP] added context_today()
bzr revid: nicolas.vanhoren@openerp.com-20121129160746-c3c691zk5fxhzse0
2012-11-29 17:07:46 +01:00
niv-openerp cc6f0aa20a [FIX] potential problem with pyeval datetime/date today()/now() methods. Now only returns the same timezone than server (UTC).
bzr revid: nicolas.vanhoren@openerp.com-20121129153601-vtpnvkc0vylo9hux
2012-11-29 16:36:01 +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
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