Antony Lesuisse
2a6d0299d9
revert to use a separate executable for gevent, add --dev option
...
bzr revid: al@openerp.com-20130909200825-sm5c3invmg7tt70j
2013-09-09 22:08:25 +02:00
Antony Lesuisse
dfb9d317f2
[MERGE] data file loading refactoring, ready for code autoreload
...
bzr revid: al@openerp.com-20130909105523-jkffhy5gr34k25hr
2013-09-09 12:55:23 +02:00
Xavier Morel
945376a066
[FIX] no Logger.getChild in Python 2.6
...
bzr revid: xmo@openerp.com-20130906135331-zt3uzoeupvlba513
2013-09-06 15:53:31 +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
Christophe Simonis
8179683143
[IMP] html_sanitize:
...
- add option to reraise catched exceptions
- only keep safe attributes (style is considered safe) (depending of lxml version)
- remove forms tags
bzr revid: chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
2013-08-21 11:47:58 +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
e3175e482f
[TESTS] tools: mail: added some tests + some cleaning in tests
...
bzr revid: tde@openerp.com-20130808132258-01sv0w1hrgtdyogq
2013-08-08 15:22:58 +02:00
Thibault Delavallée
577f56497b
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130808083426-46cvo5e1g3x8nvgs
2013-08-08 10:34:26 +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
Thibault Delavallée
4f7afae100
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130717074450-puhtirdoqswf55pl
2013-07-17 09:44:50 +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
a61e7cb0c8
[MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
...
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +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
dea9c95ab7
[MERGE] tools.convert: allow to use relativedelta in XML files.
...
bzr revid: vmt@openerp.com-20130603111716-lrgu1hxxz96escqa
2013-06-03 13:17:16 +02:00
Thibault Delavallée
d2acb63af6
[FORWARD] Forward-port of saas-1 branch until revision 4875
...
bzr revid: tde@openerp.com-20130522082935-rzzbc3p625rkmcdy
2013-05-22 10:29:35 +02:00
Olivier Dony
dc37c9ffcf
[FIX] tools.safe_eval: inconsistent indentation
...
bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3
2013-05-07 10:49:19 +02:00
Christophe Simonis
a6f724c919
[IMP] parse_version: ignore saas~ componants
...
bzr revid: chs@openerp.com-20130430142037-zuxzk8vy9td89pv1
2013-04-30 16:20:37 +02:00
Christophe Simonis
46b06bedf7
[IMP] convert: allow to have <act_window> tags with attribute multi="False" set
...
bzr revid: chs@openerp.com-20130426164022-nf9eldyge783b5r1
2013-04-26 18:40:22 +02:00
Thibault Delavallée
ccbb8e09a6
[REF] html_email_clean: refactored the algorithm to clean it, specifically about truncature. Now add classes to node when not removing them, to be managed by the web client.
...
bzr revid: tde@openerp.com-20130425104301-e7mv9o4pcjx6k2cn
2013-04-25 12:43:01 +02:00
Thibault Delavallée
78ac31e260
[IMP] html_email_clean: now handles maximum character number truncature.
...
bzr revid: tde@openerp.com-20130423153727-tv0neudvlalaepu2
2013-04-23 17:37:27 +02:00
Thibault Delavallée
f97bd8bd63
[REF] html_email_clean: refactoring of the algorithm, now better taking into account hotmail / msoffice emails. Added tests.
...
bzr revid: tde@openerp.com-20130423144903-he22jz9zs6nc6dsd
2013-04-23 16:49:03 +02:00
Christophe Matthieu
33ae814ff6
[IMP] tools convert: allow to use relative delta in xml file
...
bzr revid: chm@openerp.com-20130418151827-coda7ldtjd7hw7to
2013-04-18 17:18:27 +02:00
Raphael Collet
05851d21ba
[MERGE] from trunk
...
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +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
Christophe Matthieu
600f03b294
[FIX] html2plaintext: bug 1159782
...
bzr revid: chm@openerp.com-20130329154130-56wjtfrj41eatxl6
2013-03-29 16:41:30 +01:00
Raphael Collet
09be864f1d
[IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
...
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Vo Minh Thu
c3aae0abdb
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20130328095006-o01omst9g0uhm0iz
2013-03-28 10:50:06 +01:00
Vo Minh Thu
34e8deeb4e
[REM] common: removed login_message() which is not used.
...
bzr revid: vmt@openerp.com-20130328093018-c4s19buicwwol8y2
2013-03-28 10:30:18 +01:00
Vo Minh Thu
4ed7ec95b7
[MERGE] removed LocalService("workflow"), Logger class, and TEST log level.
...
bzr revid: vmt@openerp.com-20130327170639-uamgg7shlmtxgpxv
2013-03-27 18:06:39 +01:00
Vo Minh Thu
d6ea526e36
[MERGE] openerp.pooler is deprecated.
...
bzr revid: vmt@openerp.com-20130327164045-ziw4lj50owdvmfbw
2013-03-27 17:40:45 +01: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
23d672dfc3
[MERGE] reports: make it possible to use only XML declaration, even with custom parsers.
...
This makes report registration more uniform, and report rendering be possible
through the ORM (and thus the model service, instead of the report service).
To register a report, always use the database, i.e. a <report> tag within an
XML file. The custom parser, if any, will be specified in the database.
Previously specify a custom parser, the report was declared in Python.
Each model exposes a print_report() method, which will take the report name (as
many report can be defined on a single model) in argument.
bzr revid: vmt@openerp.com-20130327161129-6e7jz7l3lx7z1t18
2013-03-27 17:11:29 +01:00
Vo Minh Thu
4613a97c01
[REF] trolls.convert: missed an opportunity to reuse a beautiful association list.
...
bzr revid: vmt@openerp.com-20130327155917-xaepclhoazgw51ef
2013-03-27 16:59:17 +01:00
Xavier Morel
461973b4c9
[IMP] usage of python in convert_csv
...
* the reduce is equivalent to any
* apply De Morgan law
* misc.ustr is a function, can just pass it directly to map
bzr revid: xmo@openerp.com-20130327155424-dfbo915tl8qhsvqu
2013-03-27 16:54:24 +01:00
Vo Minh Thu
ce58e16138
[REF] yaml_import: removed nested import openerp.
...
bzr revid: vmt@openerp.com-20130327154425-uu1fa01tdhrjt8kn
2013-03-27 16:44:25 +01:00
Vo Minh Thu
7b8f4fe5ee
[REF] tests: use the openerp.tests namespace for test-related logging.
...
bzr revid: vmt@openerp.com-20130327153843-u62ftp74qv01u1ww
2013-03-27 16:38:43 +01:00
Vo Minh Thu
1e7e2ca753
[REF] no longer use openerp.pooler.
...
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().
Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.
bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Vo Minh Thu
a4fbd26541
[REF]: use openerp.workflow instead of LocalService("workflow").
...
bzr revid: vmt@openerp.com-20130326162040-kkq46wrur3pgn6eh
2013-03-26 17:20:40 +01:00
Vo Minh Thu
c313b4073a
[REF] logging: removed pseudo log-level TEST.
...
When --test-enable is used, it is expected that test output is visible,
thus using log-level INFO is natural.
On the down side you lose the nice blue hint that tests did actually
run when --log-level test was given.
bzr revid: vmt@openerp.com-20130326155844-83e2tcqokvblr0ln
2013-03-26 16:58:44 +01:00
Vo Minh Thu
385491f46e
[IMP] yaml_import: add openerp in the evaluation context.
...
bzr revid: vmt@openerp.com-20130325144833-aos5t6x5bc8vi0ss
2013-03-25 15:48:33 +01:00
Vo Minh Thu
1683fc7abd
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20130322135152-1hdlptwj1qqqfz4z
2013-03-22 14:51:52 +01:00
Vo Minh Thu
a51b6912bd
[FIX] safe_eval: better exception handling:
...
- the re-raising of exceptions ignored the "legal" exceptions
(the one used to early abort RPC calls and generate pop-ups)
- re-raising the exception was attempting to re-use the original
exception type but it does not always take only one argument
so it was breaking.
lp bug: https://launchpad.net/bugs/1146256 fixed
bzr revid: vmt@openerp.com-20130320132238-qzo3jptww59ndlch
2013-03-20 14:22:38 +01:00
Antony Lesuisse
acb17855f9
[IMP] logrotation is now disabled by default
...
bzr revid: al@openerp.com-20130228011811-1700jfnavo37dyqr
2013-02-28 02:18:11 +01:00
Vo Minh Thu
dee8cc8e50
[MERGE] Better exception handling in tools.convert:
...
- The exception is not logged in tools.convert. It is loggeg by the netsv layer anyway.
- The exception is re-raised instead, but with the full traceback available.
- A fix in openerp.service.db where the cr is closed twice.
bzr revid: vmt@openerp.com-20130226100243-mpns1k9odz69gpax
2013-02-26 11:02:43 +01:00
Vo Minh Thu
eb7bc74c51
[MERGE] safe_eval: do not log reported exception, instead re-raise them with a complete stacktrace and the evaluated expression.
...
bzr revid: vmt@openerp.com-20130226100130-hxwgfvwlvvcox5mr
2013-02-26 11:01:30 +01:00
Vo Minh Thu
d43dba744c
safe_eval: re-raise the same exception type when completing it.
...
bzr revid: vmt@openerp.com-20130226094446-7c2dw5c5eou0lg8r
2013-02-26 10:44:46 +01:00
Vo Minh Thu
b71457e258
[FIX] tools.convert: use tools.ustr() instead of str() on exceptions.
...
bzr revid: vmt@openerp.com-20130225164028-d48k5yheuoph1vm3
2013-02-25 17:40:28 +01:00
Vo Minh Thu
c62780673c
[FIX] tools.safe_eval: we want to see the expr which fail to eval(), so report it in the exception.
...
bzr revid: vmt@openerp.com-20130225163525-3g9qw1g3hkyyxf1j
2013-02-25 17:35:25 +01:00
Vo Minh Thu
ef127fddc7
[IMP] netsvc: removed unused import.
...
bzr revid: vmt@openerp.com-20130222145250-qd9v52tu2xt8jyb2
2013-02-22 15:52:50 +01:00