odoo/odoo.git
10 years ago[MERGE] from upstream
Frédéric van der Essen [Mon, 24 Feb 2014 13:50:38 +0000 (14:50 +0100)]
[MERGE] from upstream

bzr revid: fva@openerp.com-20140224135038-3l6p5ebb5klmw8yr

10 years ago[FIX][ADD] Added jquery.placeholder lib. because IE9 is not supporting the placeholders.
Christophe Matthieu [Mon, 24 Feb 2014 10:59:58 +0000 (11:59 +0100)]
[FIX][ADD] Added jquery.placeholder lib. because IE9 is not supporting the placeholders.

bzr revid: chm@openerp.com-20140224105958-1dji1sepr6z8dzb2

10 years ago[FIX] website's translation problems on multiple view inheritance
Fabien Meghazi [Mon, 24 Feb 2014 10:43:01 +0000 (11:43 +0100)]
[FIX] website's translation problems on multiple view inheritance

bzr revid: fme@openerp.com-20140224104301-n8dqg0lx4oijf66b

10 years ago[FIX] unbreak website_blog.css
Xavier Morel [Mon, 24 Feb 2014 09:48:29 +0000 (10:48 +0100)]
[FIX] unbreak website_blog.css

bzr revid: xmo@openerp.com-20140224094829-99ayhh5shzwu6n44

