Commit Graph
43559 Commits
Author SHA1 Message Date
Rucha Patel cbef5ce396 [FIX] email_template: don't re-encode attachments copied from template'
bzr revid: odo@openerp.com-20120322141104-rw5i4dedy01wjmjf
2012-03-22 15:11:04 +01:00
Olivier Dony 08f6c75477 [MERGE] Properly pass context when incrementing sequences, courtesy of Stefan Rijnhart (Therp)
lp bug: https://launchpad.net/bugs/947355 fixed

bzr revid: odo@openerp.com-20120322122419-xt6rlz330bkdo8ox
2012-03-22 13:24:19 +01:00
Stefan Rijnhart e792a85858 [FIX] Reference to undefined context variable
[ADD] Check on 'None' context in account module's sequence override

bzr revid: stefan@therp.nl-20120322113959-79wxzej9ih4igg28
2012-03-22 12:39:59 +01:00
Olivier Dony 2eb1c00ad2 [FIX] mail: default permissions should allow write for everyone
Mail messages are created in multiple steps that
usually involve calling write() at some point, so
giving all users write access is necessary.

bzr revid: odo@openerp.com-20120322110733-unizfb58f0y8xkfz
2012-03-22 12:07:33 +01:00
Launchpad Translations on behalf of openerp dc6161c889 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120322062352-syfsimh3ol3vje45
2012-03-22 06:23:52 +00:00
Raphael Collet e7e9ba1f84 [MERGE] Fix res.partner.address: make name_search consistent with name_get
bzr revid: odo@openerp.com-20120321135558-3cudz4mgaby8ws8k
2012-03-21 14:55:58 +01:00
Raphael Collet 2e5554e6bc [IMP] res.partner.address: in name_search, search on partner_id before other fields
bzr revid: rco@openerp.com-20120321132139-5bx0mn6hod749itq
2012-03-21 14:21:39 +01:00
Raphael Collet f53b5f3df2 [IMP] res.partner.address: in name_search, add handle case where name is empty
bzr revid: rco@openerp.com-20120321105658-cnjy77e0dz40425c
2012-03-21 11:56:58 +01:00
Raphael Collet cb53795b4c [IMP] res.partner.address: improve name_search() to avoid performance issues
bzr revid: rco@openerp.com-20120321103912-9kg1sftuzrxrqgxq
2012-03-21 11:39:12 +01:00
Xavier ALT 1523ba113e [MERGE] OPW 573035: fetchmail: UnboundLocalError: local variable imap_server referenced before assignment
bzr revid: xal@openerp.com-20120321092908-065zr4qqe9v9lo8d
2012-03-21 10:29:08 +01:00
ado cd2cda1a37 [FIX] Fetchmail: UnboundLocalError: local variable imap_server referenced before assignment
bzr revid: ado@tinyerp.com-20120321085752-pwsqfifik0cep9vr
2012-03-21 14:27:52 +05:30
Launchpad Translations on behalf of openerp 348e73c295 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120321060222-uvutz61sik97chqz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120321060247-9xdx7sb03a8rioq3
2012-03-21 06:02:47 +00:00
Olivier Dony bd1fc48cd5 [MERGE] Update l10n_it account types, courtesy of Lorenzo Battistini (Agile BG - Domsense)
bzr revid: odo@openerp.com-20120320181953-npeslxd6rxtuj648
2012-03-20 19:19:53 +01:00
Olivier Dony d644147de5 [MERGE] procurement: Fix typo (bug 956234), courtesy of Guewen Baconnier @ Camptocamp
bzr revid: odo@openerp.com-20120320181221-eu6o8796j64oa6j8
2012-03-20 19:12:21 +01:00
Olivier Dony f0514e157d [FIX] edi: care for missing invoice fields in EDI preview (instead of displaying false)
bzr revid: odo@openerp.com-20120320153959-ektxn8vh2ojr1xp7
2012-03-20 16:39:59 +01:00
Olivier Dony a3e31cf81a [FIX] edi: avoid disprupting EDI preview layout with wide notes
bzr revid: odo@openerp.com-20120320153257-x054ifk2wxdn8hgv
2012-03-20 16:32:57 +01:00
Olivier Dony 697e034d54 [FIX] ir.values: predictible ordering for sidebar items (based on IDs i.e. creation order)
bzr revid: odo@openerp.com-20120320113851-lsg8ju1w0cvdo0tj
2012-03-20 12:38:51 +01:00
Christophe Simonis 08b4442e08 [FIX] align image widget (same behavior as 6.0)
bzr revid: chs@openerp.com-20120320105601-gpp0315e8637zpsw
2012-03-20 11:56:01 +01:00
Olivier Dony be663aa831 [FIX] edi: company logo appears truncated on EDI preview in Firefox
bzr revid: odo@openerp.com-20120320104239-8efx2yz72cjxz6z2
2012-03-20 11:42:39 +01:00
Raphael Collet b2b85029ee [FIX] backport of branch trunk-bug-937194-nco (mail: remove character 
 from message)
