Commit Graph

63333 Commits

Author SHA1 Message Date
Richard Mathot (OpenERP) 57dfcc6e12 [MERGE] Merge parents
bzr revid: rim@openerp.com-20131219081730-y57n3quz5j71hqux
2013-12-19 09:17:30 +01:00
Fabien Meghazi b180d69808 [IMP] Better events naming for EditorBar height related stuff
bzr revid: fme@openerp.com-20131218201619-vja6dv0sctokep3b
2013-12-18 21:16:19 +01:00
Fabien Meghazi 9abcc28884 [IMP] Set EditorBar height programmatically
bzr revid: fme@openerp.com-20131218173915-ds5jeyfypbaefrqf
2013-12-18 18:39:15 +01:00
Richard Mathot (OpenERP) 92daf42a57 [IMP] Saving for multichoice
bzr revid: rim@openerp.com-20131218161419-87uoetuci4okc2qw
2013-12-18 17:14:19 +01:00
ddm 2381c44441 [IMP] UI test runner code doc
bzr revid: ddm@openerp.com-20131218152352-mclkpnjpzvqsibqh
2013-12-18 16:23:52 +01:00
ddm 50ab1e551e [IMP] Cleanup UI tests
bzr revid: ddm@openerp.com-20131218151702-68m9z9wm31rj5g2f
2013-12-18 16:17:02 +01:00
ddm 245a6aafa9 [FIX] Fix UI test runner
bzr revid: ddm@openerp.com-20131218150056-xqueu19zpm17nlpj
2013-12-18 16:00:56 +01:00
ddm 4f0ad3f64a [IMP] Basic support for ui tests
bzr revid: ddm@openerp.com-20131218145628-9oqxlwy4g05n4jwa
2013-12-18 15:56:28 +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 eb44a6b21e [FIX] in contactus page, replace res_company.partner_id by res_company.name so it can be saved
bzr revid: xmo@openerp.com-20131218132610-adby5u0daviprjev
2013-12-18 14:26:10 +01:00
Fabien Meghazi f57869a89d [FIX] menu should honor the 'Open in a new window' option
bzr revid: fme@openerp.com-20131218130515-7ztpt4qpfb9bq5ah
2013-12-18 14:05:15 +01:00
Richard Mathot (OpenERP) 3bfbcfee36 [MERGE] Merge parents
bzr revid: rim@openerp.com-20131218072037-7g2t677f1fryj9tt
bzr revid: rim@openerp.com-20131218124833-07mgsnr35oibusn1
2013-12-18 13:48:33 +01:00
Xavier Morel 90a9e522f3 [ADD] placeholder support on t-field
A placeholder is looked up:

1. in the field's options ("placeholder")
2. on the t-field node itself (@placeholder)
3. on the field's column (.placeholder)

The first one found is used as the @placeholder of the resulting node
(in-HTML), and displayed when the field is empty and unfocused.

If no placeholder is found, an empty field just gets a small padding
in order to be easier to see & focus.

bzr revid: xmo@openerp.com-20131218114901-xi3ye11x5pysq2a2
2013-12-18 12:49:01 +01:00
Richard Mathot (OpenERP) b5de38f287 [FIX] Small fix in answer recording
bzr revid: rim@openerp.com-20131218072004-jzo8ozonyxv9a0jw
2013-12-18 08:20:04 +01:00
Richard Mathot (OpenERP) 5bf9954eb5 [IMP] Prefill for multiple choice questions
bzr revid: rim@openerp.com-20131218071910-lzpvvu7rzeuj30qe
2013-12-18 08:19:10 +01:00
Xavier Morel 128f1e1281 [FIX] odd behavior in cke widgets
in "block-level" widgets (divs), when hitting [return] instead of
adding a newline in the widget a new bit of widget may be added. This
is caused by an incompability between widgets and the enterKey plugin.

Remove enterKey, behavior on [Return] is slightly worse (always
inserts br) but widgets don't get broken.

