Laurent Mignon (Acsone)
476a0b620d
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the lock on the job before its execution to prevent running already executed job
...
bzr revid: laurent.mignon@acsone.eu-20140131163210-2sw8f2e5n4my5o5l
2014-01-31 17:32:10 +01:00
Martin Trigaux
8a0f1b2495
[MERGE] [FIX] res_partner: name_search search in one pass
...
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
bzr revid: mat@openerp.com-20140129132240-eamnzs37k0i65gpe
2014-01-29 14:22:40 +01:00
Martin Trigaux
cb4ce12d3a
[IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes.fr for the second name_search)
...
bzr revid: mat@openerp.com-20140129124806-dq56o7r1yt38nb08
2014-01-29 13:48:06 +01:00
Martin Trigaux
e6ee1947f8
[FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
...
bzr revid: mat@openerp.com-20140129123404-8hs786n64briqyta
2014-01-29 13:34:04 +01:00
Martin Trigaux
f71a381b81
[ref] move up!
...
bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x
2014-01-29 12:41:02 +01:00
Martin Trigaux
5d38e40e6b
[FIX] revert previous rev for better where and add test
...
bzr revid: mat@openerp.com-20140129113938-517gqfi1kzcf64fz
2014-01-29 12:39:38 +01:00
Martin Trigaux
7dedf4ec45
[IMP] remove useless variable, where_clause at least '' as created from a str.join()
...
bzr revid: mat@openerp.com-20140129111959-7y9su01ooneu0mco
2014-01-29 12:19:59 +01:00
Martin Trigaux
05ec12692f
[FIX] res_partner: name_search search in one pass
...
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
lp bug: https://launchpad.net/bugs/1203727 fixed
bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
2014-01-29 11:55:48 +01:00
Christophe Simonis
23778030cd
[FIX] forbid dropping templates databases
...
bzr revid: chs@openerp.com-20140129103538-qbm054m29y5r4hu4
2014-01-29 11:35:38 +01:00
Launchpad Translations on behalf of openerp
4d3a623af7
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128070310-721zmkmw0ocyz6im
bzr revid: launchpad_translations_on_behalf_of_openerp-20140129060326-647er2mw0mfn2j5s
2014-01-29 06:03:26 +00:00
Launchpad Translations on behalf of openerp
21ad5a6f48
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051546-xdjoni3k2eium078
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128070317-kjn3wh5y1v9z2ijd
2014-01-28 07:03:17 +00:00
Martin Trigaux
b0e7dd9382
[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
2014-01-27 17:00:19 +01:00
Martin Trigaux
f2b2ee8eae
[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
2014-01-27 15:49:13 +01:00
Martin Trigaux
29b03f073d
[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
2014-01-27 15:28:36 +01:00
Martin Trigaux
d43002c14b
[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
2014-01-27 15:00:09 +01:00
Launchpad Translations on behalf of openerp
d9cdc8564c
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
2014-01-27 05:46:06 +00:00
Antony Lesuisse
b7895c99d6
[FIX] contract search view typo
...
bzr revid: al@openerp.com-20140125000444-14nkccg6vyu5nmv5
2014-01-25 01:04:44 +01:00
Christophe Simonis
892325754e
[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
2014-01-24 14:24:50 +01:00
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