Commit Graph

107 Commits

Author SHA1 Message Date
Christophe Matthieu 8460122209 [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150856-fzrfcoa8pmsjutau
2013-12-02 16:08:56 +01:00
Xavier Morel 228938ccba [ADD] formats support to date and datetime converters
bzr revid: xmo@openerp.com-20131202073313-tu79esduu5bvyaai
2013-12-02 08:33:13 +01:00
Christophe Simonis d26e253edd [IMP] dumpstack dumps greenlets when running in evented mode.
(forward port lost during previous commit)

bzr revid: chs@openerp.com-20131125155956-x92vq9w4r9ov4vcc
2013-11-25 16:59:56 +01:00
Christophe Simonis 3211a29d9b [MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
bzr revid: chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
2013-11-25 16:10:17 +01:00
Olivier Dony 4e4b5af3d9 [ADD] i18n: enable Lao language (Laos) as an installation option
bzr revid: odo@openerp.com-20131125084215-nddml5h65i2xkuf9
2013-11-25 09:42:15 +01:00
Xavier Morel 724bbffc88 [FIX] Partially revert xmo@openerp.com-20130812074509-yopeb4pxtsads4d9
Change attempted to simplify branding distribution, but based node
branding on final view. To be able to rewrite, node branding must be
based on source views positions before applying inheritance.

Reintroduce manual generation of xpath in distribute_branding as
ElementTree.getpath() can't handle it.

Note: why isn't branding distribution performed during initial views
reading (e.g. inherit_branding)? Surely that would obviate the need
for special casing and manually creating paths no?

bzr revid: xmo@openerp.com-20130919130847-3t8zfpv9m9pcibg0
2013-09-19 15:08:47 +02:00
Christophe Simonis 208b697239 [MERGE] forward port of branch saas-1 up to revid 4899 chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
bzr revid: odo@openerp.com-20130820160346-qcdy4kavgm5cb9t6
bzr revid: chs@openerp.com-20130821103139-zqqbrt8dq6iixrny
2013-08-21 12:31:39 +02:00
Olivier Dony fbd0758cb5 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5054 rev-id: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
bzr revid: chs@openerp.com-20130724085026-525l9apggc9yzx0h
bzr revid: odo@openerp.com-20130730140644-1xih0as5jsks4pub
bzr revid: dle@openerp.com-20130801130723-khgwjkglgsdn34fj
bzr revid: odo@openerp.com-20130820091638-jpbcmh653bpa29em
2013-08-20 11:16:38 +02:00
Thibault Delavallée f737eb63d0 [IMP] ir_actions_server: added doc + comments + recursion check
orm: added _check_m2my_recursion, to check loops in many2many recursive fields
tools: removed sms_send

bzr revid: tde@openerp.com-20130725104914-dutxfon3odp8z167
2013-07-25 12:49:14 +02:00
Vo Minh Thu 43ff43383e [MERGE] lang: added Amharic (Ethiopia) language.
The corresponding web branch was merged in january.

bzr revid: vmt@openerp.com-20130702141733-mpk2163pclupwwqs
2013-07-02 16:17:33 +02:00
Christophe Simonis 6f170ec732 [MERGE] forward port of branch 7.0 up to revid 5006 chs@openerp.com-20130612151912-m19okjsdkjo12qnt
bzr revid: chs@openerp.com-20130612152826-j9sj42ten9mic8s0
2013-06-12 17:28:26 +02:00
Christophe Simonis e383386a79 [FIX] correct stripping of arguments when _reexec() OpenERP
bzr revid: chs@openerp.com-20130612151912-m19okjsdkjo12qnt
2013-06-12 17:19:12 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Xavier Morel 39ddcfd94d [REM] broken functions (missing import, removed packages)
Also remove extract_zip_file, only used by broken functions

bzr revid: xmo@openerp.com-20130327162307-zcbbpjojo8lrwnj0
2013-03-27 17:23:07 +01:00
Vo Minh Thu c99c4091ce [REM] Deleted .apidoc lines.
They were probably used by some tools. How sad.

bzr revid: vmt@openerp.com-20130212142410-zqdjd8jw3gtvxab0
2013-02-12 15:24:10 +01:00
Michael Telahun Makonnen 9faf27da5e Enable loading of Amharic (Ethiopia) language.
bzr revid: mmakonnen@gmail.com-20121227075200-junjlo2sj4vxk87h
2012-12-27 10:52:00 +03:00
Christophe Simonis ab2dd715de [FIX] module loading: allow addons path entries to have substring of others.
i.e. having ./addons/ and ./addons2/ is now possible

bzr revid: chm@openerp.com-20130307131104-ju2n7zm7yvced68h
2013-03-07 14:11:04 +01:00
Cecile Tonglet 8d1b7ce632 [FIX] Removed too much in openerp.tools.misc: html2text
bzr revid: cto@openerp.com-20121217150241-smbswmdmumva29ft
2012-12-17 16:02:41 +01:00
Cecile Tonglet ad8b76de53 [MERGE] From trunk (second time)
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Cecile Tonglet 5f0070dcb6 [FIX] Remove unused imports and fix some imports that doesn't use the new namespace
bzr revid: cto@openerp.com-20121217143029-e9ki4ftwihq7pdme
2012-12-17 15:30:29 +01:00
Xavier Morel d02fc09bb9 [IMP] more augmented assignments
bzr revid: xmo@openerp.com-20121214134455-c1o7ehlot6vdwioe
2012-12-14 14:44:55 +01:00
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Xavier Morel d65709f68b [IMP] simplify @profile implementation
bzr revid: xmo@openerp.com-20121205160847-8zc8of4grueusbl2
2012-12-05 17:08:47 +01:00
Thibault Delavallée c596792bc2 [FIX] tools: re-added html2text import, because of its use in ir_mail_server. Not sure it belongs here.
bzr revid: tde@openerp.com-20121106123407-2s4ya7ln7detui6y
2012-11-06 13:34:07 +01:00
Thibault Delavallée 5f53f5253b [FIX] tools: some import cleaning and fixing.
bzr revid: tde@openerp.com-20121106115851-5f5sfhtp2g3qrm1o
2012-11-06 12:58:51 +01:00
Thibault Delavallée da6ad1e27c [REF] tools: moved email and mail related functions from misc to mail.
bzr revid: tde@openerp.com-20121106115744-pcxgyqv3lf8zfedw
2012-11-06 12:57:44 +01:00
Olivier Dony 9582a8bc82 [FIX] res.lang: ar_AR does not exist (Arabic in Argentina?!) -> replaced with ar_SY
ar_SY is the default locale alias for the `ar`
code in babel, so we can use that until a
translation team asks for a regional
variation of Arabic.

This should also fix an issue in the web
client, where ar_AR was not working, because
silently replaced with ar_SY.

This will only work for new databases,
old ones should be manually fixed.

bzr revid: odo@openerp.com-20121024161527-vec2r46a4o5lk47x
2012-10-24 18:15:27 +02:00
Olivier Dony b5b19a7a01 [FIX] generate_tracking_message_id: use more randomness to avoid duplicates
When several message IDs had to be generated for the same
record at the same time, there was a high chance to
get non-unique results. This possibly lead to data loss because
some mail implementations might ignore multiple mails with the
same ID (including OpenERP itself). On most operating systems
the available time resolution precision is better than what
we used (due to the float rounding of `%s`).
Adding a bit of randomness doesn't hurt, as OpenERP will
be used in increasingly distributed environments, so
we now add an extra random part as well.

bzr revid: odo@openerp.com-20121022162421-qr7nq8idihp5781u
2012-10-22 18:24:21 +02:00
Olivier Dony e06e3aad4a [IMP] tools.html2plaintext: consistent use of lxml.etree.HTMLParser to convert HTML to plaintext
We used to switch to using BeautifulSoup when available, but that
lead to inconsistent behavior depending on the installed Python
packages, and sometimes lead to bad surprises. There is no advantage
in using BeautifulSoup rather than HTMLParser, and the latter is
always available.

bzr revid: odo@openerp.com-20121015120934-njaylf99dc5zekfw
2012-10-15 14:09:34 +02:00
Xavier Morel 1e4a677f05 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121010154436-wz29sdkbs9vvhjba
2012-10-10 17:44:36 +02:00
Xavier Morel 9805c665c8 [ADD] big bit on new import: pretty much everything but o2m
bzr revid: xmo@openerp.com-20120919114047-w4paoim95oxr91zb
2012-09-19 13:40:47 +02:00
Stephane Wirtel 3d2355df04 [MERGE] improve the tools.misc.scan_languages function
bzr revid: stw@openerp.com-20120912104713-jhvkxp9egpchs2ti
2012-09-12 12:47:13 +02:00
Stephane Wirtel ff438c8eb7 [FIX] openerp.tools.misc.file_open: Very little fix to display coherent error message when file not found occurs.
bzr revid: stw@openerp.com-20120912095946-chjiq2y4bltisfw9
2012-09-12 11:59:46 +02:00
Stephane Wirtel 5bd3b4f0a2 [MERGE] base: fix typo of some languages
bzr revid: stw@openerp.com-20120911152531-h5naowr08c3lqva0
2012-09-11 17:25:31 +02:00
Thibault Delavallée 1f84036086 [MERGE] Merged with server/trunk.
bzr revid: tde@openerp.com-20120904075105-ljg3lgn6tf958kvd
2012-09-04 09:51:05 +02:00
Olivier Dony 869564ce28 [MERGE] file_open: give precedence to directory before zip, courtesy of Florent Xicluna
lp bug: https://launchpad.net/bugs/928376 fixed
lp bug: https://launchpad.net/bugs/928507 fixed

bzr revid: odo@openerp.com-20120903130536-5sqwp9tnhk1ntee3
2012-09-03 15:05:36 +02:00
Olivier Dony 6803862711 [IMP] res.partner: simplified+corrected parsing of partner name and email in name_create, added tests, made this internal method private
bzr revid: odo@openerp.com-20120831225205-04l4udn95cz3n72o
2012-09-01 00:52:05 +02:00
Olivier Dony d37745559e [ADD] tools.misc: new function append_to_html, can be used to inject blocks (html or plaintext) to existing HTML snippets
bzr revid: odo@openerp.com-20120831132337-of2p1wlh5l4lpvez
2012-08-31 15:23:37 +02:00
Thibault Delavallée ec85db8e83 [REVIEW] tools: removed duplicate email_split in tools.
bzr revid: tde@openerp.com-20120828080939-5bt3klbep49gjw47
2012-08-28 10:09:39 +02:00
Thibault Delavallée bc5da1a02b [REVIEW] tools: moved email_split function in emails section, instead of 'somwhere in the file'.
bzr revid: tde@openerp.com-20120828073414-lt4bpubxtv3235b6
2012-08-28 09:34:14 +02:00
Turkesh Patel (Open ERP) 7b36f6a7bd [MRG] merge with lp:openobject-server.
bzr revid: tpa@tinyerp.com-20120823050804-nrpewpzqtcqgl6fq
2012-08-23 10:38:04 +05:30
Fabien Pinckaers 3c8c168f85 merge_trunk
bzr revid: fp@tinyerp.com-20120822133509-v4irlqdjjba0wxxn
2012-08-22 15:35:09 +02:00
Christophe Simonis 4eafc023b3 [IMP] tools.misc.mute_logger can now be used as decorator
bzr revid: chs@openerp.com-20120822122013-9uxjwr9oqohseton
2012-08-22 14:20:13 +02:00
Turkesh Patel (Open ERP) 568288c3e1 [MRG] merge with main branch.
bzr revid: tpa@tinyerp.com-20120822115641-3l3yla4kji6xaxm6
2012-08-22 17:26:41 +05:30
Christophe Simonis 89f1693653 [IMP] remove unwanted log in test
bzr revid: chs@openerp.com-20120822110604-il0sxlvf592wasur
2012-08-22 13:06:04 +02:00
Thibault Delavallée b772da168f [FIX] tools: emails_split -> email-split.
bzr revid: tde@openerp.com-20120821151413-9hxmsyp51q3ny32f
2012-08-21 17:14:13 +02:00
Fabien Pinckaers b9bdf2c29a [IMP] tools.email_split
bzr revid: fp@tinyerp.com-20120816164239-yl1vzp83w6z5xi5i
2012-08-16 18:42:39 +02:00
Olivier Dony f5e7d53bce [IMP] tools.reference_re: support matching model name as well
bzr revid: odo@openerp.com-20120807161202-jav73f2kj86pzil4
2012-08-07 18:12:02 +02:00
Turkesh Patel (Open ERP) c49f2418c2 [FIX] Typo in Portuguese official language names.
bzr revid: tpa@tinyerp.com-20120704051748-y41la206dwk67klv
2012-07-04 10:47:48 +05:30
Divyesh Makwana (Open ERP) 9fbdc7c526 [IMP] Improved the typos.
bzr revid: mdi@tinyerp.com-20120423102313-0mboqhctzoje5ize
2012-04-23 15:53:13 +05:30