Commit Graph

70973 Commits

Author SHA1 Message Date
Anael Closson 4a32b57779 [FIX] conditions inverted in involves not forgotten a
bzr revid: acl@openerp.com-20140124125444-rhigcae80phfixh8
2014-01-24 13:54:44 +01:00
Denis Ledoux 83677ed6e6 [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
2014-01-24 13:01:02 +01:00
Launchpad Translations on behalf of openerp c5dd038011 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062506-2xq1lhj82n923dbl
2014-01-24 06:25:06 +00:00
Christophe Simonis 457d661ae0 [FIX] test: correct Mock of search_read
[IMP] search_read: build order index using dict comprehension

bzr revid: chs@openerp.com-20140123170836-4qu0ei6zucaprwxs
2014-01-23 18:08:36 +01:00
Frédéric van der Essen 2f2c1057b3 [FIX] read: fix performance issue due to O(n)^2 sorting
bzr revid: fva@openerp.com-20140123161523-xvc8so45uwj3uivs
2014-01-23 17:15:23 +01:00
Denis Ledoux 27224c9b9e [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
2014-01-23 11:35:05 +01:00
Launchpad Translations on behalf of openerp 805d3757e9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055732-ggft6ftma1kfpaq6
2014-01-23 05:57:32 +00:00
Martin Trigaux dec3b8176e [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
2014-01-22 14:47:28 +01:00
Denis Ledoux d69ecb8d8f [FIX] mrp, stock: avoid float rounding errors using float_compare
bzr revid: dle@openerp.com-20140122133822-fkt5gqanpptlx9jx
2014-01-22 14:38:22 +01:00
Ravi Gohil (OpenERP) 8b20bb442c [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
2014-01-22 18:22:31 +05:30
Martin Trigaux 8e501b9c3b [MERGE] [FIX] project_long_term: do not schedule_phases if no project is found (avoid traceback)
bzr revid: mat@openerp.com-20140122100005-z99i013chg18ywqa
2014-01-22 11:00:05 +01:00
Martin Trigaux b25d08f917 [FIX] email_template: error message instead of traceback when sending an email from a user without user
bzr revid: mat@openerp.com-20140122094837-a0bkx2huqvkylniy
2014-01-22 10:48:37 +01:00
Launchpad Translations on behalf of openerp d5bc07f898 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061335-z6h1dn3yd94l8850
2014-01-22 06:13:35 +00:00
Denis Ledoux 4aeba0c12e [FIX] modules: multi worker signaling initialize variables before loading registry
bzr revid: dle@openerp.com-20140121171836-dxs7cvqcd9nxytu1
2014-01-21 18:18:36 +01:00
Martin Trigaux acbbfa68da [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
2014-01-21 16:25:21 +01:00
Martin Trigaux 3c3ab07e2f [FIX] format_value: correctly compose if block, we are doing python here...
bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88
2014-01-21 15:26:25 +01:00
Martin Trigaux 36048a8442 [IMP] always apply substring and call directly str_to_date
bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo
2014-01-21 11:50:58 -02:00
Martin Trigaux 08f759e71a [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
2014-01-21 11:30:45 -02:00
Martin Trigaux 9a0a02060f [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
2014-01-21 11:27:25 -02:00
Denis Ledoux a38a58cab8 [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
2014-01-21 13:42:43 +01:00
Martin Trigaux 6c0d8142ba [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
2014-01-21 11:30:21 +01:00
Launchpad Translations on behalf of openerp 698e2de138 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140121062040-gq8r12g3ypksxa4t
2014-01-21 06:20:40 +00:00
Denis Ledoux 4f3a4dce3b [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
2014-01-20 18:07:29 +01:00
Martin Trigaux c09798bfbb [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
2014-01-20 17:35:54 +01:00
Martin Trigaux 263693e44e [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
2014-01-20 17:01:47 +01:00
Martin Trigaux c3e31842e0 [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
2014-01-20 16:06:06 +01:00
Launchpad Translations on behalf of openerp 28d79433c3 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
2014-01-20 05:59:55 +00:00
Denis Ledoux f8ef34511c [IMP] report: performance improvment in reports. Use cached method to get decimal precision
bzr revid: dle@openerp.com-20140117171634-ohtydts70hjiqss7
2014-01-17 18:16:34 +01:00
Martin Trigaux 2dc722ac80 [FIX] format_value: consider text fields te same way as char fields for empty values
bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk
2014-01-17 19:31:41 +08:00
Denis Ledoux 679cfaaa03 [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
2014-01-17 11:40:37 +01:00
Martin Trigaux a065a1dffd [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
2014-01-17 11:19:43 +01:00
Martin Trigaux bd2bd8dbbc [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
2014-01-17 11:16:55 +01:00
Launchpad Translations on behalf of openerp 216824eae4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140117070359-ulb46tg4k5pv2xl7
2014-01-17 07:03:59 +00:00
Denis Ledoux 16109f37cd [MERGE] mrp: in work orders duration is displayed in decimal numbers instead of time
bzr revid: dle@openerp.com-20140116180459-6psj1f0uq4ihxzc2
2014-01-16 19:04:59 +01:00
Christophe Simonis 70e201b07e [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
2014-01-16 16:46:45 +01:00
Christophe Simonis 2f90f80ba0 [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
2014-01-16 16:37:08 +01:00
Olivier Dony 212b6bc480 [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
2014-01-16 16:11:57 +01:00
Martin Trigaux c02f16e443 [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
2014-01-16 10:47:58 +01:00
Launchpad Translations on behalf of openerp f39b8bb436 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
2014-01-16 06:06:51 +00:00
Denis Ledoux 3a6b6dd6df [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
2014-01-15 17:51:14 +01:00
Martin Trigaux 1066a1ca2c [MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs
bzr revid: mat@openerp.com-20140115145049-bj80tsytb8fcrsiw
2014-01-15 15:50:49 +01:00
Martin Trigaux 83babf4f21 [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
2014-01-15 15:40:30 +01:00
Cecile Tonglet f00e6711f5 [FIX] Fix the missing border-bottom of the notebook in dialogs
bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
2014-01-15 15:26:08 +01:00
Martin Trigaux 2aa8a38447 [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
2014-01-15 15:05:27 +01:00
Olivier Dony 1c129e4ca0 [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
2014-01-15 13:10:21 +01:00
Denis Ledoux 6109102e91 [FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Thibault Delavallée 4d73f955a9 [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
2014-01-15 12:58:25 +01:00
Martin Trigaux 2170efe270 [MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Olivier Dony b7fe8e1f8a [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
2014-01-15 10:31:20 +01:00
Martin Trigaux 3a95bbaf63 [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
2014-01-15 09:57:48 +01:00