odoo/odoo.git
10 years ago[FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields...
Anael Closson [Mon, 3 Feb 2014 12:58:54 +0000 (13:58 +0100)]
[FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

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

bzr revid: acl@openerp.com-20140203125854-ypi0bu0lbhatg9b1

10 years ago[MERGE] [FIX] expression: do not look at translation in parse when searching with...
Martin Trigaux [Mon, 27 Jan 2014 16:00:19 +0000 (17:00 +0100)]
[MERGE] [FIX] expression: do not look at translation in parse when searching with empty string or false
This fixes traceback when applying filter 'is not set' on a translatable field

bzr revid: mat@openerp.com-20140127160019-mf0l0ded14g741df

10 years ago[FIX] expression: do not look at translation in parse when searching with empty strin...
Martin Trigaux [Mon, 27 Jan 2014 14:49:13 +0000 (15:49 +0100)]
[FIX] expression: do not look at translation in parse when searching with empty string or false
This fixes traceback when applying filter 'is not set' on a translatable field

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

bzr revid: mat@openerp.com-20140127144913-qjh9hrnkfdn18sdb

10 years ago[MERGE] [FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results witho...
Martin Trigaux [Mon, 27 Jan 2014 14:28:36 +0000 (15:28 +0100)]
[MERGE] [FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN for searchResultReference

bzr revid: mat@openerp.com-20140127142836-pvta002gk1ckfzkh

10 years ago[FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN...
Martin Trigaux [Mon, 27 Jan 2014 14:00:09 +0000 (15:00 +0100)]
[FIX] users_ldap: forward port of rev 7301 from 6.1, get rid of results without DN for searchResultReference, courtesy of Patrick Monnerat

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

bzr revid: mat@openerp.com-20140127140009-o50fhhs5z0vjklwc

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 27 Jan 2014 05:46:06 +0000 (05:46 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061252-9jm03vlbr13ofqo9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055652-0p71divui34v1c1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062440-hx0z2e4sd6nz7exc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051449-rlunde7qysqsh1b1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125064003-v340hiykcngjg9ue
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051541-9fnyw12nex5poeth
bzr revid: launchpad_translations_on_behalf_of_openerp-20140127054606-1jb6usf6pj7gy1xl

10 years ago[FIX] contract search view typo
Antony Lesuisse [Sat, 25 Jan 2014 00:04:44 +0000 (01:04 +0100)]
[FIX] contract search view typo

bzr revid: al@openerp.com-20140125000444-14nkccg6vyu5nmv5

10 years ago[FIX] plugin: correct condition to match partners from emails.
Christophe Simonis [Fri, 24 Jan 2014 13:24:50 +0000 (14:24 +0100)]
[FIX] plugin: correct condition to match partners from emails.

correct copy/paste bug introduced in revid 9785 mat@openerp.com-20140122134728-558gkuhjpi2bc277

bzr revid: chs@openerp.com-20140124132450-cmx4acj6yei49aw7

10 years ago[FIX] conditions inverted in involves not forgotten a
Anael Closson [Fri, 24 Jan 2014 12:54:44 +0000 (13:54 +0100)]
[FIX] conditions inverted in involves not forgotten a

bzr revid: acl@openerp.com-20140124125444-rhigcae80phfixh8

10 years ago[REVERT] 9401 dle@openerp.com-20130830125155-1vedifnupu2xvth7
Denis Ledoux [Fri, 24 Jan 2014 12:01:02 +0000 (13:01 +0100)]
[REVERT] 9401 dle@openerp.com-20130830125155-1vedifnupu2xvth7

This had as side-effect to not allow splitting BOMs
(a manufacturing order for 1 unit of a BOM producing 10 units consumed the lines like it was 10 units, not 1)

This fix was to avoid having a fraction of a unit (for instance, 0.5 unit).

But, finally, it is preferable to allow splitting units:
1. Most users do not use several uoms, and in this case, the unit is the default uom (hidden).
2. At the moment, it is allowed to ask a manufacturing order splitting up the unit uom
(It is allowed to ask the production of 0.5 USB Adapter, for instance)
Thus, we should allow the splitting up of the unit uom in the lines too.

bzr revid: dle@openerp.com-20140124120102-we2yxio553ws2yz4

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 24 Jan 2014 06:25:06 +0000 (06:25 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062506-2xq1lhj82n923dbl

10 years ago[FIX] test: correct Mock of search_read
Christophe Simonis [Thu, 23 Jan 2014 17:08:36 +0000 (18:08 +0100)]
[FIX] test: correct Mock of search_read
[IMP] search_read: build order index using dict comprehension

bzr revid: chs@openerp.com-20140123170836-4qu0ei6zucaprwxs

10 years ago[FIX] read: fix performance issue due to O(n)^2 sorting
Frédéric van der Essen [Thu, 23 Jan 2014 16:15:23 +0000 (17:15 +0100)]
[FIX] read: fix performance issue due to O(n)^2 sorting

bzr revid: fva@openerp.com-20140123161523-xvc8so45uwj3uivs

10 years ago[FIX] sale, purchase, sale_stock: on orders lines, on product changed, change the...
Denis Ledoux [Thu, 23 Jan 2014 10:35:05 +0000 (11:35 +0100)]
[FIX] sale, purchase, sale_stock: on orders lines, on product changed, change the uom (even if the uom is in the same category)

bzr revid: dle@openerp.com-20140123103505-7pm9526ot2f5u7wa

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 23 Jan 2014 05:57:32 +0000 (05:57 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055732-ggft6ftma1kfpaq6

10 years ago[MERGE] [FIX] plugin: fixing issues with push_message method (opw 593592)
Martin Trigaux [Wed, 22 Jan 2014 13:47:28 +0000 (14:47 +0100)]
[MERGE] [FIX] plugin: fixing issues with push_message method (opw 593592)
retrieve 'message_id' key from dict produced by message_parse instead of 'message-id'
add author_id, message_from and message_id info
set message with content as html, do not add body_html field which is inexistant in mail.message model

bzr revid: mat@openerp.com-20140122134728-558gkuhjpi2bc277

10 years ago[FIX] mrp, stock: avoid float rounding errors using float_compare
Denis Ledoux [Wed, 22 Jan 2014 13:38:22 +0000 (14:38 +0100)]
[FIX] mrp, stock: avoid float rounding errors using float_compare

bzr revid: dle@openerp.com-20140122133822-fkt5gqanpptlx9jx

10 years ago[FIX] plugin: Email pushed from Outlook plugin does not have body content and 'Author...
Ravi Gohil (OpenERP) [Wed, 22 Jan 2014 12:52:31 +0000 (18:22 +0530)]
[FIX] plugin: Email pushed from Outlook plugin does not have body content and 'Author' and 'From' are set blank and/or incorrectly. (Maintenance Case: 593592,602431)

bzr revid: rgo@tinyerp.com-20140122125231-zarrt1rzx6pyerf6

10 years ago[MERGE] [FIX] project_long_term: do not schedule_phases if no project is found (avoid...
Martin Trigaux [Wed, 22 Jan 2014 10:00:05 +0000 (11:00 +0100)]
[MERGE] [FIX] project_long_term: do not schedule_phases if no project is found (avoid traceback)

bzr revid: mat@openerp.com-20140122100005-z99i013chg18ywqa

10 years ago[FIX] email_template: error message instead of traceback when sending an email from...
Martin Trigaux [Wed, 22 Jan 2014 09:48:37 +0000 (10:48 +0100)]
[FIX] email_template: error message instead of traceback when sending an email from a user without user

bzr revid: mat@openerp.com-20140122094837-a0bkx2huqvkylniy

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 22 Jan 2014 06:13:35 +0000 (06:13 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061335-z6h1dn3yd94l8850

10 years ago[FIX] modules: multi worker signaling initialize variables before loading registry
Denis Ledoux [Tue, 21 Jan 2014 17:18:36 +0000 (18:18 +0100)]
[FIX] modules: multi worker signaling initialize variables before loading registry

bzr revid: dle@openerp.com-20140121171836-dxs7cvqcd9nxytu1

10 years ago[MERGE] [FIX] format_value: when formating to date, make sure not converting from...
Martin Trigaux [Tue, 21 Jan 2014 15:25:21 +0000 (16:25 +0100)]
[MERGE] [FIX] format_value: when formating to date, make sure not converting from a datetime string as would make timezones apply and lead to a possible change of day

bzr revid: mat@openerp.com-20140121152521-ebgre8hv5sgddhv1

10 years ago[FIX] format_value: correctly compose if block, we are doing python here...
Martin Trigaux [Tue, 21 Jan 2014 14:26:25 +0000 (15:26 +0100)]
[FIX] format_value: correctly compose if block, we are doing python here...

bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88

10 years ago[IMP] always apply substring and call directly str_to_date
Martin Trigaux [Tue, 21 Jan 2014 13:50:58 +0000 (11:50 -0200)]
[IMP] always apply substring and call directly str_to_date

bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo

10 years ago[MERGE] [FIX] document_ftp: allow to use '..' command when traveling in ftp directories
Martin Trigaux [Tue, 21 Jan 2014 13:30:45 +0000 (11:30 -0200)]
[MERGE] [FIX] document_ftp: allow to use '..' command when traveling in ftp directories
This command is triggered when trying to go one level up in some FTP softwares (eg: FileZilla)

bzr revid: mat@openerp.com-20140121133045-9p2p67bo2jz8uo9z

10 years ago[FIX] format_value: when formating to date, make sure not converting from a datetime...
Martin Trigaux [Tue, 21 Jan 2014 13:27:25 +0000 (11:27 -0200)]
[FIX] format_value: when formating to date, make sure not converting from a datetime string as would make timezones apply and lead to a possible day change

bzr revid: mat@openerp.com-20140121132725-k9f8hna3lg7nq7g8

10 years ago[FIX] stock: updating cost price for products with cost method set to average price...
Denis Ledoux [Tue, 21 Jan 2014 12:42:43 +0000 (13:42 +0100)]
[FIX] stock: updating cost price for products with cost method set to average price and inventory valuation periodic (manual) does not write move lines.

As the move line should be written manually by the accountant

bzr revid: dle@openerp.com-20140121124243-4a23ih2z51mh4svf

10 years ago[FIX] document_ftp: allow to use '..' command when traveling in ftp directories
Martin Trigaux [Tue, 21 Jan 2014 10:30:21 +0000 (11:30 +0100)]
[FIX] document_ftp: allow to use '..' command when traveling in ftp directories

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

bzr revid: mat@openerp.com-20140121103021-mv9gcv4iprary0ac

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140121062040-gq8r12g3ypksxa4t

10 years ago[FIX] purchase: on unlink purchase order line, cancel procurements associated to...
Denis Ledoux [Mon, 20 Jan 2014 17:07:29 +0000 (18:07 +0100)]
[FIX] purchase: on unlink purchase order line, cancel procurements associated to the move of the purchase order line

bzr revid: dle@openerp.com-20140120170729-57fm8tluz5p4zdk5

10 years ago[FIX] css: remove useless css properties
Martin Trigaux [Mon, 20 Jan 2014 16:35:54 +0000 (17:35 +0100)]
[FIX] css: remove useless css properties
float:left with cleartext hack is the same as no properties, and it's working in firefox

bzr revid: mat@openerp.com-20140120163554-zf0sq98ko8qqc9fb

10 years ago[FIX] search: add delay of 250us (was 0) on autocomplete fields in search bar and...
Martin Trigaux [Mon, 20 Jan 2014 16:01:47 +0000 (17:01 +0100)]
[FIX] search: add delay of 250us (was 0) on autocomplete fields in search bar and m2o fields.
This avoids making a search request for each keypressed

bzr revid: mat@openerp.com-20140120160147-q7lg4j93c836ec44

10 years ago[FIX] css: unify lines in view log menu
Martin Trigaux [Mon, 20 Jan 2014 15:06:06 +0000 (16:06 +0100)]
[FIX] css: unify lines in view log menu
This prevents lines in bold font to be larger than normal one and produce a gap in lines (in Firefox at least)

bzr revid: mat@openerp.com-20140120150606-dvoetrbp3cavtuc3

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070457-rn2tgdxis2fi3nqo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055822-ajy043mntc4jr407
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055854-z7wtyb24c5t8kcmj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070538-2xm86ece1aate8u9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055932-sa6vrp2g8ua3u88e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055948-lwcyqcfutgamwac1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070546-d89xqw56zou7e9p9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055955-6wrdxqy1018mo7jq

10 years ago[IMP] report: performance improvment in reports. Use cached method to get decimal...
Denis Ledoux [Fri, 17 Jan 2014 17:16:34 +0000 (18:16 +0100)]
[IMP] report: performance improvment in reports. Use cached method to get decimal precision

bzr revid: dle@openerp.com-20140117171634-ohtydts70hjiqss7

10 years ago[FIX] format_value: consider text fields te same way as char fields for empty values
Martin Trigaux [Fri, 17 Jan 2014 11:31:41 +0000 (19:31 +0800)]
[FIX] format_value: consider text fields te same way as char fields for empty values

bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk

10 years ago[FIX] account_asset: accounts should be regular type only
Denis Ledoux [Fri, 17 Jan 2014 10:40:37 +0000 (11:40 +0100)]
[FIX] account_asset: accounts should be regular type only

Asset Account, Depreciation Account and Depr. Expense Account must be of type regular, only.

Thus, we add a domain on each, so we can choose only regular accounts.

bzr revid: dle@openerp.com-20140117104037-jqhijy0p4rjdx3fr

10 years ago[FIX] kanban: format aggregates values to float to avoid too long numbers in kanban...
Martin Trigaux [Fri, 17 Jan 2014 10:19:43 +0000 (11:19 +0100)]
[FIX] kanban: format aggregates values to float to avoid too long numbers in kanban column (not roudned value)

bzr revid: mat@openerp.com-20140117101943-v7kz6pkxyv4dfvlk

10 years ago[FIX] export: ignore unexistant field when retrieving field labels in saved field...
Martin Trigaux [Fri, 17 Jan 2014 10:16:55 +0000 (11:16 +0100)]
[FIX] export: ignore unexistant field when retrieving field labels in saved field list
This avoids getting an error if a list contains a field no longer present in the model (eg: removed custom field)

bzr revid: mat@openerp.com-20140117101655-gz05oxkebn0bue8w

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 17 Jan 2014 07:03:59 +0000 (07:03 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140117070359-ulb46tg4k5pv2xl7

10 years ago[MERGE] mrp: in work orders duration is displayed in decimal numbers instead of time
Denis Ledoux [Thu, 16 Jan 2014 18:04:59 +0000 (19:04 +0100)]
[MERGE] mrp: in work orders duration is displayed in decimal numbers instead of time

bzr revid: dle@openerp.com-20140116180459-6psj1f0uq4ihxzc2

10 years ago[FIX] decimal_precision: clearing the cache is suffcient when decimal precision change.
Christophe Simonis [Thu, 16 Jan 2014 15:46:45 +0000 (16:46 +0100)]
[FIX] decimal_precision: clearing the cache is suffcient when decimal precision change.
[IMP] decimal_precision: call digits_change() on any field that support it, not only on float and function fields

bzr revid: chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx

10 years ago[FIX] orm: As float fields are stateful (the .digit attribute depend of the database...
Christophe Simonis [Thu, 16 Jan 2014 15:37:08 +0000 (16:37 +0100)]
[FIX] orm: As float fields are stateful (the .digit attribute depend of the database (decimal_precision)), registry model instances need their owm copy.

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

bzr revid: chs@openerp.com-20140116153708-061aq2k0n1qsb2n3

10 years ago[FIX] modules: set initial values for multi-process signaling to None to avoid missin...
Olivier Dony [Thu, 16 Jan 2014 15:11:57 +0000 (16:11 +0100)]
[FIX] modules: set initial values for multi-process signaling to None to avoid missing events

For fresh databases, the signaling sequences in the
database stays at 1 until the installation of the
first module. If several workers are hit for this
database before the first module is installed,
this database registry will be loaded with a signaling
sequence of 1. Since  was the default value, any
signal received by workers in this state was ignored
because they thought the registry was previously
not loaded.
Using None to indicate an  sequence value
is more accurate and avoids this error

bzr revid: dle@openerp.com-20140116151157-3zlyrg48xqn2lkd0

10 years ago[FIX] base_calendar: when searching on events, avoid getting an error if virtual_id...
Martin Trigaux [Thu, 16 Jan 2014 09:47:58 +0000 (10:47 +0100)]
[FIX] base_calendar: when searching on events, avoid getting an error if virtual_id=False and count=True

bzr revid: mat@openerp.com-20140116094758-y32i7bw4zpakk92z

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 16 Jan 2014 06:06:51 +0000 (06:06 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav

10 years ago[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input
Denis Ledoux [Wed, 15 Jan 2014 16:51:14 +0000 (17:51 +0100)]
[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input

on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case.
The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving.

bzr revid: dle@openerp.com-20140115165114-nqa2ynszgocrnt52

10 years ago[MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs
Martin Trigaux [Wed, 15 Jan 2014 14:50:49 +0000 (15:50 +0100)]
[MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs

bzr revid: mat@openerp.com-20140115145049-bj80tsytb8fcrsiw

10 years ago[IMP] sale,purchase order: order the field based on date_order instead of name (opw...
Martin Trigaux [Wed, 15 Jan 2014 14:40:30 +0000 (15:40 +0100)]
[IMP] sale,purchase order: order the field based on date_order instead of name (opw 602879)
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115144030-04xlhaf3b4sviq92

10 years ago[FIX] Fix the missing border-bottom of the notebook in dialogs
Cecile Tonglet [Wed, 15 Jan 2014 14:26:08 +0000 (15:26 +0100)]
[FIX] Fix the missing border-bottom of the notebook in dialogs

bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0

10 years ago[IMP] sale,purchase order: order the field based on date_order instead of name
Martin Trigaux [Wed, 15 Jan 2014 14:05:27 +0000 (15:05 +0100)]
[IMP] sale,purchase order: order the field based on date_order instead of name
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115140527-pztwh3kl6y9y7jbe

10 years ago[FIX] ir.translation: search view should use the stored `src` colum, the `source...
Olivier Dony [Wed, 15 Jan 2014 12:10:21 +0000 (13:10 +0100)]
[FIX] ir.translation: search view should use the stored `src` colum, the `source` function is meant for edition only

bzr revid: odo@openerp.com-20140115121021-978u00gkshuabvtf

10 years ago[FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
Denis Ledoux [Wed, 15 Jan 2014 12:08:44 +0000 (13:08 +0100)]
[FIX] web: view_form.js, allow press enter to break line in fieldtextwidget

bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce

10 years ago[FIX] mail: mail_thread: fixed a bug in subscription, new followers
Thibault Delavallée [Wed, 15 Jan 2014 11:58:25 +0000 (12:58 +0100)]
[FIX] mail: mail_thread: fixed a bug in subscription, new followers
could overwrite the subscription of previous followers.

This has already been fixed in saas-2 branch at revision 9079 (revid
tde@openerp.com-20140109131748-hgtflp40pmjhlhu2). But the fix is also
valid for the 7.0 stable branch.

bzr revid: tde@openerp.com-20140115115825-fniobvz33sssvrwd

10 years ago[MERGE] [FIX] reference field: correct editable tree view for refrence field (opw...
Martin Trigaux [Wed, 15 Jan 2014 11:00:38 +0000 (12:00 +0100)]
[MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)

bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm

10 years ago[FIX] portal: use email_split method to avoid blocking valid emails, rather than...
Olivier Dony [Wed, 15 Jan 2014 09:31:20 +0000 (10:31 +0100)]
[FIX] portal: use email_split method to avoid blocking valid emails, rather than obsolete email_re

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

bzr revid: odo@openerp.com-20140115093120-r2u2bmms9y847b93

10 years ago[FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on...
Martin Trigaux [Wed, 15 Jan 2014 08:57:48 +0000 (09:57 +0100)]
[FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on the name value instead of full tuple

bzr revid: mat@openerp.com-20140115085748-029ntjqc71huep25

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 15 Jan 2014 06:22:05 +0000 (06:22 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062126-ypg4xp33rspusnts
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062205-ov2axame3z00jkii

10 years ago[FIX] base: print workflow now displays the transition where the workflow instance...
Denis Ledoux [Tue, 14 Jan 2014 17:05:29 +0000 (18:05 +0100)]
[FIX] base: print workflow now displays the transition where the workflow instance is stuck

bzr revid: dle@openerp.com-20140114170529-wg1c3q8492whr19d

10 years ago[FIX] purchase: fix workflow for orders based on incoming shipments
Denis Ledoux [Tue, 14 Jan 2014 16:48:04 +0000 (17:48 +0100)]
[FIX] purchase: fix workflow for orders based on incoming shipments

Purchase orders Based on incoming shipments never ended in done stage

bzr revid: dle@openerp.com-20140114164804-zhfy9lb308554kp1

10 years ago[FIX] tools.email_split: improve email extraction using stdlib + extra tests
Olivier Dony [Tue, 14 Jan 2014 15:44:26 +0000 (16:44 +0100)]
[FIX] tools.email_split: improve email extraction using stdlib + extra tests

The original code was having issues telling apart
names containing emails from the actual email.
This patch is inspired by Etienne Hirt's patch
on bug 1165531 for OpenERP 6.1.
This will also help solve bug 1199386, if we can
centralize all email parsing through this helper.

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114154426-usu6intv5139egd3

10 years ago[IMP] view_form: do not display hugly error message when name_get returns no value...
Martin Trigaux [Tue, 14 Jan 2014 14:57:20 +0000 (15:57 +0100)]
[IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)

bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1

10 years ago[FIX] email_template: fix invalid uses of tools.email_split
Olivier Dony [Tue, 14 Jan 2014 13:46:27 +0000 (14:46 +0100)]
[FIX] email_template: fix invalid uses of tools.email_split

This is necessary to have the tests pass after
the corresponding server patch in server 7.0
at revision 5198 revision-id: odo@openerp.com-20140114120344-r58wndgybqusnnq7

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114134627-6j83f4s6pvnj4uma

10 years ago[FIX] web: list view: fix wrong css for fields.reference in editable tree view
Xavier ALT [Tue, 14 Jan 2014 11:59:47 +0000 (12:59 +0100)]
[FIX] web: list view: fix wrong css for fields.reference in editable tree view

bzr revid: xal@openerp.com-20140114115947-gkh09tb2vxsjyksk

10 years ago[FIX] web: list view: keep original fields.reference value instact, store it's displa...
Xavier ALT [Tue, 14 Jan 2014 10:04:39 +0000 (11:04 +0100)]
[FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works

bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum

10 years ago[FIX] account: restore cross-account reconciliation check, disabled by mistake in...
Olivier Dony [Fri, 10 Jan 2014 16:15:19 +0000 (17:15 +0100)]
[FIX] account: restore cross-account reconciliation check, disabled by mistake in v6.1

Both the FY closing change and the removal of the
check occurred in v6.1 at revision 6529
revid:qdp-launchpad@openerp.com-20120209170333-8xu7r21hencjwu73.

Also removed code specific to fiscal year closing
in the regular reconciliation operation, as the
FY closing is now using a dedication reconciliation
algorithm.

This is a forward-port of the corresponding patch in v6.1,
at revno 7295 rev-id: odo@openerp.com-20140110154023-12rqfeuwx5fqpdau.

bzr revid: odo@openerp.com-20140110161519-qsocx6xgqsmbe6dt

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140114064936-uengc20ppbqnn5ut

10 years ago[FIX] format: trying to format an undefined value as the same effect as a value to...
Martin Trigaux [Mon, 13 Jan 2014 17:23:47 +0000 (18:23 +0100)]
[FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter

bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w

10 years ago[FIX] hr_timesheet_invoice: on_change_partner_id, do nothing if partner_id is False
Denis Ledoux [Mon, 13 Jan 2014 16:56:47 +0000 (17:56 +0100)]
[FIX] hr_timesheet_invoice: on_change_partner_id, do nothing if partner_id is False

bzr revid: dle@openerp.com-20140113165647-152dy1wqgc7m8cc8

10 years ago[MERGE] [FIX] account: fixed amount in foreign currency for opening entries
Martin Trigaux [Mon, 13 Jan 2014 13:22:09 +0000 (14:22 +0100)]
[MERGE] [FIX] account: fixed amount in foreign currency for opening entries

When generating fiscal year opening entries, if the account uses a different currency, the amount_currency should contains only the entries of the current year and not the previous one. Courtesy of Matthieu Dietrich (camptocamp)

bzr revid: mat@openerp.com-20140113132209-jpva50a714xfxx30

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062610-ld24q55cbxo6di5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054746-j34qg10ipyb6kj8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055853-5oqpffj3szw1yrpl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062637-m0t50cu2cr5d6yw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054824-hm7ylgrauivbj7h2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055913-wo2i3sd1rnblragc

10 years ago[FIX] decimal_precision: signal workers to restart their registry when decimal precis...
Denis Ledoux [Fri, 10 Jan 2014 17:38:23 +0000 (18:38 +0100)]
[FIX] decimal_precision: signal workers to restart their registry when decimal precision change.

bzr revid: dle@openerp.com-20140110173823-lfekux2jxrj5v9gn

10 years ago[FIX] mrp: move _prepare_order_line_procurement to module sale_mrp as mrp module...
Martin Trigaux [Fri, 10 Jan 2014 15:31:33 +0000 (16:31 +0100)]
[FIX] mrp: move _prepare_order_line_procurement to module sale_mrp as mrp module does not depends from sale

bzr revid: mat@openerp.com-20140110153133-qozwrixyrwxjr44n

10 years ago[FIX] account_voucher: in fields_view_get overwrite, also add the 'default_supplier...
Martin Trigaux [Fri, 10 Jan 2014 13:48:45 +0000 (14:48 +0100)]
[FIX] account_voucher: in fields_view_get overwrite, also add the 'default_supplier/customer' properity in context.
With this the 'create and edit' menu will initiate the partner as a supplier.

bzr revid: mat@openerp.com-20140110134845-hvbob1mii4ofqjay

10 years ago[FIX] stock: when receiving an incoming shipment, the default quantity should be...
Martin Trigaux [Fri, 10 Jan 2014 13:00:56 +0000 (14:00 +0100)]
[FIX] stock: when receiving an incoming shipment, the default quantity should be prefilled.
This fixes the issue when the picking was first confirmed and received later, stock.move have the state as confirmed (Waiting Availibility)

bzr revid: mat@openerp.com-20140110130056-gjmssgxrqgr5y67y

10 years ago[FIX] decimal_precision: signal workers to restart their registry when decimal precis...
Christophe Simonis [Fri, 10 Jan 2014 12:54:33 +0000 (13:54 +0100)]
[FIX] decimal_precision: signal workers to restart their registry when decimal precision change.

bzr revid: chs@openerp.com-20140110125433-soimmrpz2icvob60

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 10 Jan 2014 05:32:16 +0000 (05:32 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140110053216-23qk0vpm4hr5g1ig

10 years ago[FIX] orm: add missing context (without the lang attribute to avoid setting translate...
Martin Trigaux [Thu, 9 Jan 2014 15:36:01 +0000 (16:36 +0100)]
[FIX] orm: add missing context (without the lang attribute to avoid setting translated values) in write call.

bzr revid: mat@openerp.com-20140109153601-13wo9gj5cz6ho3nm

10 years ago[MERGE] [FIX] base_calendar: allow ordering on calendar.event objects.
Martin Trigaux [Thu, 9 Jan 2014 14:06:16 +0000 (15:06 +0100)]
[MERGE] [FIX] base_calendar: allow ordering on calendar.event objects.
The ordering is done during the generation of recurrent ids. If no ordering is done, fallback on self._order.
Based on code from Erik Heeren.

bzr revid: mat@openerp.com-20140109140616-uuc0b8pgpkgryfav

10 years ago[FIX] base_calendar: back to same behaviour as previously, when setting a recurrent...
Martin Trigaux [Thu, 9 Jan 2014 13:09:10 +0000 (14:09 +0100)]
[FIX] base_calendar: back to same behaviour as previously, when setting a recurrent event the first is not taken into account

bzr revid: mat@openerp.com-20140109130910-8ohh6kqt5m76jb7q

10 years ago[IMP] base_calendar: get_recurrent_ids is the wrapper and should be remove in trunk...
Martin Trigaux [Thu, 9 Jan 2014 11:20:23 +0000 (12:20 +0100)]
[IMP] base_calendar: get_recurrent_ids is the wrapper and should be remove in trunk (to have only private method

bzr revid: mat@openerp.com-20140109112023-ya2cogqnyiv6hsht

10 years ago[IMP] base_calendar: create wrap method _get_recurrent_ids to avoid changing the API
Martin Trigaux [Thu, 9 Jan 2014 11:09:07 +0000 (12:09 +0100)]
[IMP] base_calendar: create wrap method _get_recurrent_ids to avoid changing the API

bzr revid: mat@openerp.com-20140109110907-vhtxdna7y3w1vh36

10 years ago[FIX] mail: Chatter widget: the RecordThread widget, that is
Thibault Delavallée [Thu, 9 Jan 2014 11:07:09 +0000 (12:07 +0100)]
[FIX] mail: Chatter widget: the RecordThread widget, that is
used to display the Chatter on documents, should use the
domain defined on the field. Indeed this domain is used when
computing the 'read more' expandable domains.
Before this fix it was not taken into account, leading to
messages being fetched without respecting the domain
defined on the field.

bzr revid: tde@openerp.com-20140109110709-iz2jxryg5xqjedo4

10 years ago[FIX] base_calendar: allow to sort crm.meeting in search calls with recurrent events...
Martin Trigaux [Thu, 9 Jan 2014 10:37:08 +0000 (11:37 +0100)]
[FIX] base_calendar: allow to sort crm.meeting in search calls with recurrent events, based on code from Erik Heeren

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

bzr revid: mat@openerp.com-20140109103708-xw35n9q5u6z6pfby

10 years ago[FIX] mail: Chatter widget: keep void list of ids when fetching messages;
Thibault Delavallée [Thu, 9 Jan 2014 10:01:37 +0000 (11:01 +0100)]
[FIX] mail: Chatter widget: keep void list of ids when fetching messages;
only specific false ids should be replaced by a domain.

bzr revid: tde@openerp.com-20140109100137-7yy9em3klefz77ij

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 9 Jan 2014 05:38:28 +0000 (05:38 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140109053828-gmi203xa8tx1nnnp

10 years ago[FIX] account_voucher: default value for float field is 0.0, not False. (That doesn...
Quentin (OpenERP) [Wed, 8 Jan 2014 16:07:19 +0000 (17:07 +0100)]
[FIX] account_voucher: default value for float field is 0.0, not False. (That doesn't change the behavior but makes things more clear)

bzr revid: qdp-launchpad@openerp.com-20140108160719-9i8xhrat49cn9l5e

10 years ago[FIX] account: amount in secondary currency shouldn't be recomputed if 0 is given...
Quentin (OpenERP) [Wed, 8 Jan 2014 16:04:44 +0000 (17:04 +0100)]
[FIX] account: amount in secondary currency shouldn't be recomputed if 0 is given as value

bzr revid: qdp-launchpad@openerp.com-20140108160444-v2noeye7ftl32jgi

10 years ago[FIX] expression: allow exclusion of records with translated fields
Christophe Simonis [Wed, 8 Jan 2014 15:27:22 +0000 (16:27 +0100)]
[FIX] expression: allow exclusion of records with translated fields

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

bzr revid: chs@openerp.com-20140108152722-7f0dpsuv1skxbqub

10 years ago[IMP] osv: display full traceback in terminal (not client side) when a check fails...
Martin Trigaux [Wed, 8 Jan 2014 14:05:54 +0000 (15:05 +0100)]
[IMP] osv: display full traceback in terminal (not client side) when a check fails instead of minimal error

bzr revid: mat@openerp.com-20140108140554-oey9bje52ndqe0e3

10 years ago[FIX] mrp: move _prepare_order_line_procurement to model sale.order instead of procur...
Martin Trigaux [Wed, 8 Jan 2014 11:46:39 +0000 (12:46 +0100)]
[FIX] mrp: move _prepare_order_line_procurement to model sale.order instead of procurement.oder. This will add the lost property_ids that was removed at rev 9622.

bzr revid: mat@openerp.com-20140108114639-jc40rfbrbi1s37e3

10 years ago[FIX] web: redirect with hash always use html redirect
Denis Ledoux [Wed, 8 Jan 2014 10:53:07 +0000 (11:53 +0100)]
[FIX] web: redirect with hash always use html redirect

# Most IE and Safari versions decided not to preserve location.hash upon
# redirect. And even if IE10 pretends to support it, it still fails
# inexplicably in case of multiple redirects (and we do have some).
# See extensive test page at http://greenbytes.de/tech/tc/httpredirects/

bzr revid: dle@openerp.com-20140108105307-8dzzkxvtesb5d813

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 8 Jan 2014 05:40:34 +0000 (05:40 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140108053808-kp6y8v47dolfbvup
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054028-juvi5k3459lfg0ov
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054034-xfyjwtdxhq3abo8c

10 years ago[FIX] ir.actions.server: remove stupid restriction on model names
Christophe Simonis [Tue, 7 Jan 2014 17:20:10 +0000 (18:20 +0100)]
[FIX] ir.actions.server: remove stupid restriction on model names

bzr revid: chs@openerp.com-20140107172010-3sqo5yqrxz9523hy

10 years ago[IMP] crm: use %s pattern for variables in translations instead of {}, updated pot...
Martin Trigaux [Tue, 7 Jan 2014 16:58:40 +0000 (17:58 +0100)]
[IMP] crm: use %s pattern for variables in translations instead of {}, updated pot file

bzr revid: mat@openerp.com-20140107165840-pxc0rd5ezdnmzip7

10 years ago[FIX] crm.pot: duplicate msgid in previous commit
Olivier Dony [Tue, 7 Jan 2014 16:55:30 +0000 (17:55 +0100)]
[FIX] crm.pot: duplicate msgid in previous commit

bzr revid: odo@openerp.com-20140107165530-l3iqx5c8ibjfifao

10 years ago[FIX] web: avoid crash when the Home client action is called without `action` param
Olivier Dony [Tue, 7 Jan 2014 16:11:54 +0000 (17:11 +0100)]
[FIX] web: avoid crash when the Home client action is called without `action` param

E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.

bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe

10 years ago[MERGE] [FIX] crm: post message for logged/scheduled call in use timezone instead...
Martin Trigaux [Tue, 7 Jan 2014 15:49:42 +0000 (23:49 +0800)]
[MERGE] [FIX] crm: post message for logged/scheduled call in use timezone instead of utc (opw #600751).
Use <time> html element containing UTC time.
Updated POT to contains new translation value

bzr revid: mat@openerp.com-20140107154942-w3xx5914yzej4jb3

10 years ago[FIX] _auto_init: return a value to _auto_init calls. Backport of trunk revision...
Martin Trigaux [Tue, 7 Jan 2014 14:51:42 +0000 (15:51 +0100)]
[FIX] _auto_init: return a value to _auto_init calls. Backport of trunk revision 8679

bzr revid: mat@openerp.com-20140107145142-zm48pcjvqp42cfjg