odoo/odoo.git
10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 14 Nov 2013 06:30:58 +0000 (06:30 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131114062958-ies8xa3pft7n59ms
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055135-r0xt2vr04710jh1t
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055120-r8z445ergt50erlx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062620-bvfofx1jl1wb1csh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064525-ioceogsmu0nmx2qj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053908-gbrp09ast5fhr6iw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062316-5uf2bvbzdhkq1b7k
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060841-bkjcuz4e9rtzn6f9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114063058-rrm2q5lxkyawuvpz

10 years ago[FIX] ir_fields: call selection function with context=None instead of not passing...
Martin Trigaux [Wed, 13 Nov 2013 09:45:23 +0000 (10:45 +0100)]
[FIX] ir_fields: call selection function with context=None instead of not passing argument. Same behaviour as previsously but does not break when have default value for context (eg: _get_language for ir.translation)

bzr revid: mat@openerp.com-20131113094523-67547nkfkfntjelb

10 years ago[MERGE] view form: reduce the number of result in 'search more' view opening to 160...
Martin Trigaux [Wed, 13 Nov 2013 08:28:06 +0000 (09:28 +0100)]
[MERGE] view form: reduce the number of result in 'search more' view opening to 160 records (performances improvement, not filtering every possible record) (opw 593963)

bzr revid: mat@openerp.com-20131113082806-me6uy7cjj6holn56

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 13 Nov 2013 06:08:48 +0000 (06:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060802-i0rwt8lkgeckatjo
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060848-04a2ehku5erssgvr

10 years ago[FIX] web: do not enforce width of dropdown links
Christophe Simonis [Tue, 12 Nov 2013 14:37:46 +0000 (15:37 +0100)]
[FIX] web: do not enforce width of dropdown links

bzr revid: chs@openerp.com-20131112143746-svdfuqvzvvis6vpy

10 years ago[FIX] web: match base.sass against changes made in base.css in revid 4014 mat@openerp...
Christophe Simonis [Tue, 12 Nov 2013 14:36:35 +0000 (15:36 +0100)]
[FIX] web: match base.sass against changes made in base.css in revid 4014 mat@openerp.com-20130821080933-fiq3zvccgzop02on

bzr revid: chs@openerp.com-20131112143635-ek6yhfifb6ycynku

10 years ago[FIX] Import on model ir.translation was broken because of a missing context
Cecile Tonglet [Tue, 12 Nov 2013 13:27:47 +0000 (14:27 +0100)]
[FIX] Import on model ir.translation was broken because of a missing context

bzr revid: cto@openerp.com-20131112132747-bajrgbwlp0m3z92s

10 years ago[FIX]report: rml2pdf raise exception if cell is too long to be printed (instead of...
Denis Ledoux [Tue, 12 Nov 2013 13:04:12 +0000 (14:04 +0100)]
[FIX]report: rml2pdf raise exception if cell is too long to be printed (instead of infinite loop). Workaround for reportlab issue #15: https://bitbucket.org/rptlab/reportlab/issue/15/infinite-pages-produced-when-splitting

bzr revid: dle@openerp.com-20131112130412-mbdonb9g7n63w84r

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 12 Nov 2013 06:22:20 +0000 (06:22 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055031-tut0ikyn2ukgc3yw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055025-9oq3zxk6003gvt9g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062531-oo7o57h2u1gxr3q5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064337-vgxh4bfudb3xik01
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053813-4tykju0tdgvvgk8m
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062220-8edq183y73j5cxns

10 years ago[FIX] web_test_demo: make test model a TransientModel. This avoid a warning about...
Christophe Simonis [Fri, 8 Nov 2013 21:42:55 +0000 (22:42 +0100)]
[FIX] web_test_demo: make test model a TransientModel. This avoid a warning about the lack of access rules

bzr revid: chs@openerp.com-20131108214255-cgx1r7x8sx1ak4ea

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 12 Nov 2013 06:23:21 +0000 (06:23 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062624-4ihw3f2dghkrup1n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064532-3pcx6sl2w1ioizv9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053914-v4h4lfsutiem8fos
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062321-q35iebzktzu6lw8m

10 years ago[FIX] problem with pads, the demo configuration doesn't work if the server is using...
niv-openerp [Tue, 5 Nov 2013 13:35:20 +0000 (14:35 +0100)]
[FIX] problem with pads, the demo configuration doesn't work if the server is using https. I simply changed the url for the demo version.

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

bzr revid: nicolas.vanhoren@openerp.com-20131105133520-5egsr4cm0hi5r0dk

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9567 rev-id: odo@openerp...
Olivier Dony [Tue, 5 Nov 2013 12:26:34 +0000 (13:26 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9567 rev-id: odo@openerp.com-20131105103011-vkix07lsb6q3y9fd

bzr revid: dle@openerp.com-20131031142609-jinks18n2ju7usm4
bzr revid: dle@openerp.com-20131031162241-goga1hsvwgyqigzd
bzr revid: odo@openerp.com-20131105122634-joau6mg9jqpvbauz

10 years ago[FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.
Christophe Simonis [Tue, 5 Nov 2013 12:18:43 +0000 (13:18 +0100)]
[FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.

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

bzr revid: chs@openerp.com-20131105121843-rqplhk83fczxww0t

10 years ago[FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause
Olivier Dony [Tue, 5 Nov 2013 10:30:11 +0000 (11:30 +0100)]
[FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause

Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.

In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)

bzr revid: odo@openerp.com-20131105103011-vkix07lsb6q3y9fd

10 years ago[FIX] purchase: analysis view must not group by quantity, otherwise identical PO...
Olivier Dony [Tue, 5 Nov 2013 10:19:30 +0000 (11:19 +0100)]
[FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once

The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.

bzr revid: odo@openerp.com-20131105101930-f2qbcp12luom08je

10 years ago[FIX] stock: no early currency rounding when computing average price
Olivier Dony [Mon, 4 Nov 2013 17:32:32 +0000 (18:32 +0100)]
[FIX] stock: no early currency rounding when computing average price

It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)

bzr revid: odo@openerp.com-20131104173232-84g115x6ykxoc1rh

10 years ago[FIX] stock: programming error in average price computation for multiple lines of...
Olivier Dony [Mon, 4 Nov 2013 17:12:45 +0000 (18:12 +0100)]
[FIX] stock: programming error in average price computation for multiple lines of the same product

While processing a picking we must keep track of
previously processed lines as they modify the
stock on hand but are not yet included in the
`qty_available` function.
Negative stock on hand is handled as if
the stock was zero as far as the average
price computation is concerned.

bzr revid: odo@openerp.com-20131104171245-z1lgsplyu4cdz9gc

10 years ago[FIX] stock: `product cost` field in partial picking wizard must respect decimal...
Olivier Dony [Mon, 4 Nov 2013 17:01:18 +0000 (18:01 +0100)]
[FIX] stock: `product cost` field in partial picking wizard must respect decimal precision

Without the right precision the default rounding is
applied and causes a possible loss of precision when
the `Product Price` precision is increased.
This can in turn lead to incorrect average price
computations.

bzr revid: odo@openerp.com-20131104170118-ls5q0yridevw0jgt

10 years ago[FIX] purchase: Purchase Analysis view was using incorrect JOIN order
Olivier Dony [Mon, 4 Nov 2013 16:58:26 +0000 (17:58 +0100)]
[FIX] purchase: Purchase Analysis view was using incorrect JOIN order

The starting table for Purchase Analysis is purchase_order_line
not purchase_order. The previous code was using a wrong JOIN
combination starting from purchase_order, which resulted in
a crash if an empty PO was created.
In order to prevent this an extra  WHERE clause on product_id
being NOT NULL was added, but this was incorrect too as it
prevented PO lines with no product_id value from appearing
in the Purchase Analysis results, while being perfectly valid.

bzr revid: odo@openerp.com-20131104165826-kltuzlh4i8q89sk0

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 5 Nov 2013 06:00:56 +0000 (06:00 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131105060056-7xuq20lqt1upcdc6

10 years ago[FIX] orm: when duplicating a record, if duplicates translations on a field from...
Martin Trigaux [Mon, 4 Nov 2013 16:37:29 +0000 (17:37 +0100)]
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.

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

bzr revid: mat@openerp.com-20131104163729-te0p9863g9ydt282

10 years ago[IMP] use assertEqual instead of assertTrue for better logging
Martin Trigaux [Mon, 4 Nov 2013 16:17:20 +0000 (17:17 +0100)]
[IMP] use assertEqual instead of assertTrue for better logging

bzr revid: mat@openerp.com-20131104161720-2ofur11haask32ni

10 years ago[ADD] base: tests for translations and duplication
Martin Trigaux [Mon, 4 Nov 2013 15:39:46 +0000 (16:39 +0100)]
[ADD] base: tests for translations and duplication

bzr revid: mat@openerp.com-20131104153946-vhpnbn8t1oxfaep1

10 years ago[IMP] comments
Martin Trigaux [Mon, 4 Nov 2013 14:44:27 +0000 (15:44 +0100)]
[IMP] comments

bzr revid: mat@openerp.com-20131104144427-oyca1g1ti583sq3c

10 years ago[FIX] orm: when duplicating a record, if duplicates translations on a field from...
Martin Trigaux [Mon, 4 Nov 2013 14:34:08 +0000 (15:34 +0100)]
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.

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

bzr revid: mat@openerp.com-20131104143408-o71lyws8uba679hd

10 years ago[FIX] web_kanban: correct design of vertical title on IE
Christophe Simonis [Mon, 4 Nov 2013 14:23:10 +0000 (15:23 +0100)]
[FIX] web_kanban: correct design of vertical title on IE

bzr revid: chs@openerp.com-20131104142310-4ef0byprm3gw4s8d

10 years ago[FIX] document: correct numbering of attachments with the same name
Christophe Simonis [Mon, 4 Nov 2013 11:05:12 +0000 (12:05 +0100)]
[FIX] document: correct numbering of attachments with the same name

bzr revid: chs@openerp.com-20131104110512-an7qpur1zckpgu7z

10 years ago[FIX] l10n_multilang: remove force_write attribute in process_translations
Martin Trigaux [Mon, 4 Nov 2013 09:57:29 +0000 (10:57 +0100)]
[FIX] l10n_multilang: remove force_write attribute in process_translations
When processing a translation, the module used to replace the original term by the translated value for accounts (only object with force_write=True). Now getting real multilang feature.
Generates the accounts with no language to get the untranslated value

bzr revid: mat@openerp.com-20131104095729-hwh2cocudxnhunyz

10 years ago[FIX] hr_recruitment: avoid overriding email_from and email_cc in
Thibault Delavallée [Mon, 4 Nov 2013 09:27:31 +0000 (10:27 +0100)]
[FIX] hr_recruitment: avoid overriding email_from and email_cc in
message_update. This behavior makes sens only in message_new when
setting initial parameter of the applicant, not when somebody sends
an email on the record.
Removed priority change when there is  a 'priority' key in msg; but
this key is not likely to be present in a parsed email.
Removed updated values change due to a mapping of values present in
the email. This code was a copy-and-paste from crm and did not have
any meaning in hr_recruitment.

Also removed unnecessary code in project, project_issue, crm_helpdesk
and crm_claim for the same reasons as for hr_recruitment.

bzr revid: tde@openerp.com-20131104092731-ixasweoy1dbllbb3

10 years ago[FIX] stock: include enventual serial number in product reservation procedure
Martin Trigaux [Mon, 4 Nov 2013 08:10:38 +0000 (09:10 +0100)]
[FIX] stock: include enventual serial number in product reservation procedure
done using context for stability reason
wont be needed in new wms
opw 600078

bzr revid: mat@openerp.com-20131104081038-e7qyg5rkwmg48x6a

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 4 Nov 2013 06:02:53 +0000 (06:02 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062728-i1jpi6te7pdo5e2b
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062349-lu6ul1tda7q1xmf0
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054349-cuyjpk6rrh1uxb65
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060253-e23y1yvc5pmnrg7v

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 4 Nov 2013 06:02:49 +0000 (06:02 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062724-823uztz81d48e7zk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062340-1guhkeb34orj1d77
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054341-mg7xr0dkzd2rp6rx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060249-fio493wxgjvvlthm

10 years ago[FIX] oe: listing of modules only take directories having a __openerp__.py file
Christophe Simonis [Thu, 31 Oct 2013 15:27:16 +0000 (16:27 +0100)]
[FIX] oe: listing of modules only take directories having a __openerp__.py file

bzr revid: chs@openerp.com-20131031152716-sda5397b4n0be1ih

10 years ago[IMP] l10n_multilang: remove force_write from function call, mark parameter as deprecated
Martin Trigaux [Thu, 31 Oct 2013 10:53:18 +0000 (11:53 +0100)]
[IMP] l10n_multilang: remove force_write from function call, mark parameter as deprecated

bzr revid: mat@openerp.com-20131031105318-zkzwdrtbvvmxkzv1

10 years ago[IMP] l10n_multilang: revert previous change and move it to l10n_multilang, the accou...
Martin Trigaux [Thu, 31 Oct 2013 10:44:01 +0000 (11:44 +0100)]
[IMP] l10n_multilang: revert previous change and move it to l10n_multilang, the accounts are now translatable and with the correct source value

bzr revid: mat@openerp.com-20131031104401-9tgjzs3hohebtit0

10 years ago[FIX] account: generate the accounts based on templates with untranslated terms ...
Martin Trigaux [Thu, 31 Oct 2013 10:08:09 +0000 (11:08 +0100)]
[FIX] account: generate the accounts based on templates with untranslated terms (so benefit from translation)

bzr revid: mat@openerp.com-20131031100809-p0irwjbq3chxjsd9

10 years ago[FIX] stock: use eventual serial number attribute into account while doing product...
Martin Trigaux [Wed, 30 Oct 2013 14:54:32 +0000 (15:54 +0100)]
[FIX] stock: use eventual serial number attribute into account while doing product reservation

bzr revid: mat@openerp.com-20131030145432-2sij3p1dae8ghzuz

10 years ago[FIX] l10n_multilang: remove force_write attribute in process_translations
Martin Trigaux [Wed, 30 Oct 2013 11:13:03 +0000 (12:13 +0100)]
[FIX] l10n_multilang: remove force_write attribute in process_translations

When processing a translation, the module used to replace the original term by the translated value for accounts (only object with force_write=True).
This lead to only having the translated version for every user, independent of user's language.
On new chart of accounts, will have different account names according to the user preference.
Keep argument force_write in API for stability reason (will be removed in trunk)

bzr revid: mat@openerp.com-20131030111303-ziusplk330oj9wf4

10 years ago[FIX] option typo: unable_editor -> enable_editor
Fabien Meghazi [Wed, 23 Oct 2013 09:11:52 +0000 (11:11 +0200)]
[FIX] option typo: unable_editor -> enable_editor

bzr revid: fme@openerp.com-20131023091152-h0hxw47hzfor2al8

10 years ago[IMP] url t-ization
Xavier Morel [Wed, 23 Oct 2013 09:02:07 +0000 (11:02 +0200)]
[IMP] url t-ization

bzr revid: xmo@openerp.com-20131023090207-jto4fzz153xiqtm6

10 years ago[ADD] UI improvement: Translate "or Edit Master"
Fabien Meghazi [Wed, 23 Oct 2013 08:15:01 +0000 (10:15 +0200)]
[ADD] UI improvement: Translate "or Edit Master"

bzr revid: fme@openerp.com-20131023081501-f9owb501j16757bk

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 23 Oct 2013 05:22:21 +0000 (05:22 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131023052221-vwbblwzow9zkbd7l

10 years agoimport cleanups part2
Antony Lesuisse [Tue, 22 Oct 2013 22:52:47 +0000 (00:52 +0200)]
import cleanups part2

bzr revid: al@openerp.com-20131022225247-3zv7hjz1iidnb6zl

10 years ago[FIX] im: do not search users before start polling. This avoid a race condition for...
Christophe Simonis [Tue, 22 Oct 2013 17:10:10 +0000 (19:10 +0200)]
[FIX] im: do not search users before start polling. This avoid a race condition for im.user creation

bzr revid: chs@openerp.com-20131022171010-ilfvqced6q8qta3h

10 years agoimport cleanups part1
Antony Lesuisse [Tue, 22 Oct 2013 17:06:59 +0000 (19:06 +0200)]
import cleanups part1

bzr revid: al@openerp.com-20131022170659-kg9err029ha22evh

10 years ago[FIX]web: test testing the customer filter save was wrong, was using wrong method...
Denis Ledoux [Tue, 22 Oct 2013 16:53:18 +0000 (18:53 +0200)]
[FIX]web: test testing the customer filter save was wrong, was using wrong method text() instead of val() to set the filter name

bzr revid: dle@openerp.com-20131022165318-2imkhgb6iecalbbi

10 years ago[FIX]web: filter name input for custom filters in search dropdown is now required
Denis Ledoux [Tue, 22 Oct 2013 16:25:19 +0000 (18:25 +0200)]
[FIX]web: filter name input for custom filters in search dropdown is now required

bzr revid: dle@openerp.com-20131022162519-u03cn5k5od8jg6ka

10 years ago[FIX] Fixed eCommerce pager
ddm [Tue, 22 Oct 2013 15:16:55 +0000 (17:16 +0200)]
[FIX] Fixed eCommerce pager

bzr revid: ddm@openerp.com-20131022151655-erprk7ci7mrwmb18

10 years ago[IMP] warnings and shit
Xavier Morel [Tue, 22 Oct 2013 15:11:44 +0000 (17:11 +0200)]
[IMP] warnings and shit

bzr revid: xmo@openerp.com-20131022151144-tblwba9rf77iuidl

10 years ago[IMP] tools: mail: added a protection in a string.find, could have a None argument
Thibault Delavallée [Tue, 22 Oct 2013 14:29:08 +0000 (16:29 +0200)]
[IMP] tools: mail: added a protection in a string.find, could have a None argument

bzr revid: tde@openerp.com-20131022142908-sol44xaprx1b0b0a

10 years ago[FIX] Attribute values in selectors must be attributes or strings
Xavier Morel [Tue, 22 Oct 2013 14:20:49 +0000 (16:20 +0200)]
[FIX] Attribute values in selectors must be attributes or strings

http://www.w3.org/TR/css3-selectors/#attribute-selectors

http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier

> identifiers (including element names, classes, and IDs in selectors)
> can contain only the characters [a-zA-Z0-9] and ISO 10646 characters
> U+00A0 and higher, plus the hyphen (-) and the underscore (_); they
> cannot start with a digit, two hyphens, or a hyphen followed by a
> digit.

so "0" or "1" is not a valid identifier, must be a string and must
thus be quoted.

bzr revid: xmo@openerp.com-20131022142049-6fq70sielv95kmu0

10 years ago[IMP] eCommerce: layout improvements
ddm [Tue, 22 Oct 2013 14:28:04 +0000 (16:28 +0200)]
[IMP] eCommerce: layout improvements

bzr revid: ddm@openerp.com-20131022142804-58oabf37w3zsg2pg

10 years ago[IMP] eCommerce: Checkout summary moved to left (cf. apr's review)
ddm [Tue, 22 Oct 2013 14:01:19 +0000 (16:01 +0200)]
[IMP] eCommerce: Checkout summary moved to left (cf. apr's review)

bzr revid: ddm@openerp.com-20131022140119-82ex7kvrzeqc7jri

10 years ago[FIX] tools: mail: fixed shortening of html content.
Thibault Delavallée [Tue, 22 Oct 2013 13:50:37 +0000 (15:50 +0200)]
[FIX] tools: mail: fixed shortening of html content.

Fixed length computation of text in html nodes: multiples successive
whitespaces are considered as one whitespaces; better truncate position
when adding a read more link; now always protect words (placed after
the first word that exceeds the shorten position); pre nodes are preserved
about whitespaces; when the read more link should go into a quote, it instead
goes at the end of the first parent node not being quoted instead of at
a wrong position.

Added tests for shorten position.

bzr revid: tde@openerp.com-20131022135037-igauu2kkglvdrqu7

10 years ago[CMS] eCommerce: remove product list title (cf. apr's review)
ddm [Tue, 22 Oct 2013 13:44:09 +0000 (15:44 +0200)]
[CMS] eCommerce: remove product list title (cf. apr's review)

bzr revid: ddm@openerp.com-20131022134409-g1qi25a96jvzby8s

10 years ago[FIX] Bug in form view. When a on_change alters the domain of a field, the view_conte...
niv-openerp [Tue, 22 Oct 2013 13:34:32 +0000 (15:34 +0200)]
[FIX] Bug in form view. When a on_change alters the domain of a field, the view_content_has_changed event is
triggered *before* we alter the domain of the field. So, it is not possible for the fields to really know
when they have to re-calculate their domain.

bzr revid: nicolas.vanhoren@openerp.com-20131022133432-l0m36mfiwx8z6014

10 years ago[IMP] Language selected label
Fabien Meghazi [Tue, 22 Oct 2013 13:20:54 +0000 (15:20 +0200)]
[IMP] Language selected label

bzr revid: fme@openerp.com-20131022132054-o60ekjtbz62sg6p6

10 years ago[FIX] do not normalize urls for images
Fabien Meghazi [Tue, 22 Oct 2013 13:16:29 +0000 (15:16 +0200)]
[FIX] do not normalize urls for images

bzr revid: fme@openerp.com-20131022131629-vo67pv9yqyuoe7q6

10 years ago[IMP] Altered behavior of form selection fields when used on many 2 one. Now it will...
niv-openerp [Tue, 22 Oct 2013 13:15:25 +0000 (15:15 +0200)]
[IMP] Altered behavior of form selection fields when used on many 2 one. Now it will query directly
the possible selections from the server instead of using the data sent by the fields_view_get. This
allows to dynamically change the possible values during edition with a domain on the selection field.

bzr revid: nicolas.vanhoren@openerp.com-20131022131525-d0i61sbm0w6katfs

10 years agofix
niv-openerp [Tue, 22 Oct 2013 13:15:10 +0000 (15:15 +0200)]
fix

bzr revid: nicolas.vanhoren@openerp.com-20131022131510-zvqt6xgsln0bk6zp

10 years agowip
niv-openerp [Tue, 22 Oct 2013 13:13:23 +0000 (15:13 +0200)]
wip

bzr revid: nicolas.vanhoren@openerp.com-20131022131323-jicyw0pchzs5x38t

10 years ago[FIX] board: correct /board/add_to_dashboard to use new @route decorator and request...
Christophe Simonis [Tue, 22 Oct 2013 13:10:49 +0000 (15:10 +0200)]
[FIX] board: correct /board/add_to_dashboard to use new @route decorator and request object

bzr revid: chs@openerp.com-20131022131049-lb6mva47y0i3kpvq

10 years ago[FIX] cleanup modified arch sections before reinserting them in source arch
Xavier Morel [Tue, 22 Oct 2013 13:06:08 +0000 (15:06 +0200)]
[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

10 years agoNow selection fields on m2o query the records directly
niv-openerp [Tue, 22 Oct 2013 12:19:52 +0000 (14:19 +0200)]
Now selection fields on m2o query the records directly

bzr revid: nicolas.vanhoren@openerp.com-20131022121952-piye1e3k80w217r0

10 years ago[MERGE]Merge lp:~openerp-dev/openobject-addons/trunk-website-al.
bth-openerp [Tue, 22 Oct 2013 11:24:25 +0000 (16:54 +0530)]
[MERGE]Merge lp:~openerp-dev/openobject-addons/trunk-website-al.

bzr revid: bth@tinyerp.com-20131022112425-v4x7l02a0jsv5d0a

10 years ago[IMP] prevent default on triple-click interrupt
Xavier Morel [Tue, 22 Oct 2013 11:00:15 +0000 (13:00 +0200)]
[IMP] prevent default on triple-click interrupt

bzr revid: xmo@openerp.com-20131022110015-iewvo1x0jdogswus

10 years ago[FIX] image t-field lost during a merge
Xavier Morel [Tue, 22 Oct 2013 10:59:55 +0000 (12:59 +0200)]
[FIX] image t-field lost during a merge

bzr revid: xmo@openerp.com-20131022105955-i550clo5snyvnv26

10 years ago[IMP] Check current website in Load a Translation wizard
Fabien Meghazi [Tue, 22 Oct 2013 12:18:40 +0000 (14:18 +0200)]
[IMP] Check current website in Load a Translation wizard

bzr revid: fme@openerp.com-20131022121840-0q1n8ci1fpihi4yf

10 years ago[IMP] language selector labels
Fabien Meghazi [Tue, 22 Oct 2013 11:46:22 +0000 (13:46 +0200)]
[IMP] language selector labels

bzr revid: fme@openerp.com-20131022114622-5ih0ea8e00w01vp0

10 years ago[FIX] web: avoid useless redirection when in mono db mode
Christophe Simonis [Tue, 22 Oct 2013 10:41:45 +0000 (12:41 +0200)]
[FIX] web: avoid useless redirection when in mono db mode

bzr revid: chs@openerp.com-20131022104145-janmthq1r6sibm2e

10 years ago[FIX] Convert url attributes to their t-(src,href,action) counterparts on ir.ui.view...
Fabien Meghazi [Tue, 22 Oct 2013 10:37:03 +0000 (12:37 +0200)]
[FIX] Convert url attributes to their t-(src,href,action) counterparts on ir.ui.view#save()

bzr revid: fme@openerp.com-20131022103703-cnydralsbt45i6eo

10 years ago[FIX] account: computation of debit/credit on partner is based on past year moves...
Martin Trigaux [Tue, 22 Oct 2013 09:53:01 +0000 (11:53 +0200)]
[FIX] account: computation of debit/credit on partner is based on past year moves instead of reported entries, courtesy of Nhomar Hernandez (vauxoo)
This change allows to have consistency in values instead of depending on when the fiscal year is closed and when the entries are generated

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

bzr revid: mat@openerp.com-20131022095301-tigk2ixheljvqxwc

10 years ago[FIX] account: compute debit credit based on previous year to have consistent result...
Martin Trigaux [Tue, 22 Oct 2013 09:19:25 +0000 (11:19 +0200)]
[FIX] account: compute debit credit based on previous year to have consistent result all the time, courtesy of Nhomar (vauxoo)

bzr revid: mat@openerp.com-20131022091925-mqj2etd71guplhm7

10 years ago[REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)
Martin Trigaux [Tue, 22 Oct 2013 09:17:28 +0000 (11:17 +0200)]
[REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)

bzr revid: mat@openerp.com-20131022091728-hebgvt1m26y9wjot

10 years ago[MERGE] sync with 7.0
Martin Trigaux [Tue, 22 Oct 2013 09:13:19 +0000 (11:13 +0200)]
[MERGE] sync with 7.0

bzr revid: mat@openerp.com-20131022091319-dzpe0i8936alq22y

10 years ago[ADD] parsing of localized monetary t-field
Xavier Morel [Tue, 22 Oct 2013 09:08:43 +0000 (11:08 +0200)]
[ADD] parsing of localized monetary t-field

bzr revid: xmo@openerp.com-20131022090843-pcr6orrumzm4hf6a

10 years ago[ADD] parsing of localized numeric fields
Xavier Morel [Tue, 22 Oct 2013 09:07:05 +0000 (11:07 +0200)]
[ADD] parsing of localized numeric fields

also decimal_precision support for float t-fields

bzr revid: xmo@openerp.com-20131022090705-54vu87fpgv0n3ka7

10 years ago[ADD] parsing of locale-formatted floats
Xavier Morel [Tue, 22 Oct 2013 08:54:50 +0000 (10:54 +0200)]
[ADD] parsing of locale-formatted floats

bzr revid: xmo@openerp.com-20131022085450-mhymubsywkonepjx

10 years ago[IMP] ensure we don't unwittingly save wrongly formatted dates and datetimes
Xavier Morel [Tue, 22 Oct 2013 07:33:26 +0000 (09:33 +0200)]
[IMP] ensure we don't unwittingly save wrongly formatted dates and datetimes

bzr revid: xmo@openerp.com-20131022073326-gxmcfd60ytq2f1oc

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 22 Oct 2013 05:15:35 +0000 (05:15 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051531-skzykboyadt54zs1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018061132-rzws6tazubx0zysd
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050513-83ofvmdau85nhc89
bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051535-g7vpsdx91u9d7zbs

10 years ago[FIX] hr_timesheet: cost and revenues of parent analytic accounts aggregate from...
Martin Trigaux [Mon, 21 Oct 2013 16:03:26 +0000 (18:03 +0200)]
[FIX] hr_timesheet: cost and revenues of parent analytic accounts aggregate from child analytic accounts

bzr revid: mat@openerp.com-20131021160326-62hpxyypgu70v6w2

10 years agohr_holidays: force refuse.@flow_stop to False to correctly update existing databases
Olivier Dony [Mon, 21 Oct 2013 15:51:20 +0000 (17:51 +0200)]
hr_holidays: force refuse.@flow_stop to False to correctly update existing databases

bzr revid: odo@openerp.com-20131021155120-vn63of44ya0od9e2

10 years ago[IMP] uncomment for perf
Fabien Pinckaers [Mon, 21 Oct 2013 15:39:18 +0000 (17:39 +0200)]
[IMP] uncomment for perf

bzr revid: fp@tinyerp.com-20131021153918-zpnp0xhisorgg3ws

10 years ago[ADD] support for formatted date and datetime t-field in website
Xavier Morel [Mon, 21 Oct 2013 15:26:51 +0000 (17:26 +0200)]
[ADD] support for formatted date and datetime t-field in website

bzr revid: xmo@openerp.com-20131021152651-ner2zggjfofb5rc4

10 years ago[IMP] double click on image change on banner
Fabien Pinckaers [Mon, 21 Oct 2013 15:01:24 +0000 (17:01 +0200)]
[IMP] double click on image change on banner

bzr revid: fp@tinyerp.com-20131021150124-411dxmatcxorto0m

10 years ago[MERGE] forward port of branch saas-2 up to revid 8962 chs@openerp.com-20131021145334...
Christophe Simonis [Mon, 21 Oct 2013 14:57:35 +0000 (16:57 +0200)]
[MERGE] forward port of branch saas-2 up to revid 8962 chs@openerp.com-20131021145334-i9gtbk52mre1bu1x

bzr revid: chs@openerp.com-20131021145735-7jkmltsbdj02pjo8

10 years ago[MERGE] forward port of branch saas-1 up to revid 8794 chs@openerp.com-20131021141431...
Christophe Simonis [Mon, 21 Oct 2013 14:53:34 +0000 (16:53 +0200)]
[MERGE] forward port of branch saas-1 up to revid 8794 chs@openerp.com-20131021141431-5bdk9waai17julkb

bzr revid: chs@openerp.com-20131021145334-i9gtbk52mre1bu1x

10 years ago[IMP] ir.translation: `module` field is useful for admin/debugging
Olivier Dony [Mon, 21 Oct 2013 14:36:41 +0000 (16:36 +0200)]
[IMP] ir.translation: `module` field is useful for admin/debugging

bzr revid: odo@openerp.com-20131021143641-eflzertf2r7hap44

10 years ago[MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748...
Christophe Simonis [Mon, 21 Oct 2013 14:14:31 +0000 (16:14 +0200)]
[MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748-x4jnibwyab4gam23

bzr revid: chs@openerp.com-20131021141431-5bdk9waai17julkb

10 years ago[FIX] Ace: proper template naming
ddm [Mon, 21 Oct 2013 13:39:57 +0000 (15:39 +0200)]
[FIX] Ace: proper template naming

bzr revid: ddm@openerp.com-20131021133957-7ktyfk21a0huj1vl

10 years ago[FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error...
Olivier Dony [Mon, 21 Oct 2013 12:47:48 +0000 (14:47 +0200)]
[FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update

Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.

As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).

[1] addons 7.0 rev 9515 rev-id: odo@openerp.com-20131010114424-atzr3bl9e9diir2g

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

bzr revid: odo@openerp.com-20131021124748-x4jnibwyab4gam23

10 years ago[IMP]Improved address.
bth-openerp [Mon, 21 Oct 2013 12:45:40 +0000 (18:15 +0530)]
[IMP]Improved address.

bzr revid: bth@tinyerp.com-20131021124540-5kn3mvug0anf0897

10 years ago[IMP]Removed english translation in description of camptocamp.
bth-openerp [Mon, 21 Oct 2013 11:08:38 +0000 (16:38 +0530)]
[IMP]Removed english translation in description of camptocamp.

bzr revid: bth@tinyerp.com-20131021110838-5tmct014pj04j6ul

10 years ago[IMP]Improved typo. Css of address. put if condition before value. Removed strong...
bth-openerp [Mon, 21 Oct 2013 10:41:22 +0000 (16:11 +0530)]
[IMP]Improved typo. Css of address. put if condition before value. Removed strong from description. Improved code for search.

bzr revid: bth@tinyerp.com-20131021104122-jsbra3e8f2efwbxu

10 years ago[IMP] Ace: proper template naming
ddm [Mon, 21 Oct 2013 10:28:40 +0000 (12:28 +0200)]
[IMP] Ace: proper template naming

bzr revid: ddm@openerp.com-20131021102840-h8s2nflqdmuumun0

10 years ago[FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3
Martin Trigaux [Mon, 21 Oct 2013 09:57:35 +0000 (11:57 +0200)]
[FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3

bzr revid: mat@openerp.com-20131021095735-yz9pb5pphfdgl44j

10 years ago[IMP] Ace: light opacity trick
ddm [Mon, 21 Oct 2013 09:51:58 +0000 (11:51 +0200)]
[IMP] Ace: light opacity trick

bzr revid: ddm@openerp.com-20131021095158-6037xha2bqyihv0q

10 years ago[ADD] decimal precision support to float t-field rendering
Xavier Morel [Mon, 21 Oct 2013 09:45:33 +0000 (11:45 +0200)]
[ADD] decimal precision support to float t-field rendering

bzr revid: xmo@openerp.com-20131021094533-e510uy6byck85xma

10 years ago[IMP] Tutorial: extract first tour to own style
ddm [Mon, 21 Oct 2013 09:39:59 +0000 (11:39 +0200)]
[IMP] Tutorial: extract first tour to own style

bzr revid: ddm@openerp.com-20131021093959-ojzaceh2lul0afja