See https://dev.ckeditor.com/ticket/11326 for issue in upstream.

bzr revid: xmo@openerp.com-20131217153751-7fbwp34o8kac9x94
2013-12-17 16:37:51 +01:00
Fabien Meghazi 68f0397609 [IMP] preload all objects
bzr revid: fme@openerp.com-20131217150211-zquu7nn05g23m4r4
2013-12-17 16:02:11 +01:00
Richard Mathot (OpenERP) 96a86525a4 [MERGE] Merge parents
bzr revid: rim@openerp.com-20131217102008-1ds3byarhyc86f8c
bzr revid: rim@openerp.com-20131217145121-v4s89fx8vsncmv4p
2013-12-17 15:51:21 +01:00
Fabien Meghazi fca5a85fc6 [FIX] forgot to remove a js statement
bzr revid: fme@openerp.com-20131217134734-tfz8c3e6watamac3
2013-12-17 14:47:34 +01:00
Fabien Meghazi 1434a5aae9 [IMP] allow to reset broken views in the 500 error page
bzr revid: fme@openerp.com-20131217134600-v0i170n9gw7752vj
2013-12-17 14:46:00 +01:00
ddm 5d97a99b1a [IMP] removed JS function from banner tour
bzr revid: ddm@openerp.com-20131217130240-hdbgp90f47uori0h
2013-12-17 14:02:40 +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
Xavier Morel f6eb40fc90 [FIX] enable user-selection on editable buttons (when the button itself is editable, not just in an editable section)
bzr revid: xmo@openerp.com-20131217104702-jell0imowvzjlasl
2013-12-17 11:47:02 +01:00
Thibault Delavallée 21791ced7c [IMP] payment_acquirer_transfer: make it auto_install. This way users
installing the ecommerce will always have a default payment
method.

bzr revid: tde@openerp.com-20131217085056-meq403m1bdl8vk9w
2013-12-17 09:50:56 +01:00
Richard Mathot (OpenERP) 20a35175ab [FIX] Small fixes
bzr revid: rim@openerp.com-20131216160908-yx5deeleg0m57n5s
2013-12-16 17:09:08 +01:00
Max Mumford 3aaa0c10fe [ADD] <main> tag around content for easy replacing, and CSS changes to maintain current UI
bzr revid: mmu@openerp.com-20131216160654-s75kx9xr2yutq5fg
2013-12-16 17:06:54 +01:00
Richard Mathot (OpenERP) edc5a2b62c [MERGE] Merge parents
bzr revid: rim@openerp.com-20131216153304-e703s4urghgn3vxp
2013-12-16 16:33:04 +01:00
Richard Mathot (OpenERP) 3989d19205 [IMP] Prefilling and saving for scalar types, views improvements and typos
bzr revid: rim@openerp.com-20131216153244-y8ctabjwipr0infc
2013-12-16 16:32:44 +01:00
Xavier Morel 98c4e6b3d4 [IMP] editability criteria for links and images
if a link or image is an editing host (has @contenteditable=true), its
body is editable *but* its attributes should not be considered
editable: if the attributes come from a t-att-*, @contenteditable will
be set on the node itself.

such elements should be ignored by the link & image dialog handling
thing, as editing their attributes has undesirable effects.

