Commit Graph

19 Commits

Author SHA1 Message Date
Fabien Pinckaers a1b95f6823 [FIX] Customize menu
bzr revid: fp@tinyerp.com-20140130194227-b5brj96f8tgc88hf
2014-01-30 20:42:27 +01:00
Antony Lesuisse 87a1b0a459 [FIX] customize menu
- regression introducted by elif
- hide non relevant option
- deterministic order of items

bzr revid: al@openerp.com-20140127205326-0o1vgbf45mvxllgv
2014-01-27 21:53:26 +01:00
Raphael Collet d9943ea49b [IMP] website: make code more robust
bzr revid: rco@openerp.com-20140127145848-ib7jlhb1c6aw3w2d
2014-01-27 15:58:48 +01:00
Fabien Meghazi a2fb618354 [FIX] do not crash when trying to rescue a wrong t-call in template
Need trunk-website-al server's Rev#5173

bzr revid: fme@openerp.com-20140127114034-luhekopukpbmntqt
2014-01-27 12:40:34 +01:00
Xavier Morel e04983ae69 [IMP] conversion back from m2o t-field to openerp value
Instead of doing a name_get on the edited value and trying to find out
an m2o to assign back (which there's pretty much no chance of given
there's no autocompletion or anything), alter the m2o record in-place
by setting the provided edited value to its _rec_name.

Ideally, both features could be supported via more advanced m2o
edition widgets which would allow selecting an existing m2o, creating
a new m2o record from scratch or (maybe) editing the existing m2o's
display_name if possible, somewhat similar to what the form view
provides.

Without these though, the only action which makes any sense is to edit
the user-visible "value" where it is found, as with more normal
fields.

bzr revid: xmo@openerp.com-20131218140917-4eo2o55yfcumzhov
2013-12-18 15:09:17 +01:00
Xavier Morel 4469b36f77 [FIX] change view section saving: only save view section *content*
Before, would save view section itself (including root element). But
branding distribution (and thus editability) are set on the last
programmatic root, thus the root element may well be generated
e.g. <span t-att-foo> will define the span itself as editable.

Saving this would remove the programmatic content on the node, and
thus break the view section altogether.

Fix the issue by only saving the root's content in the previous root.

bzr revid: xmo@openerp.com-20131217112034-nbxbg919cffv4w51
2013-12-17 12:20:34 +01:00
Fabien Pinckaers 46a967502d [FIX] drop when no dropzone, [IMP] Jobs layout
bzr revid: fp@openerp.com-20131116085350-gfrm0jn7bv3ubfz7
2013-11-16 09:53:50 +01:00
Fabien Meghazi 557d887496 [IMP] preprocess static @href|src|action, static url doesn't need t-href anymore
you need to pull server branch

bzr revid: fme@openerp.com-20131112144442-y9bw5q6kkoym8o1i
2013-11-12 15:44:42 +01:00
Fabien Meghazi f747a84131 [BRK] Disable automatic t-href on ir.ui.view#save() that breaks most of the snippets
Temporary desactivated because this breaks most of the snippets
Need to find another way to normalize multilang urls (postprocessing) ?

bzr revid: fme@openerp.com-20131030085425-inwkihpwqmierodx
2013-10-30 09:54:25 +01:00
Xavier Morel 31b059d3f6 [IMP] url t-ization
bzr revid: xmo@openerp.com-20131023090207-jto4fzz153xiqtm6
2013-10-23 11:02:07 +02:00
Fabien Meghazi fd5bae6a98 [FIX] do not normalize urls for images
bzr revid: fme@openerp.com-20131022131629-vo67pv9yqyuoe7q6
2013-10-22 15:16:29 +02:00
Xavier Morel 42f2544250 [FIX] cleanup modified arch sections before reinserting them in source arch
otherwise there are leftovers data-* attributes stored in the DB

bzr revid: xmo@openerp.com-20131022130608-jccohqlmbzvxhnzv
2013-10-22 15:06:08 +02:00
Fabien Meghazi 3c87025227 [FIX] Convert url attributes to their t-(src,href,action) counterparts on ir.ui.view#save()
bzr revid: fme@openerp.com-20131022103703-cnydralsbt45i6eo
2013-10-22 12:37:03 +02:00
ddm ebdfbc58f1 [FIX] SEO for shop products
bzr revid: ddm@openerp.com-20131016160232-e5rxi1hoofm5anrw
2013-10-16 18:02:32 +02:00
Fabien Meghazi 853cb1dd26 [MERGE] SEO meta data persistence. New template title handling
bzr revid: fme@openerp.com-20131014151509-6bnux7ncvqmy3tea
2013-10-14 17:15:09 +02:00
Fabien Meghazi e4edd08ad8 [IMP] Do not use main_object#name field, use website_meta_* fields
bzr revid: fme@openerp.com-20131014135647-3otn3b6q4gy3olwg
2013-10-14 15:56:47 +02:00
Fabien Meghazi 631b1cbc09 [MERGE] upstream
bzr revid: fme@openerp.com-20131014095642-qxl7ceqptfsj215l
2013-10-14 11:56:42 +02:00
Xavier Morel 2e352ce187 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131014085459-dhbypq0hg3lzzf3j
2013-10-14 10:54:59 +02:00
Antony Lesuisse 25a260068b [IMP] renamse files to conform to the future openerp module guidelines
bzr revid: al@openerp.com-20131013030806-2236jpszm1morlg6
2013-10-13 05:08:06 +02:00