bzr revid: rco@openerp.com-20120320082059-w3zm7pyicbb79inh
2012-03-20 09:20:59 +01:00
Launchpad Translations on behalf of openerp c5f809c34a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120320055601-bwqdbhlwia54tei2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120320055645-t3o0d8nias5rtztz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051852-429l1mehe05oexze
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316053023-0twqqm3ibl1vthnd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120317053247-pqw1jfjqieabw8w5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120319050839-1yhld5a7clnzjs01
bzr revid: launchpad_translations_on_behalf_of_openerp-20120320055658-lv5pkf0apvcgxejb
2012-03-20 05:56:58 +00:00
Olivier Dony c67f68f50c [FIX] Adding module icon after installing now works, courtesy of Carlos Vásquez (CLEARCORP)
lp bug: https://launchpad.net/bugs/927675 fixed

bzr revid: odo@openerp.com-20120319183445-uuti8xkh8slksxsu
2012-03-19 19:34:45 +01:00
Olivier Dony a87ee6e423 [FIX] res.users: properly generate XML of dynamic group list, courtesy of Valentin Lab
Using a proper XML library to create
the necessary XML architecture for the
dynamic view helps avoid classical 
mistakes with escaping of XML special
characters.

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

bzr revid: odo@openerp.com-20120319170454-cjzbtk2aqodaz2xm
2012-03-19 18:04:54 +01:00
Olivier Dony ce2f1173a9 [FIX] mail.message: allow reading msg even if author belongs to another company
lp bug: https://launchpad.net/bugs/944813 fixed

bzr revid: odo@openerp.com-20120319145331-thrtlzardl8rikkf
2012-03-19 15:53:31 +01:00
Olivier Dony 3f5fb80a76 [FIX] res.users: proper multicompany record rule for users, courtesy of Valentin Lab
Contrary to regular records, the company_id field
on res_users does not represent a permanent
relationship, this field is rather used by the
user to select the 'company context' in which
she would like to work.
We don't want the list of assignable users on
a task to change depending on which company
these users are currently viewing data, for
example.
The real field that holds the list of companies
a user belongs to is the 'company_ids' field.

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

bzr revid: odo@openerp.com-20120319145216-j1t0d4zjxn9vn058
2012-03-19 15:52:16 +01:00
Raphael Collet baa522eba1 [FIX] res_partner_address: make name_search consistent with respect to name_get
bzr revid: rco@openerp.com-20120319130422-wc6icri4v0o3z8wg
2012-03-19 14:04:22 +01:00
Quentin (OpenERP) 99a12a9216 [FIX] account: build_ctx_period must always return a list of ids
bzr revid: qdp-launchpad@openerp.com-20120319095227-1d7k2zq4ats038em
2012-03-19 10:52:27 +01:00
Launchpad Translations on behalf of openerp 14399475b5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120317053244-0uj5epbyw7sb511o
bzr revid: launchpad_translations_on_behalf_of_openerp-20120318050753-4sqrakfazltjt0l9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120319050833-o186lk5tmza7qtqv
2012-03-19 05:08:33 +00:00
Launchpad Translations on behalf of openerp 307726c6ba Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120317053202-5bxlhemh854fhpus
bzr revid: launchpad_translations_on_behalf_of_openerp-20120318050731-qyse7r2iw9ctmx1j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120319050803-zzuvnk6ylhqlozk4
2012-03-19 05:08:03 +00:00
Olivier Dony f12797a11f [MERGE] Currency symbol for INR, courtesy of Serpent Consulting Services
bzr revid: odo@openerp.com-20120316161259-n1bdkjh8qzzdc5z3
2012-03-16 17:12:59 +01:00
Olivier Dony fb12f0d522 [FIX] Avoid endless loops when processing graphs for diagram view
lp bug: https://launchpad.net/bugs/932830 fixed

bzr revid: odo@openerp.com-20120316160731-k6gmfsti3g38t1qr
2012-03-16 17:07:31 +01:00
Olivier Dony 224dc24dac [MERGE] Try to terminate psql connections before dropping database
bzr revid: odo@openerp.com-20120316160216-enjjiyw8t6457tqj
2012-03-16 17:02:16 +01:00
Olivier Dony 61ee0dc8ee [MERGE] base.action.rule: better handle non-ASCII data
Also fixes the `regex_history` expression
that should search on the `subject` field
now (it was renamed in 6.1).

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

bzr revid: odo@openerp.com-20120316144251-ks16hvvfgh2hiduk
2012-03-16 15:42:51 +01:00
8bc627669f [FIX] removed uncessary import
bzr revid: guewen.baconnier@camptocamp.com-20120316134052-yc2r2ux44t1urvhg
2012-03-16 14:40:52 +01:00
Olivier Dony c5f01ad903 [FIX] mail.message: when auto-deleting a message, only delete attachments it owns
There's a peculiar way to manage attachments on
mail messages, as there is an explicit many2many
on top of regular attachments like for any
record, so it is possible to link a mail
to attachments that are owned by other records.
Such attachments must not be deleted along with
the message when the auto-delete flag is set.