bzr revid: xmo@openerp.com-20131216134424-fdqs03i9pidbmaqt
2013-12-16 14:44:24 +01:00
ddm d15f3d2b8a [FIX] Main object for members (promote)
bzr revid: ddm@openerp.com-20131216134033-qnrvj06od8y2o868
2013-12-16 14:40:33 +01:00
ddm ff7da06cf9 [FIX] Main object for jobs (promote)
bzr revid: ddm@openerp.com-20131216133549-57343aix6it9ch5a
2013-12-16 14:35:49 +01:00
ddm 599b34d78d [FIX] Snafu
bzr revid: ddm@openerp.com-20131216112211-t8tvnamftce80qjd
2013-12-16 12:22:11 +01:00
Fabien Meghazi defdd6e565 [ADD] main_object for events
bzr revid: fme@openerp.com-20131216110234-iup1hiz57b68j8g7
2013-12-16 12:02:34 +01:00
ddm ff25c7a85a [FIX] Main object for events (promote)
bzr revid: ddm@openerp.com-20131216105403-0x6p1gg4ef0zjvid
2013-12-16 11:54:03 +01:00
ddm 285a596bf2 [FIX] Main object for customers (promote)
bzr revid: ddm@openerp.com-20131216102557-m9itxlw5jqjcdtlr
2013-12-16 11:25:57 +01:00
ddm 7cd60fb225 [FIX] Customers CMS bug
bzr revid: ddm@openerp.com-20131216095847-i4dqzk4ix26hh3cg
2013-12-16 10:58:47 +01:00
ddm 7763d6967e [FIX] Main object for partners (promote)
bzr revid: ddm@openerp.com-20131216092711-sv3n8ah969zm8nbs
2013-12-16 10:27:11 +01:00
Xavier Morel 87c3b6ac72 [FIX] disabling of field escaping
bzr revid: xmo@openerp.com-20131216092343-0e6t7nvse3r0p2zs
2013-12-16 10:23:43 +01:00
ddm 7ce0b5a69e [FIX] Main object for blog posts (promote)
bzr revid: ddm@openerp.com-20131216085636-y1h0h4ig9pbv9bcm
2013-12-16 09:56:36 +01:00
ddm 8f7db60fd6 [FIX] Tour should not start when testing
bzr revid: ddm@openerp.com-20131216075516-o70h4ydhgqj4i3kh
2013-12-16 08:55:16 +01:00
Richard Mathot (OpenERP) 28d2e77c77 [MERGE] Merge parents
bzr revid: rim@openerp.com-20131216074058-hiqiyv4s041hukvv
2013-12-16 08:40:58 +01:00
Richard Mathot (OpenERP) efd748c4ca [IMP] Saving survey data
bzr revid: rim@openerp.com-20131216073743-j0sdavdqprp2xawl
2013-12-16 08:37:43 +01:00
Fabien Pinckaers 38df46190a [IMP] Typo
bzr revid: fp@tinyerp.com-20131215080035-nbenf3bvfrmp1qv1
2013-12-15 09:00:35 +01:00
Fabien Pinckaers c62e8fc793 [IMP] Small improvements
bzr revid: fp@tinyerp.com-20131214192105-0ngdj4t6fz8xjd4q
2013-12-14 20:21:05 +01:00
Fabien Pinckaers b5393c97e4 [IMP] slugify products/categories
bzr revid: fp@tinyerp.com-20131214115227-6g3w70pm6cotiqdk
2013-12-14 12:52:27 +01:00
Fabien Pinckaers cbc4b5e7ff [IMP] Product image improved layout
bzr revid: fp@tinyerp.com-20131214114625-uian4kh4gexpc6aa
2013-12-14 12:46:25 +01:00
Fabien Pinckaers d53d456c8c [IMP] revert bug
bzr revid: fp@tinyerp.com-20131213214438-ac4mmrurq90vn01r
2013-12-13 22:44:38 +01:00
Fabien Pinckaers bc749910f2 [IMP] Revert bad change in CSS, for height of footer
bzr revid: fp@tinyerp.com-20131213213759-fz3yjc79o09jmjw2
2013-12-13 22:37:59 +01:00
Fabien Pinckaers fd772ee527 [IMP] better css
bzr revid: fp@tinyerp.com-20131213213014-hz0x1tfxygrmev1o
2013-12-13 22:30:14 +01:00
Christophe Matthieu b32dd93365 [IMP] website_sale: layout for all theme and mobile view
bzr revid: chm@openerp.com-20131213161850-le6823cp9njx8iny
2013-12-13 17:18:50 +01:00