Xavier Morel
4cb3685f70
[IMP] compare to None by identity
...
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Christophe Simonis
88eb634fd5
[IMP] tools.image: size can have width or height optional
...
bzr revid: chs@openerp.com-20121211100631-th6jjwnc7b1u957v
2012-12-11 11:06:31 +01:00
Christophe Simonis
236df95b22
merge upstream
...
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Antony Lesuisse
96f632224f
[IMP] workers document defaults
...
bzr revid: al@openerp.com-20121209225349-k0f9jpg7n0nxc70t
2012-12-09 23:53:49 +01:00
Antony Lesuisse
c41d63f300
netrpc flip default, backward compatible for a few days
...
bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
2012-12-09 19:56:51 +01:00
Antony Lesuisse
0cfa89dff7
netrpc flip default
...
bzr revid: al@openerp.com-20121209185442-1kgtc0hvds4fpng0
2012-12-09 19:54:42 +01:00
Antony Lesuisse
42f292af93
cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready.
...
Nota: If we replace sequence signaling for cache invalidation with pg
listen/notify in the future, we will use the same mechanism for more accurate
cron timing.
bzr revid: al@openerp.com-20121209170447-zs0k3jazokylwvar
2012-12-09 18:04:47 +01:00
Antony Lesuisse
d7d1fe562c
[IMP] dbname on localthread for logging
...
bzr revid: al@openerp.com-20121209034910-0iv3mek8860yts3i
2012-12-09 04:49:10 +01:00
Antony Lesuisse
a6700e0e3f
[MERGE] multiprocess signaling
...
trying trunk, feature branch fails with Address already in use
bzr revid: al@openerp.com-20121208210954-pi55sib4x7eyamem
2012-12-08 22:09:54 +01:00
Antony Lesuisse
3d2a09a973
multiprocessing signaling manually backported from 6.1
...
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Christophe Simonis
393fbe787a
merge upstream
...
bzr revid: chs@openerp.com-20121206101346-y29ofn540ihmbvtt
bzr revid: chs@openerp.com-20121207104259-xy72g0rs6sdqtroz
2012-12-07 11:42:59 +01:00
Tejas Tank
ec9cf39e86
Merged Latest.
...
bzr revid: tta@openerp.com-20121207101428-lhfadcamzazbb682
2012-12-07 15:14:28 +05:00
Christophe Simonis
69d057efc5
merge upstream
...
bzr revid: chs@openerp.com-20121201003326-j6n5r8juz16752j5
bzr revid: chs@openerp.com-20121204165557-u1oxocye3la4r6gf
bzr revid: chs@openerp.com-20121205143722-olswf8gsg8mhref3
2012-12-05 15:37:22 +01:00
Xavier Morel
d65709f68b
[IMP] simplify @profile implementation
...
bzr revid: xmo@openerp.com-20121205160847-8zc8of4grueusbl2
2012-12-05 17:08:47 +01:00
Olivier Dony
b624267457
[FIX] translate,orm: remember local Model [_sql]_constraints, and keep only those when exporting translations
...
Previously all _*constraints leaked upstream and
downstream, and were duplicated in all the exported
terms for all modules inheriting from a given model.
bzr revid: odo@openerp.com-20121204082947-tdpiu71ryxzuredb
2012-12-04 09:29:47 +01:00
Fabien Pinckaers
0a933f44e5
[IMP] small fix in YAML XML import
...
bzr revid: fp@openerp.com-20121201113524-8n94vnpxt3g21b1b
2012-12-01 12:35:24 +01:00
Olivier Dony
93a28103db
[MERGE] Forward-port of 6.1 bugfixes up to rev. 4307
...
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj
bzr revid: odo@openerp.com-20121130160523-nte65mkgp3y330n6
2012-11-30 17:05:23 +01:00
Christophe Simonis
415dc94a9d
[FIX] test_reports.py: use communicate() to avoid creating zombie processes
...
bzr revid: chs@openerp.com-20121130152937-xcgs9bxrw7vyewex
2012-11-30 16:29:37 +01:00
Christophe Simonis
25bd671e9e
[FIX] osutils: correct nt service check
...
bzr revid: chs@openerp.com-20121130103503-9l3elc3o1dgkovhe
2012-11-30 11:35:03 +01:00
Christophe Simonis
4d91b6a87c
[FIX] osutils: missing import
...
bzr revid: chs@openerp.com-20121129151746-r7t5xgddekvoq23w
2012-11-29 16:17:46 +01:00
Tejas Tank
cc7bfc23d4
[IMP] Image crop with transparent effect.
...
bzr revid: tta@openerp.com-20121129125148-6j0qryd0wx6uqdbm
2012-11-29 17:51:48 +05:00
Christophe Simonis
a55a26c777
[IMP] rewrite win32/setup.py to generate dynamic files
...
bzr revid: chs@openerp.com-20121128120950-bi6uv3bn73gotmwi
2012-11-28 13:09:50 +01:00
Christophe Simonis
9432574fec
[FIX] restart of server on windows when running as nt service
...
bzr revid: chs@openerp.com-20121126184733-i4blfoh0d57s5s4l
2012-11-26 19:47:33 +01:00
Olivier Dony
7f5ad72429
[MERGE] Forward-port 6.1 bugfixes up to rev. 4307
...
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj
bzr revid: odo@openerp.com-20121126160320-t2suuik6lhk6wl0x
bzr revid: odo@openerp.com-20121126161836-mv8yymzgbnmif4ve
bzr revid: odo@openerp.com-20121126162023-ejvsapwouyudw6c6
bzr revid: odo@openerp.com-20121126181527-d4yx15372bis77qj
2012-11-26 19:15:27 +01:00
Olivier Dony
0293ce4f64
[FIX] translate: skip XML comments when extracting terms from views
...
bzr revid: odo@openerp.com-20121124025622-mb7t7q7wgb7gu8y6
2012-11-24 03:56:22 +01:00
Olivier Dony
a23fcfb1e8
[IMP] translate: ignore 0-1 letter terms during terms export + catch and log babel extractor exceptions with filename
...
bzr revid: odo@openerp.com-20121123235130-euhbx6zqs5118472
2012-11-24 00:51:30 +01:00
Olivier Dony
28062933d0
[FIX] translation export: added missing translation function `_lt` for javascript source files
...
bzr revid: odo@openerp.com-20121123164604-xhs2247xu4oh774q
2012-11-23 17:46:04 +01:00
Christophe Matthieu
5bbce53e35
[FIX] tools mail : html_email_clean
...
bzr revid: chm@openerp.com-20121120154217-4ewxir45q1wtjoax
2012-11-20 16:42:17 +01:00
Christophe Matthieu
50f09660fb
[FIX] tools mail: html_email_clean return False (standard OpenERP) if the param is False
...
bzr revid: chm@openerp.com-20121120134001-ivw9dqxha2du70o6
2012-11-20 14:40:01 +01:00
Christophe Matthieu
e9a1f9f5a7
[FIX] tools mail: html_email_clean return an empty string if the are no value
...
bzr revid: chm@openerp.com-20121119105330-2kud8vp18gp15u9e
2012-11-19 11:53:30 +01:00
Thibault Delavallée
23743683ea
[IMP] tools: html_email_clean: a bit more robust.
...
bzr revid: tde@openerp.com-20121114141452-n5jy3yzbmlbd3811
2012-11-14 15:14:52 +01:00
Thibault Delavallée
7508a5c724
[CLEAN] html_email_clean: cleaned a bit the code.
...
bzr revid: tde@openerp.com-20121114103817-t19i2sv817jsur41
2012-11-14 11:38:17 +01:00
Thibault Delavallée
e2e94513f7
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121114083822-v5zjlspvkhacj4fo
2012-11-14 09:38:22 +01:00
Thibault Delavallée
3668f00ad1
[FIX] tools: image: trying to fix the error about converting palette image.
...
bzr revid: tde@openerp.com-20121113143835-1j8t9azqcrskijq7
2012-11-13 15:38:35 +01:00
Thibault Delavallée
d36f972f96
[REV] tools: image: reverted changes introduced at rev 4440. The purpose of image_resize is to resize an image, without cropping, without aspect ratio changes. If another image management function is needed, please implement a new one with matching comments and behavior.
...
bzr revid: tde@openerp.com-20121113141752-1rbsais66ooi89jp
2012-11-13 15:17:52 +01:00
Thibault Delavallée
62c419e66f
[IMP] tools: mail: improved append_content_to_html, including plaintext2html. Updated tests.
...
bzr revid: tde@openerp.com-20121109123521-e04g4zrhtv947l1r
2012-11-09 13:35:21 +01:00
Thibault Delavallée
e6a9084677
[IMP] tools: added text2html function, basically turning plaintext into html. Added a test for this function. Updated signature for demo data.
...
bzr revid: tde@openerp.com-20121107164117-2caoqna2aclzowpk
2012-11-07 17:41:17 +01:00
Thibault Delavallée
b36547e3ef
[CLEAN] tools: mail: removed commented code; moved some code.
...
bzr revid: tde@openerp.com-20121107154129-nhz7qjv1ksq521ur
2012-11-07 16:41:29 +01:00
Thibault Delavallée
688b6babed
[FIX] tools: html_email_clean: remove blockquote in any node, not just firs childs of root.
...
bzr revid: tde@openerp.com-20121107105031-xf0u71q3chx0chnv
2012-11-07 11:50:31 +01:00
Thibault Delavallée
4d89845de6
[IMP] tools: tests: cleaner: cleaned a bit test data. Will have to be improved.
...
bzr revid: tde@openerp.com-20121107093201-s0pco15msilt4erz
2012-11-07 10:32:01 +01:00
Thibault Delavallée
3ba739cbf5
[IMP] tools: mail: improved basic html_email_clean.
...
bzr revid: tde@openerp.com-20121107085807-td2okmbr61pm4g1e
2012-11-07 09:58:07 +01:00
Thibault Delavallée
a80fab6303
[FIX] tools: mail: use beautifulsoup parser, if not present, html parser.
...
bzr revid: tde@openerp.com-20121106133751-ds0g2c7k8pu4d6rl
2012-11-06 14:37:51 +01:00
Thibault Delavallée
f2d53fd215
[FIX] tools: mail: fixed some import, cleaned some code.
...
bzr revid: tde@openerp.com-20121106124109-63svzi72lx2a13yq
2012-11-06 13:41:09 +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
1d52a68dd9
[IMP] tools: mail: added html_cleaner, to clean html code to display in chatter (remove quotes, signatures, ...).
...
bzr revid: tde@openerp.com-20121106121737-ej57bijc7ypksu8v
2012-11-06 13:17:37 +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
Thibault Delavallée
207675a174
[REN] html_sanitize -> mail, to have a central file for methods about mail (html sanitizing, html management, emails related functions, ...).
...
bzr revid: tde@openerp.com-20121106115420-1h8mvzohol9zjysa
2012-11-06 12:54:20 +01:00
Vo Minh Thu
7d1c5ac4ff
[FIX] yaml_import: why the hell is False not iterable.
...
bzr revid: vmt@openerp.com-20121031164512-qegyw1q865neivgt
2012-10-31 17:45:12 +01:00
Vo Minh Thu
e44f673e61
[FIX] tools.yaml_import: change w.r.t. etree FutureWarning, which was:
...
FutureWarning: The behavior of this method will change in future versions. Use
specific 'len(elem)' or 'elem is not None' test instead.
bzr revid: vmt@openerp.com-20121031161437-pzz2czkaq6rw5t31
2012-10-31 17:14:37 +01:00
Odowan Kenobi
55f8e0485b
[IMP] yaml_import: allow to use a view from another module when creating a record in yaml by prefixing it with <module_name> + '.' (e.g: account.supplier_invoice_form_view). A great patch from odony. Hooray
...
bzr revid: qdp-launchpad@openerp.com-20121030152824-0n2gazacag2hzkbj
2012-10-30 16:28:24 +01:00
Olivier Dony
290baa5be7
[FIX] yaml: more explicit error if !record has missing parameters
...
bzr revid: odo@openerp.com-20121029173421-bbx9kn0xp10bpeh1
2012-10-29 18:34:21 +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
Quentin (OpenERP)
820c2551bb
[IMP] tools, yaml_import: the values given to the creation should only include the fields that aren't readonly in the view. Because that's what clients do
...
bzr revid: qdp-launchpad@openerp.com-20121019110604-1gvfcgqvwd1izh71
2012-10-19 13:06:04 +02:00
Quentin (OpenERP)
536cb8775c
[TEST] removing values at record creation in yaml
...
bzr revid: qdp-launchpad@openerp.com-20121018184323-5kq9fb54slij3ioo
2012-10-18 20:43:23 +02:00
Antony Lesuisse
ce552adba0
[MERGE] therp-nl/openobject-server/openobject-server_ormcache_key cache not working correctly with skiparg
...
bzr revid: al@openerp.com-20121017162555-tkydd6uq6fpm3a5i
2012-10-17 18:25:55 +02:00
Antony Lesuisse
ed08f59e1f
[MERGE] safe_eval opcode updates
...
bzr revid: al@openerp.com-20121017155526-o0ro53rno8d8cql2
2012-10-17 17:55:26 +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
Antony Lesuisse
0dbd9b603a
[IMP] remove standalone web client, fix logging
...
bzr revid: al@openerp.com-20121010204829-5vamumz9lhxpsgob
2012-10-10 22:48:29 +02:00
Xavier Morel
7a7876d4a8
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154605-u16f57fnck148ued
2012-10-10 17:46:05 +02:00
Olivier Dony
180549c72e
[MERGE] OPW 577045: translate: properly export and translate terms in XSL-based reports
...
This patch comes with a related patch on addons which
fixes a lot of cases of terms that were not properly
translated in reports, due to improper use of the
translation system. The addons patch also adds a
lot of missing entries in the POT files.
bzr revid: odo@openerp.com-20121008110946-21984tjvhoy8zkx9
2012-10-08 13:09:46 +02:00
Chris Biersbach
c79543ee4d
[FIX] Wrong indentation fixed
...
bzr revid: cbi@openerp.com-20121008105800-kkfah0x3l0z9hg3a
2012-10-08 12:58:00 +02:00
Quentin (OpenERP)
6046f9f226
[REF] yaml_import: comments refactoring
...
bzr revid: qdp-launchpad@openerp.com-20121005120653-jyq8352trvki24uc
2012-10-05 14:06:53 +02:00
Quentin (OpenERP)
e143ca2a5b
[FIX] yaml_import: on _create_record, when we gather the default values on the object we can't use base.main_company´ in the yaml file and it's not compatible with the function)
...
bzr revid: qdp-launchpad@openerp.com-20121004154032-qyq5gdur383bfxl9
2012-10-04 17:40:32 +02:00
Xavier Morel
8b4b31108d
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154523-2h49kpxk4wqkxcy4
2012-10-10 17:45:23 +02:00
Quentin (OpenERP)
9255d5d3ef
[REF] yaml_import.py: some doc and error messagse improved
...
bzr revid: qdp-launchpad@openerp.com-20121004122418-a93kll1v7kqfrfc2
2012-10-04 14:24:18 +02:00
Quentin (OpenERP)
74f061ebee
[IMP] yaml_import.py: comments and documentation improved for _create_record()
...
bzr revid: qdp-launchpad@openerp.com-20121004121522-ytttm7xulvo8i1wz
2012-10-04 14:15:22 +02:00
Quentin (OpenERP)
3d1b4398bf
[REf] yaml_import.py: refactoring of _create_record()
...
bzr revid: qdp-launchpad@openerp.com-20121004115617-ihb4j3tdeco68vob
2012-10-04 13:56:17 +02:00
Quentin (OpenERP)
bcf6dccf2d
[MERGE] trunk
...
bzr revid: qdp-launchpad@openerp.com-20121004084807-i3vh4fw8sk7nz7ek
2012-10-04 10:48:07 +02:00
Olivier Dony
2a96eb4944
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121003161807-3nwp7kvc3s2eh2xf
2012-10-03 18:18:07 +02:00
Olivier Dony
a42baec455
[IMP] translate: unify the server and web translation export mechanisms
...
- qweb and Javascript terms extraction now builtin
- all qweb/JS terms are flagged with an extra PO comment:
`openerp-web`, which the web client will use when
loading translations
- the homemade Python/Mako extractor has been removed
and replaced by the default babel Python extractor.
Net result is that we extract less spurious terms, but
keep valid ones, so everything looks great under
the sun.
bzr revid: odo@openerp.com-20121003132659-h5obyl1j7hjo1y2b
2012-10-03 15:26:59 +02:00
Xavier Morel
1e4a677f05
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20121010154436-wz29sdkbs9vvhjba
2012-10-10 17:44:36 +02:00
Quentin (OpenERP)
bc0e25938a
[FIX] yaml import: if a field has a default value, we must call its on_change()
...
bzr revid: qdp-launchpad@openerp.com-20121003082306-ml0nodz6ubriwtpi
2012-10-03 10:23:06 +02:00
Quentin (OpenERP)
261e33f740
[FIX] yaml_import: the parent default values must be complete before calling the onchanges()
...
bzr revid: qdp-launchpad@openerp.com-20121002160055-ew4377e7jcqlgzv7
2012-10-02 18:00:55 +02:00
Quentin (OpenERP)
fa852bab33
[FIX] yaml_import: don't erase the initial fields_view_get() result with the fields_view get of the first one2many fiel, other wise things get wrong -_-
...
bzr revid: qdp-launchpad@openerp.com-20121002120405-hvy4ltgrjzesndox
2012-10-02 14:04:05 +02:00
Quentin (OpenERP)
7812c73354
[IMP] yaml processing: improved previous patch by replacing the old parameter view with the result of fields_view_get() directly, to avoid having an extra parameter a bit useless
...
bzr revid: qdp-launchpad@openerp.com-20121001153806-k40ly5vdzh1v3hv3
2012-10-01 17:38:06 +02:00
Olivier Dony
e35992cc53
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121001144941-16d8mbi5475c3tyb
2012-10-01 16:49:41 +02:00
Quentin (OpenERP)
6c8ed08bf3
[IMP] yaml processing: fixed the creation of record through yaml files in order to use the views and on_change() functions that match the initial fields_view_get().
...
bzr revid: qdp-launchpad@openerp.com-20121001142735-bvqx48fbt9lyesjw
2012-10-01 16:27:35 +02:00
Chris Biersbach
a528390071
[FIX] removed unwanted parsing of transalte() blocks in rml python code
...
bzr revid: cbi@openerp.com-20121001085948-bgixbde1y3a8ka1a
2012-10-01 10:59:48 +02:00
Chris Biersbach
1d7b6d3e35
[Fix] Fixed generation of .pot files
...
bzr revid: cbi@openerp.com-20120924134002-co53v0mbz8zicciv
2012-09-24 15:40:02 +02:00
Antony Lesuisse
d77fe9c185
[FIX] restore poxy-mode command line option to prevent ip address impersonation
...
bzr revid: al@openerp.com-20120924105622-nb3iwe1vnuffqrbm
2012-09-24 12:56:22 +02:00
Antony Lesuisse
4679680dba
manual merge of multicorn
...
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00
Olivier Dony
2d0052d77e
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20120919155339-htv0joe24djdcgp2
2012-09-19 17:53:39 +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
Olivier Dony
b505ba9e0a
[IMP] translate: avoid loading duplicate `code`-type translations, we only care about one
...
bzr revid: odo@openerp.com-20120918073029-dujiwi17irt8m73t
2012-09-18 09:30:29 +02:00
Fabien Pinckaers
f1a46cff59
[IMP] better algo for image thumbnails
...
bzr revid: fp@openerp.com-20120916212139-2qnvuwk6sppxnp99
2012-09-16 23:21:39 +02:00
Olivier Dony
550751b358
[IMP] translations: wip, remove unnecessary code, support loading PO comments and storing them, split ir.translation view data in separate XML file
...
bzr revid: odo@openerp.com-20120913142920-ggpeqth4s2wwqwd2
2012-09-13 16:29:20 +02:00
Thibault Delavallée
fd4b83e8d1
[FIX] tools.image: added an image conversion before sharpening; otherwise the filter could crash.
...
bzr revid: tde@openerp.com-20120913113655-t5o3wk3r0tkp203m
2012-09-13 13:36:55 +02:00
Stephane Wirtel
4da5c9ef63
[MERGE] use the postgres db instead of template1 for the creation of a database
...
bzr revid: stw@openerp.com-20120912111910-b092erlzv2g7wh1u
2012-09-12 13:19:10 +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
Stephane Wirtel
97278d6ed5
[MERGE] base: fix some address formats and some English
...
bzr revid: stw@openerp.com-20120911150724-yh4kvtstv8fehaj1
2012-09-11 17:07:24 +02:00
Stephane Wirtel
30e59f95c9
[MERGE] raise an exception if it can't evaluate a string
...
bzr revid: stw@openerp.com-20120911145325-oay33de4o7h83k4t
2012-09-11 16:53:25 +02:00
Olivier Dony
9a577ef431
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20120911114104-vk8afbjq9ao1dqr2
2012-09-11 13:41:04 +02:00
Thibault Delavallée
02c14543da
[IMP] tools: image: added the option to choose whether to upsize or not images when resizing them. Also cleaned a bit the comments and overall code. small and medium images are nos 64x64 ans 128x128, to be closer to iamge sized used through OpenERP.
...
bzr revid: tde@openerp.com-20120907094957-clozwgu5qd3jh42h
2012-09-07 11:49:57 +02:00
Thibault Delavallée
171533d8dc
[IMP] res_partner: moved the avatar colorize part of the image code to tools/image.py, where it should have been placed at revs 4373-4375.
...
bzr revid: tde@openerp.com-20120907092206-1pgbcvt8tn23m114
2012-09-07 11:22:06 +02:00
Thibault Delavallée
8c0cf0ae9a
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120907075922-kqd5q0u0couhbnas
2012-09-07 09:59:22 +02:00
Olivier Dony
efa0f9b263
[IMP] html_sanitize: attempt to make slightly more pythonic/readable + re-enable test. Proper review + test still needed.
...
bzr revid: odo@openerp.com-20120905225746-npjjzy1w00k05vtc
2012-09-06 00:57:46 +02:00
Olivier Dony
8e96d71bf3
[MERGE] sync with trunk
...
bzr revid: odo@openerp.com-20120905072646-m4269m97ej1oicoq
bzr revid: odo@openerp.com-20120905220158-ulg8jy5alny97ff3
2012-09-06 00:01:58 +02:00
niv-openerp
8d1e3d06ab
[IMP] removed dependency to pyquery
...
bzr revid: nicolas.vanhoren@openerp.com-20120905153212-0gi1wjhf9m4xtnml
2012-09-05 17:32:12 +02:00
niv-openerp
29a9316566
[REVERT] 4394, because Thu is stupid
...
bzr revid: nicolas.vanhoren@openerp.com-20120905145703-7t8uiyqur0l16n2b
2012-09-05 16:57:03 +02:00
Stephane Wirtel
29b437766f
[FIX] amount_to_text: avoid to have a none in the concat
...
bzr revid: stw@openerp.com-20120904100250-utk61q7ik41lameo
2012-09-04 12:02:50 +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
f9be81cb20
[MERGE] file_open: give precedence to directory before zip, courtesy of Florent Xicluna
...
bzr revid: odo@openerp.com-20120904074105-ql796z5c8b6o4cyf
2012-09-04 09:41: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
Vo Minh Thu
b5c60844da
[FIX] yaml_import: really raise YamlImportExceptions.
...
bzr revid: vmt@openerp.com-20120903122902-djhju2raxkmaspik
2012-09-03 14:29:02 +02:00
Thibault Delavallée
12294252d4
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120903081949-ucy4e1kpbb30dhko
2012-09-03 10:19:49 +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
Stephane Wirtel
b3988436cb
[REF] Replace the user id 1 by openerp.SUPERUSER_ID
...
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +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
Thibault Delavallée
1fc94ed5ca
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120827083724-237j1jgf3b3g3uy8
2012-08-27 10:37:24 +02:00
Olivier Dony
7ddc6a2cd9
[FIX] convert: fix previous partial patch for removing redundant @type for <menuitem>
...
bzr revid: odo@openerp.com-20120823100504-q8w91ga5wbot20o5
2012-08-23 12:05:04 +02:00
Olivier Dony
ebb3df4f8c
[FIX] convert: fix previous partial fix for removing redundant @type for <menuitem>
...
bzr revid: odo@openerp.com-20120823100252-zmhpaocb2bb11c99
2012-08-23 12:02:52 +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
Olivier Dony
93f676d9cd
[MERGE] convert,rng: forbid redundant @type for menuitem, now inferred from the action type
...
bzr revid: odo@openerp.com-20120822171932-xz6i6k5nxurqfac9
2012-08-22 19:19:32 +02:00
Olivier Dony
a337ca201d
[IMP] rng: forbid redundant @type for menuitem, now inferred from the action type + minor cleanup
...
bzr revid: odo@openerp.com-20120822144946-fdsw9ee1ia3nfe86
2012-08-22 16:49:46 +02:00
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
Antonin Bourguignon
f7a5eb5d6c
[MERGE] latest trunk
...
bzr revid: abo@openerp.com-20120821172259-su6vqvxecwb5zra2
bzr revid: abo@openerp.com-20120822121220-yl5e9lhd7v4ap75a
2012-08-22 14:12:20 +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
Christophe Simonis
610c8d8078
[IMP] yaml import: log as TEST only for test files
...
bzr revid: chs@openerp.com-20120822101156-v5w2kljumas2cyq0
2012-08-22 12:11:56 +02:00
Antonin Bourguignon
8dd80d5dcf
[FIX] handling of the action's module xml id.
...
also don't use the attribute anymore
bzr revid: abo@openerp.com-20120821172224-9unwry0p27tn7d82
2012-08-21 19:22:24 +02:00
Antonin Bourguignon
a2db8022d3
[FIX] xml import: when using a menuitem tag, properly determine the type of action that is referenced
...
the attribute for the element should now be useless
bzr revid: abo@openerp.com-20120821164054-6zzad2k6nmebqe35
2012-08-21 18:40:54 +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
1a4f68554d
[IMP] needaciton + mail
...
bzr revid: fp@openerp.com-20120819150038-u6519dee90enzui4
2012-08-19 17:00:38 +02:00
Jigar Amin - OpenERP
ea714905cc
merge lp:openobject-server
...
bzr revid: jam@tinyerp.com-20120817062128-yfagkxdhn201yiop
2012-08-17 11:51:28 +05:30
Fabien Pinckaers
b9bdf2c29a
[IMP] tools.email_split
...
bzr revid: fp@tinyerp.com-20120816164239-yl1vzp83w6z5xi5i
2012-08-16 18:42:39 +02:00
Christophe Simonis
7dc9b6087c
[IMP] handle menuitems with "server" and "client" type + ensure menu has a name
...
bzr revid: chs@openerp.com-20120816130406-bsselo97f8tyzcit
2012-08-16 15:04:06 +02:00
Vo Minh Thu
ae4852f597
[IMP] html_sanitize: remove dependency on pyquery.
...
Relying on pyquery is unnecessary (using etree alone is enough). This patch
reimplements the html_sanitize() function without pyquery. The new
implementation still goes through the provided test suite with success.
bzr revid: vmt@openerp.com-20120816104540-9374llhzde54h2vz
2012-08-16 12:45:40 +02:00
niv-openerp
1885387ace
[IMP] added html field
...
bzr revid: nicolas.vanhoren@openerp.com-20120814130656-4pa91mud8u30mqr5
2012-08-14 15:06:56 +02:00
niv-openerp
63ae87fb4c
Fixed encoding problems
...
bzr revid: nicolas.vanhoren@openerp.com-20120814121425-jq3ieebbsa7rcds5
2012-08-14 14:14:25 +02:00
niv-openerp
f111a51f10
Fixed problem when message is false (i think)
...
bzr revid: nicolas.vanhoren@openerp.com-20120814094401-uv548xbylkfq8bun
2012-08-14 11:44:01 +02:00
niv-openerp
dc170d1a9a
Added protection against javascript in <a>
...
bzr revid: nicolas.vanhoren@openerp.com-20120813155205-uohwb39ejn66bgmv
2012-08-13 17:52:05 +02:00
niv-openerp
8dfa86afd9
removed images
...
bzr revid: nicolas.vanhoren@openerp.com-20120813144401-cll0enjblqkh8ina
2012-08-13 16:44:01 +02:00
niv-openerp
10155376c4
Did better stuff
...
bzr revid: nicolas.vanhoren@openerp.com-20120813143755-g9ccs0iubcwvm02i
2012-08-13 16:37:55 +02:00
Vo Minh Thu
7a0abed231
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120813142443-73d6zm10bqhm17mp
2012-08-13 16:24:43 +02:00
niv-openerp
e5fb45a329
First working version of the html sanitizer
...
bzr revid: nicolas.vanhoren@openerp.com-20120813142232-xn7h0ov7mb3pls4o
2012-08-13 16:22:32 +02:00
Thibault Delavallée
138e9c2739
[IMP] tools: image: added a sharpen filter when resizing images. Resized images quality is much better; but demo data are a bit 'aliased'.
...
bzr revid: tde@openerp.com-20120813141321-isaz930h3roov1ui
2012-08-13 16:13:21 +02:00
niv-openerp
11780a2267
Added some code to sanitize html
...
bzr revid: nicolas.vanhoren@openerp.com-20120813125307-d8cycdvtd7ad0f8e
2012-08-13 14:53:07 +02:00
Harry (OpenERP)
b50c926c3b
[MERGE]
...
bzr revid: hmo@tinyerp.com-20120809131924-zr97dntpfb22vitv
2012-08-09 18:49:24 +05:30
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
Thibault Delavallée
22d6665842
[CLEAN] [DOC] Pre-merge review: image: added comments. Also renamed functions, now prefixed with a image_* .
...
bzr revid: tde@openerp.com-20120807110834-uk3ymnxb5qz4hr8e
2012-08-07 13:08:34 +02:00
ajay javiya (OpenERP)
6ba2d5da96
[FIX]:Fix a predicate function doc
...
bzr revid: aja@tinyerp.com-20120807065455-hn71rrs0yoav0zi5
2012-08-07 12:24:55 +05:30
ajay javiya (OpenERP)
3d3d51df0d
[IMP]: Improve validation
...
bzr revid: aja@tinyerp.com-20120806133728-sa372lbgoc8rdebu
2012-08-06 19:07:28 +05:30
Thibault Delavallée
4d9ff0d5f9
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120806124337-9z4ussrxn2uhli4i
2012-08-06 14:43:37 +02:00