10 years ago[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 9138 revid:dle@openerp...
Denis Ledoux [Fri, 21 Feb 2014 16:20:25 +0000 (17:20 +0100)]
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 9138 revid:dle@openerp.com-20140221161633-634gj6mlyyahg867

bzr revid: dle@openerp.com-20140221162025-hphklma6lxtnbp0g

10 years ago[FIX] crm_partner_assign: reset next_or_list as returned action by interested wizard
Denis Ledoux [Fri, 21 Feb 2014 16:16:33 +0000 (17:16 +0100)]
[FIX] crm_partner_assign: reset next_or_list as returned action by interested wizard

bzr revid: dle@openerp.com-20140221161633-634gj6mlyyahg867

10 years ago[FIX]crm_partner_assign: next_or_list client action more generic
Denis Ledoux [Fri, 21 Feb 2014 16:10:01 +0000 (17:10 +0100)]
[FIX]crm_partner_assign: next_or_list client action more generic

bzr revid: dle@openerp.com-20140221161001-5tlisrmfcvjp93g5

10 years ago[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3903 revid:dle@openerp...
Denis Ledoux [Fri, 21 Feb 2014 12:06:32 +0000 (13:06 +0100)]
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3903 revid:dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda

bzr revid: dle@openerp.com-20140221120632-dn3ll7yrjkax17q5

10 years ago[MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_...
Christophe Simonis [Tue, 18 Mar 2014 11:27:43 +0000 (12:27 +0100)]
[MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0

bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 25 Mar 2014 07:21:22 +0000 (07:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140325072122-d9jgtji9dmmytg8d

10 years ago[FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)
Denis Ledoux [Mon, 24 Mar 2014 10:34:27 +0000 (11:34 +0100)]
[FIX] sale: trigger signal manual invoice for make invoices wizard (not advance)

bzr revid: dle@openerp.com-20140324103427-yckncrnynvs5si8i

10 years ago[FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one...
Simon Lejeune [Mon, 24 Mar 2014 10:17:31 +0000 (11:17 +0100)]
[FIX] last version of wkhtmltopdf expects all file to have a doctype, inject one if not present

bzr revid: sle@openerp.com-20140324101731-eqzqins3s8uak1yd

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 23 Mar 2014 06:44:12 +0000 (06:44 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140322070453-bbx8zxmppthwar0s
bzr revid: launchpad_translations_on_behalf_of_openerp-20140323064412-l97e4rap18b68ab0

10 years ago[FIX] survey: avoid duplicate partners on new users creation
Denis Ledoux [Fri, 21 Mar 2014 13:57:05 +0000 (14:57 +0100)]
[FIX] survey: avoid duplicate partners on new users creation

bzr revid: dle@openerp.com-20140321135705-lrnxu3gsnkt4r5cd

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 21 Mar 2014 06:51:50 +0000 (06:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065150-vovy9a0q2y6vkwm4

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 21 Mar 2014 06:51:15 +0000 (06:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061913-o2fp3m104dzeb2ky
bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065115-srp2g1l3twjabmcq

10 years ago[FIX] Move default value in the _defaults of model and not in default_get.
Kersten Jeremy [Thu, 20 Mar 2014 18:02:40 +0000 (19:02 +0100)]
[FIX] Move default value in the _defaults of model and not in default_get.
Don't override the location_id if the super get_default don't retrun a value.

Else it is impossible to set a default value, because the ir_values is always overrided with stock_location_stock as location_id

bzr revid: jke@openerp.com-20140320180240-un42lptu3pjnsmxq

10 years ago[FIX] survey: report not stored on filesystem
Denis Ledoux [Thu, 20 Mar 2014 17:48:35 +0000 (18:48 +0100)]
[FIX] survey: report not stored on filesystem

bzr revid: dle@openerp.com-20140320174835-kdha7ivs64vsvizt

10 years ago[FIX] point_of_sale: add multi-companies rules on pos.config
Denis Ledoux [Thu, 20 Mar 2014 15:44:36 +0000 (16:44 +0100)]
[FIX] point_of_sale: add multi-companies rules on pos.config

bzr revid: dle@openerp.com-20140320154436-ygqhvvyhe6otv70p

10 years ago[FIX] stock: force form_view_ref to False in context of actions track_line and scrap_...
Denis Ledoux [Thu, 20 Mar 2014 11:07:41 +0000 (12:07 +0100)]
[FIX] stock: force form_view_ref to False in context of actions track_line and scrap_move to avoid context propagation of stock picking views

bzr revid: dle@openerp.com-20140320110741-pg8se5c02p87yi1y

10 years ago[FIX] subscription: missing required dependency on `base`
Olivier Dony [Thu, 20 Mar 2014 09:13:49 +0000 (10:13 +0100)]
[FIX] subscription: missing required dependency on `base`

bzr revid: odo@openerp.com-20140320091349-74zykqzf2ols3ja1

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 20 Mar 2014 06:19:44 +0000 (06:19 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140319063002-sd17jxb37ycogrrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061944-bwpy0lt1bp5ee0y2

10 years ago[FIX] Fix the yml test with option --test-file.
Kersten Jeremy [Wed, 19 Mar 2014 10:48:47 +0000 (11:48 +0100)]
[FIX] Fix the yml test with option --test-file.

1 -
There was a confusing between kind and mode.
Due to the mode 'test', there are many part of code who was not executed.
The right value is kind='test', and arbitrary mode='init' (or 'update')

2 -
The yml test was always roolbacked, without check that command line had '--test-commit'.
It's has been fixed, now we check if param --test-commit is existing, else we roolback the transaction.

Rem for forward: function in trunk=saas-4 has been moved in : openerp/service/server.py - def load_test_file_yml

bzr revid: jke@openerp.com-20140319104847-6r2c70gapocn2wxq

10 years ago[FIX] purchase: for drop shipping po, the supplier of the picking was the customer...
Denis Ledoux [Tue, 18 Mar 2014 15:14:56 +0000 (16:14 +0100)]
[FIX] purchase: for drop shipping po, the supplier of the picking was the customer address, which is obviously wrong, it should be the supplier of the po

bzr revid: dle@openerp.com-20140318151456-qw896i1t55wgwhkm

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 18 Mar 2014 06:21:35 +0000 (06:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062135-gqvoka8hm41pe762

10 years ago[FIX] point_of_sale: prevent duplicated order posting
Denis Ledoux [Mon, 17 Mar 2014 16:41:31 +0000 (17:41 +0100)]
[FIX] point_of_sale: prevent duplicated order posting

bzr revid: dle@openerp.com-20140317164131-eewyqmzz5niebz2a

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 17 Mar 2014 05:09:59 +0000 (05:09 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140315072920-dmiymtbhrgu87wm0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140316060652-akf1fti2hc1a9vmm
bzr revid: launchpad_translations_on_behalf_of_openerp-20140317050959-2xx2aoylhn6a28fo

10 years ago[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)
Martin Trigaux [Fri, 14 Mar 2014 16:09:38 +0000 (17:09 +0100)]
[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)

bzr revid: mat@openerp.com-20140314160938-px91g81280qff635

10 years ago[FIX] pager: revert of revision 4159, the pager was disapearing when going in editabl...
Martin Trigaux [Fri, 14 Mar 2014 13:28:54 +0000 (14:28 +0100)]
[FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)

bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4

10 years ago[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition...
Olivier Dony [Fri, 14 Mar 2014 13:18:49 +0000 (14:18 +0100)]
[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition warning in read-only mode for new pads, translate messages

Added a small method to detect the proper server configuration,
and make it degrade gracefully if the method is not present.
This avoids having to force a pad URL generation in order to
test the config (possibly creating useless pads).
Add a user-friendly message when the pad has not yet been
initialized for a given record, in read-only mode.

bzr revid: odo@openerp.com-20140314131849-rnjvk1pqpiyvtc1c

10 years ago[FIX] share wizard: delete wizard lines in cascade
Christophe Simonis [Fri, 14 Mar 2014 11:59:36 +0000 (12:59 +0100)]
[FIX] share wizard: delete wizard lines in cascade

bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85

10 years ago[FIX] pager: do not try to toggle the visibility if the pager do not exists yet
Martin Trigaux [Fri, 14 Mar 2014 11:27:09 +0000 (12:27 +0100)]
[FIX] pager: do not try to toggle the visibility if the pager do not exists yet

bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e

10 years ago[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier
Olivier Dony [Fri, 14 Mar 2014 10:46:05 +0000 (11:46 +0100)]
[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier

bzr revid: odo@openerp.com-20140314104605-qi7eqj2g37dvxvc3

10 years ago[FIX] calendar: correct recurrency end date computation
Christophe Simonis [Fri, 14 Mar 2014 09:48:09 +0000 (10:48 +0100)]
[FIX] calendar: correct recurrency end date computation

bzr revid: chs@openerp.com-20140314094809-0wuus62tob8vtyi0

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 14 Mar 2014 06:58:36 +0000 (06:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065823-xdw7aa9ye4j200pp
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065836-tn2fv9smot0omj8f

10 years ago[FIX] Change password wizard: reload webclient after changing your own password....
Kersten Jeremy [Thu, 13 Mar 2014 18:14:15 +0000 (19:14 +0100)]
[FIX] Change password wizard: reload webclient after changing your own password. Because your session is dead after the changing !

bzr revid: jke@openerp.com-20140313181415-3rwlxhpevev3tlsq

10 years ago[MERGE] [FIX] base_calendar: correct the set method for rrule (opw 605088)
Martin Trigaux [Thu, 13 Mar 2014 15:51:31 +0000 (16:51 +0100)]
[MERGE] [FIX] base_calendar: correct the set method for rrule (opw 605088)

- create hook method to fix the invalid call while keeping the signature of the old methdo
- remove undeclared variable
- force the 'byday' field (type selection) to be a string value instead of an integer

bzr revid: mat@openerp.com-20140313155131-e90stgoh8bz8tgvg

10 years ago[FIX] pager show the pagger earlier in the loading process to avoid to mix the list...
Martin Trigaux [Thu, 13 Mar 2014 15:42:28 +0000 (16:42 +0100)]
[FIX] pager show the pagger earlier in the loading process to avoid to mix the list and form pagers when fast switching (and slow network)

bzr revid: mat@openerp.com-20140313154228-70jytisdwlf3sfbo

10 years ago[IMP] add test
Martin Trigaux [Thu, 13 Mar 2014 15:37:57 +0000 (16:37 +0100)]
[IMP] add test

bzr revid: mat@openerp.com-20140313153757-nj9nn52u7kxpfg8i

10 years ago[FIX] pad: use server to get pad content
Christophe Simonis [Thu, 13 Mar 2014 15:35:35 +0000 (16:35 +0100)]
[FIX] pad: use server to get pad content

bzr revid: chs@openerp.com-20140313153535-ogyip9tfm2hkwn1f

10 years ago[FIX] if only one id, convert to list
Martin Trigaux [Thu, 13 Mar 2014 15:16:12 +0000 (16:16 +0100)]
[FIX] if only one id, convert to list

bzr revid: mat@openerp.com-20140313151612-saoc3a73x1cwvgbg

10 years ago[FIX] base_calendar: correct the invert call to the function field rrule.
Martin Trigaux [Thu, 13 Mar 2014 15:08:23 +0000 (16:08 +0100)]
[FIX] base_calendar: correct the invert call to the function field rrule.
Create new hook method with valid signature.
Keep the old one for compatibility reasons.
Force the value of 'byday' (type selection) to be a string instead of integer.

bzr revid: mat@openerp.com-20140313150823-vba9qulj549v37t9

10 years ago[FIX] stock: use fully qualified xmlid in *_view_ref context keys
Christophe Simonis [Thu, 13 Mar 2014 13:44:38 +0000 (14:44 +0100)]
[FIX] stock: use fully qualified xmlid in *_view_ref context keys

bzr revid: chs@openerp.com-20140313134438-jcwhrm3demu4i99q

10 years ago[FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pager...
Martin Trigaux [Thu, 13 Mar 2014 12:38:11 +0000 (13:38 +0100)]
[FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching

bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu

10 years ago[FIX] Add missing context to some calls
Lionel Sausin [Thu, 13 Mar 2014 09:50:54 +0000 (10:50 +0100)]
[FIX] Add missing context to some calls

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

bzr revid: ls@numerigraphe.com-20140313095054-3506f3tan8eyqc61

10 years ago[FIX] base_import: avoid name clash when importing ir.translation records. Call the...
Martin Trigaux [Thu, 13 Mar 2014 08:28:13 +0000 (09:28 +0100)]
[FIX] base_import: avoid name clash when importing ir.translation records. Call the orm method directly.

This hack is needed in 7.0 to avoid changes in the API.
Renaming the load method of ir.translation is the proper solution for trunk (done in server revision 5018)

bzr revid: mat@openerp.com-20140313082813-afjsj912q2idrhl5

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 13 Mar 2014 07:15:40 +0000 (07:15 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140313071540-nhiuwlanpkvorb8h

10 years ago[FIX] add the logging handler only to the root logger. let the loggers propagate...
Christophe Simonis [Wed, 12 Mar 2014 17:18:19 +0000 (18:18 +0100)]
[FIX] add the logging handler only to the root logger. let the loggers propagate to allow more than one handler

bzr revid: chs@openerp.com-20140312171819-bnj3md07w4le2m7m

10 years ago[MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format (id,...
Martin Trigaux [Wed, 12 Mar 2014 15:04:35 +0000 (16:04 +0100)]
[MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format (id, name)), instead of sorting on the tuple (and then id), sort on the name_get value to match what is shown on the screen

bzr revid: mat@openerp.com-20140312150435-shq9hy3b9njkhxsn

10 years ago[FIX] base_import: avoid name clash when importing ir.translation records. Call the...
Martin Trigaux [Wed, 12 Mar 2014 14:05:15 +0000 (15:05 +0100)]
[FIX] base_import: avoid name clash when importing ir.translation records. Call the orm method directly.

This hack is needed in 7.0 to avoid changes in the API.
Renaming the method is the proper solution for trunk (done revision 5018)

bzr revid: mat@openerp.com-20140312140515-tisj9cye0mzfprsw

10 years ago[FIX] account: change decimal precision to avoid erasing tax and base values when...
Najlaâ [Wed, 12 Mar 2014 13:05:22 +0000 (14:05 +0100)]
[FIX] account: change decimal precision to avoid erasing tax and base values when updating a tax with coefficients on more than 2 decimals

bzr revid: nel@tinyerp.com-20140312130522-qr5e010onc7ejrz5

10 years ago[FIX] account: using float_round instead of native python round method, to apply...
Denis Ledoux [Wed, 12 Mar 2014 12:09:04 +0000 (13:09 +0100)]
[FIX] account: using float_round instead of native python round method, to apply half-up tie-breaking rule (1.655 with precision 2 is now 1.66 instead of 1.65).

bzr revid: dle@openerp.com-20140312120904-ucixsl1szfi1q0ea

10 years ago[FIX] account_check_writing: set the amount_in_word even if the check is not created...
Denis Ledoux [Wed, 12 Mar 2014 11:03:03 +0000 (12:03 +0100)]
[FIX] account_check_writing: set the amount_in_word even if the check is not created through the voucher form (for example, for checks created through pay wizard of invoices)

bzr revid: dle@openerp.com-20140312110303-x82juu3i2nox3u3j

10 years ago[MERGE] [FIX] auditrail: when removing tracked object in a write call (eg: remove...
Martin Trigaux [Wed, 12 Mar 2014 09:30:10 +0000 (10:30 +0100)]
[MERGE] [FIX] auditrail: when removing tracked object in a write call (eg: remove a line in o2m field) use the old name value, if present, as the name_get would fail for deleted value (opw 593569)

bzr revid: mat@openerp.com-20140312093010-k9djbp82hqpoj8j7

10 years ago[FIX]audittrail:on deletion of record from one2many and saving the parent form error...
Somesh Khare (OpenERP) [Wed, 12 Mar 2014 05:45:35 +0000 (11:15 +0530)]
[FIX]audittrail:on deletion of record from one2many and saving the parent form error raised as list index out of range (Ref: Case 604750)

bzr revid: skh@openerp.com-20140312054535-kjlqltscnojb7lce

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 12 Mar 2014 05:26:04 +0000 (05:26 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140312052604-hgt48h8szpiw9szj

10 years ago[FIX] portal: expensive copy/paste typo
Denis Ledoux [Tue, 11 Mar 2014 16:14:21 +0000 (17:14 +0100)]
[FIX] portal: expensive copy/paste typo

bzr revid: dle@openerp.com-20140311161421-6u54mzzj7pefypg8

10 years ago[FIX] portal: expensive copy/paste typo
Olivier Dony [Tue, 11 Mar 2014 16:03:07 +0000 (17:03 +0100)]
[FIX] portal: expensive copy/paste typo

bzr revid: odo@openerp.com-20140311160307-lth3kmu9z4h3l8c1

10 years ago[FIX] crm: write a value to date_closed field as well if change directly the stage...
Martin Trigaux [Tue, 11 Mar 2014 15:22:15 +0000 (16:22 +0100)]
[FIX] crm: write a value to date_closed field as well if change directly the stage instead of using buttons (opw 603537)

bzr revid: mat@openerp.com-20140311152215-eve2ycdu869dgpgx

10 years ago[FIX] crm: write a value to date_closed field as well if change directly the stage...
Martin Trigaux [Tue, 11 Mar 2014 15:04:46 +0000 (16:04 +0100)]
[FIX] crm: write a value to date_closed field as well if change directly the stage instead of using buttons (which will probably be removed later)

bzr revid: mat@openerp.com-20140311150446-0atbc6esymjyv69e

10 years ago[MERGE] [FIX] [FIX] When adding a new contact or a new company based from the partner...
Martin Trigaux [Tue, 11 Mar 2014 12:24:24 +0000 (13:24 +0100)]
[MERGE] [FIX] [FIX] When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)

backport of trunk revision 4882 (opw 587764)

bzr revid: mat@openerp.com-20140311122424-bvqt0tt7c4s9p1fd

10 years ago[FIX] partner: backport of trunk revision 4882
Martin Trigaux [Tue, 11 Mar 2014 11:23:41 +0000 (12:23 +0100)]
[FIX] partner: backport of trunk revision 4882

When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)

bzr revid: mat@openerp.com-20140311112341-9yoi1hf0ks98ju3r

10 years ago[FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being...
Denis Ledoux [Tue, 11 Mar 2014 10:49:47 +0000 (11:49 +0100)]
[FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being behind jquery ui dialogs. Besides, this pane should always be on top, therefore we can assume that setting 9999 will not have bad side effects

bzr revid: dle@openerp.com-20140311104947-is5qpw71y1m2oakf

10 years ago[FIX] web: on SearchPopup creation concat build context even if we have initial_ids
Martin Trigaux [Tue, 11 Mar 2014 09:43:20 +0000 (10:43 +0100)]
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids

  On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context

bzr revid: mat@openerp.com-20140311094320-qjc9alfm3icynghv

10 years ago[FIX] web: on SearchPopup creation concat build context even if we have initial_ids
Xavier ALT [Tue, 11 Mar 2014 09:15:22 +0000 (10:15 +0100)]
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids

  On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context

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

bzr revid: mat@openerp.com-20140311091522-03imwd5rj3rmwapl

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 11 Mar 2014 06:08:54 +0000 (06:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072259-nwltzdp1dky79a3h
bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065331-um114asu0v6l8y5e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140311060830-c174n48jvgwwgvlo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140311060854-j335qf61ll6hvrma

10 years ago[REVERT]9882 revid:jri@openerp.com-20140307160945-r2t5pbl2bb7yaw9n
Denis Ledoux [Mon, 10 Mar 2014 13:33:14 +0000 (14:33 +0100)]
[REVERT]9882 revid:jri@openerp.com-20140307160945-r2t5pbl2bb7yaw9n

While it seems right to only show the partner addresses in invoice and shipping addresses, this fix will prevent to use sibling addresses (the address of another contact in the same company), which is a requirement for several users. Therefore, this fix causes more problems than it resolves.

Moreover, these addresses are displayed on the invoice form as following: Company Name / Partner Name / Address Name. Therefore, if you want to change the address while seeing only the partner addresses, you just have to remove the "Address Name", leaving "Company Name / Partner Name".

bzr revid: dle@openerp.com-20140310133314-5mv4h2h5zmqlw4d2

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9885 revid:dle@openerp.com...
Denis Ledoux [Mon, 10 Mar 2014 12:21:01 +0000 (13:21 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9885 revid:dle@openerp.com-20140310114026-r0ijm0m36su19wn7

bzr revid: dle@openerp.com-20140310122101-gicombyc5ii0yz6a

10 years ago[FIX] event: event report registration, replace char by varchar in the view, so it...
Denis Ledoux [Mon, 10 Mar 2014 11:40:26 +0000 (12:40 +0100)]
[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)

Courtesy of Muschang Anthony (Acsone)

bzr revid: dle@openerp.com-20140310114026-r0ijm0m36su19wn7

10 years ago[FIX] event: event report registration, replace char by varchar in the view, so it...
Denis Ledoux [Mon, 10 Mar 2014 11:35:57 +0000 (12:35 +0100)]
[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)

bzr revid: dle@openerp.com-20140310113557-rbohomzy8xrvwk05

10 years ago[ADD] base_import: add the possibility to import one2many with database id, for users...
Denis Ledoux [Mon, 10 Mar 2014 10:17:05 +0000 (11:17 +0100)]
[ADD] base_import: add the possibility to import one2many with database id, for users with technical features

bzr revid: dle@openerp.com-20140310101705-2g3e6gp5jd2g8fpc

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 9 Mar 2014 06:03:14 +0000 (06:03 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065427-0he29w0cqe07xmc8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065421-4udfyb7xcfq5h1zy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140309060314-64jktl10pkq3inv4

10 years ago[FIX] [MERGE] [SALE] Filter invoice and ship address on sales order to contacts of...
Juan Rial [Fri, 7 Mar 2014 16:09:45 +0000 (17:09 +0100)]
[FIX] [MERGE] [SALE] Filter invoice and ship address on sales order to contacts of the selected customer (#592166)

bzr revid: jri@openerp.com-20140307160945-r2t5pbl2bb7yaw9n

10 years ago[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_...
Martin Trigaux [Fri, 7 Mar 2014 16:05:45 +0000 (17:05 +0100)]
[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_total, courtesy of Alexandre Fayolle (camptocamp)

bzr revid: mat@openerp.com-20140307160545-c3l3itbzg1cf00s1

10 years ago[MERGE] [FIX] base_calendar: when computing the reccurency of an event, skip if no...
Martin Trigaux [Fri, 7 Mar 2014 15:36:10 +0000 (16:36 +0100)]
[MERGE] [FIX] base_calendar: when computing the reccurency of an event, skip if no recurrency period is set (opw 598737)

Fix the calendar view so that the recurrency period is editable when checking the 'recurrency' checkbox

bzr revid: mat@openerp.com-20140307153610-seud49l3oh1nq836

10 years ago[FIX] also track modifications on fee_lines field
Martin Trigaux [Fri, 7 Mar 2014 15:14:26 +0000 (16:14 +0100)]
[FIX] also track modifications on fee_lines field

bzr revid: mat@openerp.com-20140307151426-x7b269mxjfmna1pb

10 years ago[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_...
Martin Trigaux [Fri, 7 Mar 2014 15:09:39 +0000 (16:09 +0100)]
[MERGE] [FIX] mrp_repair: add missing invalidation functions for stored field amount_total, courtesy of Alexandre Fayolle (camptocamp)

bzr revid: mat@openerp.com-20140307150939-yp54rpqw67hvdpe8

10 years ago[MERGE] [FIX] Demo data had wrong end date for yearly membership (#602129)
Juan Rial [Fri, 7 Mar 2014 14:52:06 +0000 (15:52 +0100)]
[MERGE] [FIX] Demo data had wrong end date for yearly membership (#602129)

bzr revid: jri@openerp.com-20140307145206-b20cq8fjatce418p

10 years ago[MERGE] [FIX] Skip Draft on Journals didn't take effect (#603952)
Juan Rial [Fri, 7 Mar 2014 14:45:29 +0000 (15:45 +0100)]
[MERGE] [FIX] Skip Draft on Journals didn't take effect (#603952)

Fix: call the validate method to advance the entries to posted state

bzr revid: jri@openerp.com-20140307144529-vylypabs9io0rio0

10 years ago[MERGE] [FIX] write a value to date_closed when mark an opportunity as won or lost.
Martin Trigaux [Fri, 7 Mar 2014 14:27:36 +0000 (15:27 +0100)]
[MERGE] [FIX] write a value to date_closed when mark an opportunity as won or lost.

This is required to compute correct value for the day_close function field

bzr revid: mat@openerp.com-20140307142736-ij9n8x5plgehm063

10 years ago[FIX] quick create: do not add the id in the form if the form is readonly (eg: clicki...
Martin Trigaux [Fri, 7 Mar 2014 14:12:57 +0000 (15:12 +0100)]
[FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)

bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51

10 years ago[MERGE] [FIX] division by zero in product margins with 0 sale price and 0 qty (#591893)
Juan Rial [Fri, 7 Mar 2014 13:29:29 +0000 (14:29 +0100)]
[MERGE] [FIX] division by zero in product margins with 0 sale price and 0 qty (#591893)

bzr revid: jri@openerp.com-20140307132929-jz4ebc37u1huj4nl

10 years ago[MERGE] [FIX] errors on translations generated from localisation template in multilan...
Juan Rial [Fri, 7 Mar 2014 12:49:36 +0000 (13:49 +0100)]
[MERGE] [FIX] errors on translations generated from localisation template in multilang (opw-589913)

Don't sort the tax template id's or the wrong translation gets loaded

bzr revid: jri@openerp.com-20140307124936-stott6yx0krtw5g6

10 years ago[FIX] crm: write a value to date_closed when mark an opportunity as won or lost.
Martin Trigaux [Fri, 7 Mar 2014 11:18:35 +0000 (12:18 +0100)]
[FIX] crm: write a value to date_closed when mark an opportunity as won or lost.

This value is required to compute 'Days to Close' field

bzr revid: mat@openerp.com-20140307111835-o7nd7dmkn5y8zg2a

10 years ago[FIX] phonecall: in 'Logged Call' menu display (by default) only the one in done...
Martin Trigaux [Fri, 7 Mar 2014 09:54:28 +0000 (10:54 +0100)]
[FIX] phonecall: in 'Logged Call' menu display (by default) only the one in done state (opw 601725)

bzr revid: mat@openerp.com-20140307095428-buwc6m008mowaoy3

10 years ago[MERGE] [IMP] account: don't display misleading percent symbol while expecting fracti...
Martin Trigaux [Fri, 7 Mar 2014 09:27:48 +0000 (10:27 +0100)]
[MERGE] [IMP] account: don't display misleading percent symbol while expecting fraction (as suggest the tooltip) (opw #602613)

bzr revid: mat@openerp.com-20140307092748-qsnqo0y04bocw6om

10 years ago[MERGE] [FIX] mail: make subject of invitation wizard translatable
Martin Trigaux [Fri, 7 Mar 2014 09:09:23 +0000 (10:09 +0100)]
[MERGE] [FIX] mail: make subject of invitation wizard translatable

bzr revid: mat@openerp.com-20140307090923-28r81taey0sdtfy0

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 7 Mar 2014 07:24:33 +0000 (07:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072427-zkvqj45icrzupx0m
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072433-0lqpjt07j1s8k8cs

10 years ago[FIX] product: typo in previous commit
Olivier Dony [Thu, 6 Mar 2014 19:09:06 +0000 (20:09 +0100)]
[FIX] product: typo in previous commit

"The only man who makes no mistakes is the man who never does anything. ~T.R." ;-)

bzr revid: odo@openerp.com-20140306190906-k8wjr9urekpoy7ch

10 years ago[IMP] safe_eval: allowed opcodes: break, continue, raise ; extra builtins: unicode...
Olivier Dony [Thu, 6 Mar 2014 16:58:49 +0000 (17:58 +0100)]
[IMP] safe_eval: allowed opcodes: break, continue, raise ; extra builtins: unicode,int,float,long,enumerate,sum,all,any,ord,chr,cmp,divmod,isinstance,[x]range,zip

bzr revid: odo@openerp.com-20140306165849-1sxr9iv5cr87k77n

10 years ago[FIX] use float rounding for pricelist instead of ceiling
Martin Trigaux [Thu, 6 Mar 2014 16:30:41 +0000 (17:30 +0100)]
[FIX] use float rounding for pricelist instead of ceiling

bzr revid: mat@openerp.com-20140306163041-amrrfmooxychr5ip

10 years ago[FIX] use float rounding for pricelist instead of ceiling
Martin Trigaux [Thu, 6 Mar 2014 16:29:53 +0000 (17:29 +0100)]
[FIX] use float rounding for pricelist instead of ceiling

bzr revid: mat@openerp.com-20140306162953-iu7k53i5zsllokdp

10 years ago[FIX] product: when converting unit of mesures, use ceiling instead of rounding method
Martin Trigaux [Thu, 6 Mar 2014 16:20:33 +0000 (17:20 +0100)]
[FIX] product: when converting unit of mesures, use ceiling instead of rounding method

This avoids flows to be stucked when a convertion would move/reserve/buy less pieces than the number required (eg: MTO product where supplier has a UoM bigger than the one on the sale order)

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

bzr revid: mat@openerp.com-20140306162033-yqoc22lo37x06cfh

10 years ago[IMP] remove useless imports
Martin Trigaux [Thu, 6 Mar 2014 15:31:25 +0000 (16:31 +0100)]
[IMP] remove useless imports

bzr revid: mat@openerp.com-20140306153125-czwswqw1k3w5ungh

10 years ago[FIX] base_import: update the select2 library up to version 3.4.5
Martin Trigaux [Thu, 6 Mar 2014 15:19:32 +0000 (16:19 +0100)]
[FIX] base_import: update the select2 library up to version 3.4.5

This fixes rendering issue in firefox (mouseover bar chart in dashbord view)
Replace the new localisation of select2 by our translation system

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

bzr revid: mat@openerp.com-20140306151932-yq4ezxxmbsnxlpqn

10 years ago[IMP] will add bootstrap style once needed
Martin Trigaux [Thu, 6 Mar 2014 13:40:38 +0000 (14:40 +0100)]
[IMP] will add bootstrap style once needed

bzr revid: mat@openerp.com-20140306134038-s70iyxdh4j5inh56

10 years ago[IMP] product: add python tests
Martin Trigaux [Thu, 6 Mar 2014 13:34:56 +0000 (14:34 +0100)]
[IMP] product: add python tests

bzr revid: mat@openerp.com-20140306133456-cnqjcwmo73ioqxxf

10 years ago[MERGE] [FIX] test ir.sequence: when testing the lock mechanism, verify the error...
Martin Trigaux [Thu, 6 Mar 2014 12:44:42 +0000 (13:44 +0100)]
[MERGE] [FIX] test ir.sequence: when testing the lock mechanism, verify the error based on an error code instead of the error message which is sensible to the locale of the system

bzr revid: mat@openerp.com-20140306124442-pjfpx32rpwqlag80

10 years ago[FIX] account_followup: surround pre tags with para tags to avoid text being partiall...
Denis Ledoux [Thu, 6 Mar 2014 12:39:37 +0000 (13:39 +0100)]
[FIX] account_followup: surround pre tags with para tags to avoid text being partially hidden in the followup report if the text is too long

bzr revid: dle@openerp.com-20140306123937-sn61atwvbcjwbyup

10 years ago[IMP] select2: allow translation of information messages, avoid the need of locale...
Martin Trigaux [Thu, 6 Mar 2014 12:27:43 +0000 (13:27 +0100)]
[IMP] select2: allow translation of information messages, avoid the need of locale files from select2

bzr revid: mat@openerp.com-20140306122743-3ejmmnryx2sq8ud7