bzr revid: odo@openerp.com-20120316133026-4wbrwx64nqkeyaou
2012-03-16 14:30:26 +01:00
Olivier Dony 6242bb6a22 [FIX] ir.mail_server: now that server time is UTC, outgoing msg Date header should too
bzr revid: odo@openerp.com-20120316132022-j17inidkutkxclvd
2012-03-16 14:20:22 +01:00
Olivier Dony 972a0a4557 [FIX] ir_mail_server: make attachment filename work properly on GMail
The default Python encoding for mail header parameters
is RFC2231, which produces headers of the form:
  Content-Disposition: attachment; filename*="utf-8abcd%C3%A9.pdf"
This works fine for e.g. Thunderbird but on GMail
such headers appear as `noname`.
We are therefore falling back to RFC2047 encoding
which will instead give something like:
  Content-Disposition: attachment; filename="=?utf-8?b?UmVxdWVzdCf?="

bzr revid: odo@openerp.com-20120316130803-zo4fwuk7h6bq6k54
2012-03-16 14:08:03 +01:00
Quentin (OpenERP) b37d72428b [MERGE] opw-381937. Stock: don't set an arbitrary value of 1 when valuating a stock move of a product with 0 as unit amount
bzr revid: qdp-launchpad@openerp.com-20120316111027-frfidvpqjxr0v8rf
2012-03-16 12:10:27 +01:00
Christophe Simonis b7bad83c21 [FIX] email_template: report_name must be rendered
bzr revid: chs@openerp.com-20120316091517-e2hc8ydzd3vnnv3j
2012-03-16 10:15:17 +01:00
678f12b39d [FIX] procurement: schedulers, removed the unsupported keyword arg order= in read method
bzr revid: guewen.baconnier@camptocamp.com-20120316085626-x9t8ufpsm4pqonqz
2012-03-16 09:56:26 +01:00
Launchpad Translations on behalf of openerp f6baede827 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316052914-p5yapsv9ni1xvv4q
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316053017-3pne9tockyriwj6n
2012-03-16 05:30:17 +00:00
Olivier Dony 4238bc991e [FIX] openerp-server: allow missing thread names in dump_stacks
Report-printing threads don't seem to be included
in the list of active threads, but do need to
be dumped as well.

bzr revid: odo@openerp.com-20120315181355-phtkn2uhy638ei1e
2012-03-15 19:13:55 +01:00
Olivier Dony 975667d190 [FIX] sale,sale_layout: avoid RML loop when printing SO with very long notes
Forward port of revision 5001 from the
6.0 branch. Apparently very long SO
notes (above 2200 characters) will cause
an endless loop while trying to render
inside a blockTable

bzr revid: odo@openerp.com-20120315181112-qa4ezlckzfycv5uy
2012-03-15 19:11:12 +01:00
Olivier Dony 3e0279ac4a [FIX] email_template: attachments were not being sent due to programming error
bzr revid: odo@openerp.com-20120315155512-s76y2u3gz3awfy74
2012-03-15 16:55:12 +01:00
Launchpad Translations on behalf of openerp 0284caa8f0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051848-7bpke64obtjd3h06
2012-03-15 05:18:48 +00:00
Launchpad Translations on behalf of openerp 277217cae3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053419-651m21hw6ja8naqc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054403-pdvtd2s58mehtlrd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051817-qfmyll102427mgi9
2012-03-15 05:18:17 +00:00
Olivier Dony 601da46064 [FIX] manifest flag 'active' was renamed to 'auto_install' a while ago
The change occurred in server at revision 3989
and in addons at revision 6451, but had never
been done in openerp-web.
One indirect consequence was that the 'base'
modules was not considered auto-installable
anymore and its CSS files were not loaded on
web, causing layout issues, namely in the
modules kanban view.

Server rev 3989 = al@openerp.com-20120130211001-ytqx759fl920uegc
Addons rev 6451 = al@openerp.com-20120130211812-w0wu42hdu4l7koc4

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

bzr revid: odo@openerp.com-20120314181853-kzr6lgqxxcz7rreu
2012-03-14 19:18:53 +01:00
Stefan Rijnhart 94896a9c0b [FIX] Pass context to ir.sequence.next_by*
lp bug: https://launchpad.net/bugs/974355 fixed

bzr revid: stefan@therp.nl-20120314125324-g1kbltrcygxlmcgt
2012-03-14 13:53:24 +01:00
Olivier Dony 6a38a66d50 [FIX] BufferedDataSet: avoid randomizing results when there are no sort_fields
Array.sort is not necessarily stable, and sorting an
array with an unstable sort will cause a randomization
of the original order, which should have been preserved.

See also:
  - http://ecma262-5.com/ELS5_Section_15.htm#Section_15.4.4.11
  - http://code.google.com/p/v8/issues/detail?id=90

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

bzr revid: odo@openerp.com-20120314111014-1igxhrynu5557di5
2012-03-14 12:10:14 +01:00
Launchpad Translations on behalf of openerp 57b2b97308 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052736-h7pcyns8m0yapx2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050705-4g6qxsmwzmefmekl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053506-zeuvhbd8ml1rhmy8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054433-q7eqdv6c3ise2wv1
2012-03-14 05:44:33 +00:00