Martin Trigaux
a27251fbda
[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
...
When importing invoices to a bank statement the bank statement lines are created with statement date instead of today
Set the date on the created voucher in the same wizard to the statement date instead of invoice date (problematic if different period)
When creating the account moves (at bank statement confirmation), make sur the date and period of the vouncher are synchronised
bzr revid: mat@openerp.com-20140129172009-vbp5n1nco51kaly8
2014-01-29 18:20:09 +01:00
Denis Ledoux
6cc096aebc
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9798 revid:dle@openerp.com-20140129163238-1s1t9oc814z4z7f3
...
bzr revid: dle@openerp.com-20140129171022-wf6244k90lpncmah
2014-01-29 18:10:22 +01:00
Denis Ledoux
08dfda9ec6
[FIX] purchase: on po confirm, avoid to write location_id on the chained stock move if the move is done
...
On purchase order confirmation, if the order_line comes from a procurement order created by a sale order,
it tried to write on the location_id, whatever the move state was, even done.
Or, sometimes, the stock move associated to the procurement order (from the so) was already done, for example because we forced the availability of the stock move.
It makes sense to not write the location_id if the move is already done, because the location_id is already good.
bzr revid: dle@openerp.com-20140129163238-1s1t9oc814z4z7f3
2014-01-29 17:32:38 +01:00
Martin Trigaux
3a07e0a012
[FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
...
bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29 15:14:38 +01:00
Denis Ledoux
a3b7279ff6
[FIX] account: set purchase analytic journal when creating purchase accounting journal
...
bzr revid: dle@openerp.com-20140129140625-ywxraf0ix040a0b5
2014-01-29 15:06:25 +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
Denis Ledoux
14cd12e3ba
[FIX] im: no need to see im.user to send him a message
...
bzr revid: dle@openerp.com-20140128203621-gjjxaf9tw33li52h
2014-01-28 21:36:21 +01:00
Denis Ledoux
f9af9fae12
[FIX] im: wrong access rule (user_ids in an array of ids, not an array of tuple (id, name)) + useless arg passed to ensure_users
...
bzr revid: dle@openerp.com-20140128195718-47861aq02r3mqdf8
2014-01-28 20:57:18 +01:00
Denis Ledoux
b090a05a36
[FIX] im: history in order
...
bzr revid: dle@openerp.com-20140128190235-rauds4lp3h8jqhqr
2014-01-28 20:02:35 +01:00
Denis Ledoux
6ab1f8a4a4
[FIX] account: account reconciliation adding float rounding, to avoid having float precision problem
...
bzr revid: dle@openerp.com-20140128175042-a2e4ga47lqow86vj
2014-01-28 18:50:42 +01:00
Denis Ledoux
f13dd8cee7
[FIX][ADD] im, im_livechat: fix security rules and add history when opening a conversation
...
bzr revid: dle@openerp.com-20140128162649-aptjndl85ocmem8a
2014-01-28 17:26:49 +01:00
Denis Ledoux
cbba7eb4da
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9796 revid:launchpad_translations_on_behalf_of_openerp-20140128070310-721zmkmw0ocyz6im
...
bzr revid: dle@openerp.com-20140128100949-mfa2geyx6rklwtcg
2014-01-28 11:09:49 +01: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
Denis Ledoux
a629cd41a2
[FIX] mail: cannot duplicate users when mail is installed (allmost all the time, thus)
...
bzr revid: dle@openerp.com-20140127110411-ff0vrva5j2vdt1sc
2014-01-27 12:04:11 +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
Denis Ledoux
e10270d153
[FIX] mail: traceback when mass mailing with several partners and removing default template (or any template without reply_to)
...
bzr revid: dle@openerp.com-20140125102840-7z2w2na7pmy2kda0
2014-01-25 11:28:40 +01: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
1fb1a6f2af
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9789 revid:dle@openerp.com-20140124120102-we2yxio553ws2yz4
...
bzr revid: dle@openerp.com-20140120174449-tui0a24zgn9bien2
bzr revid: dle@openerp.com-20140121125538-ke7i6kaz486hwgl8
bzr revid: dle@openerp.com-20140122134115-0ogjemlqe327xoac
bzr revid: dle@openerp.com-20140123103655-mf2zslfbgue97ed2
bzr revid: dle@openerp.com-20140124121027-uk9zy4dx9tqlsblr
2014-01-24 13:10:27 +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
9f3ab4599c
[FIX] FieldStatus: restore trigger get_selection on value change. Was removed rev 3738.
...
Without this a change of record in a form view would not recompute the list of states as well as a change of state due to a button
bzr revid: mat@openerp.com-20140121151255-jke0zbobb0ilpqid
2014-01-21 16:12:55 +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