Commit Graph

5641 Commits

Author SHA1 Message Date
Antony Lesuisse e6b18fc7aa rename server
bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
2013-10-06 00:18:29 +02:00
Antony Lesuisse 2170da5e1e merge trunk
bzr revid: al@openerp.com-20131005220411-l1op0sya6h515m5b
2013-10-06 00:04:11 +02:00
Antony Lesuisse c52df72706 fix signal name
bzr revid: al@openerp.com-20131005215821-r60pgkgsrp1lo2ug
2013-10-05 23:58:21 +02:00
Antony Lesuisse 0a75a6b5ff simplier autoreload working
bzr revid: al@openerp.com-20131005212240-5lp8tgwukeg5wwdq
2013-10-05 23:22:40 +02:00
Xavier Morel 40ab4f6e83 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131004144724-pj6kd1ftw0sy0lbd
2013-10-04 16:47:24 +02:00
Xavier Morel ee16a16254 [FIX] let's not reimplement re.sub by hand, shall we?
bzr revid: xmo@openerp.com-20131004125204-qgpi7346p1u9amcu
2013-10-04 14:52:04 +02:00
Xavier Morel 81a82ca37f [IMP] make qweb into an openerp object
also attempt to improve/simplify a few implementation details

bzr revid: xmo@openerp.com-20131004114155-j2639jx6dwvkz3hh
2013-10-04 13:41:55 +02:00
Xavier Morel 6507bdd82c [IMP] turns out PIL includes MIME mapping
bzr revid: xmo@openerp.com-20131004095023-dudohbovvinqz8om
2013-10-04 11:50:23 +02:00
Thibault Delavallée a1d6ac520c [MERGE] Sync with trunk.
Pleave avoid merging with other branches like saas branch, this causes criss-cross issues.
Do things completely instead of tryign to gain 3 minuts.

bzr revid: chm@openerp.com-20131003151612-bmaylm7v3ywqwaux
bzr revid: tde@openerp.com-20131004084936-8xdvfjm2dhtyq07p
2013-10-04 10:49:36 +02:00
Thibault Delavallée c98ff51f72 [FORWARD] Forward port of saas-2 fixes until revision 4957 chs@openerp.com-20130930125946-exr791f83seaa9br
bzr revid: tde@openerp.com-20131003150138-dgi593kd3n0vflgp
2013-10-03 17:01:38 +02:00
Martin Trigaux cd94736f1f [ADD] report: support for dynamic fonts in report
search for TTF file on the system (in typical repositories)
add font field on the company and config wizard, the chosen value will replace the fontName value by the new one

bzr revid: mat@openerp.com-20131003141307-y6rsfooxepfgmofd
2013-10-03 16:13:07 +02:00
Martin Trigaux dd2cbe92b5 [FIX] report: default font set as helvetica
bzr revid: mat@openerp.com-20131003135018-2jr68cfbffda53m3
2013-10-03 15:50:18 +02:00
Martin Trigaux 61490461f6 [FIX] report: add basic fonts of PDF
bzr revid: mat@openerp.com-20131003133937-ohh612cgarih2lfy
2013-10-03 15:39:37 +02:00
Martin Trigaux 5e43947655 [FIX] report: cleaning, avoid duplicates
bzr revid: mat@openerp.com-20131003120625-4kvf9ag8fcp0mbfg
2013-10-03 14:06:25 +02:00
Martin Trigaux 1baf83e15d [IMP] report: remove useless __foundFonts variable (use full path in CustomTTFonts
bzr revid: mat@openerp.com-20131003114036-2xrmlo3x2hf99e8t
2013-10-03 13:40:36 +02:00
Martin Trigaux ada54ee992 [IMP] report: cleaning and add one more repository
bzr revid: mat@openerp.com-20131003112110-zp9icv0umfbf311j
2013-10-03 13:21:10 +02:00
Martin Trigaux c592a6c483 [FIX] report: fix registering customfonts
bzr revid: mat@openerp.com-20131003090333-bm83trt8qafn2d51
2013-10-03 11:03:33 +02:00
Raphael Collet 7358cec8dc [FIX] expression: in nodes like (left, 'in', right), apply _symbol_set on all values in right
bzr revid: rco@openerp.com-20131003075351-5quyz6ge1ayczdo9
2013-10-03 09:53:51 +02:00
Thibault Delavallée 54933118a4 [MERGE] Sync with trunk until revision 4957.
bzr revid: tde@openerp.com-20131002133820-8xomdumexexqp3pk
2013-10-02 15:38:20 +02:00
Martin Trigaux aa30437603 [IMP] one global list, remove hard coded list of font
bzr revid: mat@openerp.com-20131002101956-y6jt4d13bbku12g3
2013-10-02 12:19:56 +02:00
Thibault Delavallée 6069810f03 [IMP] tools: improved html_email_clean.
It can now take into account sections, and protect them. This allows to display a read more link
after a whole section. This will be used in the website, to display the first section of blogs for
example.

Also added some options on the read more link, allowing to tune its tag, content, as well as the link.

Also improved html_sanitize, taking improvements from the trunk branch of server, waiting for the whole
trunk branch to be merged.

bzr revid: tde@openerp.com-20131001142151-rt1g6zpxozd1eau2
2013-10-01 16:21:51 +02:00
Dharmraj Zala (OpenERP Trainee) ff4643678b [IMP] added condition to display only regular fonts in list
bzr revid: dizzy.zala@gmail.com-20131001110633-rfazngjr37ewv5cy
2013-10-01 16:36:33 +05:30
Xavier Morel bfd080beb3 [ADD] qweb test case for weird encoding
bzr revid: xmo@openerp.com-20130930144634-wb3j7lypj6bqtfyg
2013-09-30 16:46:34 +02:00
Martin Trigaux 7fc046e6b3 [IMP] orm: don't compute twice the same function for stored fields if two fields have the same trigger function
bzr revid: mat@openerp.com-20130930140515-4kbzkotjh2ify5vm
2013-09-30 16:05:15 +02:00
Christophe Simonis 03ef8485d7 [FIX] orm: correct read_group when searching by month
bzr revid: chs@openerp.com-20130930125946-exr791f83seaa9br
2013-09-30 14:59:46 +02:00
Martin Trigaux 46020a08da [IMP] store fields: do not add twice the same function field in the store_function list
bzr revid: mat@openerp.com-20130930121511-94a2k0ka91bsgrnf
2013-09-30 14:15:11 +02:00
Fabien Pinckaers 81b28ae22d [IMP] read more new line
bzr revid: fp@tinyerp.com-20130930075727-uoxqbloao2mbyw6t
2013-09-30 09:57:27 +02:00
Launchpad Translations on behalf of openerp 3a4a093ba7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130930054304-7r885mda98p411ax
bzr revid: launchpad_translations_on_behalf_of_openerp-20130928055410-zlzdspq6yjqrkq33
bzr revid: launchpad_translations_on_behalf_of_openerp-20130929054547-erco56ru1eyc6iq7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130930054318-brbtsqs7pdngwg51
2013-09-30 05:43:18 +00:00
Fabien Pinckaers 4b5d3e4a40 [IMP] priority on views
bzr revid: fp@openerp.com-20130929085000-p2pcmkdubqw1lfbj
2013-09-29 10:50:00 +02:00
Fabien Pinckaers 1db512092f [IMP] events
bzr revid: fp@openerp.com-20130928164336-6exrohfc2ek4d2y5
2013-09-28 18:43:36 +02:00
Xavier Morel 3295203a66 [IMP] have ir_fields_converter.to_field accept either a type or a string-representing-a-type as input
bzr revid: xmo@openerp.com-20130927142856-lnrboxzgpd3wzqem
2013-09-27 16:28:56 +02:00
Olivier Dony d6a9d0c05d [FIX] ir.fields.converter: fields.reference values were not importable because the (trivial) converter was missing
bzr revid: odo@openerp.com-20130927142303-ykcjnxgdiuni3lnk
2013-09-27 16:23:03 +02:00
Xavier Morel a4746b22c2 [FIX] disable test case crashing sanitizer
bzr revid: xmo@openerp.com-20130927130050-cgfs5g1kdnuge0b5
2013-09-27 15:00:50 +02:00
Xavier Morel f652a2b5eb [FIX] ban more stuff
bzr revid: xmo@openerp.com-20130927124523-kssjn9rug2vozuwc
2013-09-27 14:45:23 +02:00
Xavier Morel 0b90087828 [IMP] field regularity
Make @file a more generic data source, add base64 type for b64 encoding

bzr revid: xmo@openerp.com-20130927121325-mbjm4612qkaa0z0x
2013-09-27 14:13:25 +02:00
Xavier Morel 47c6314c44 [FIX] force-encode unicode stuff
bzr revid: xmo@openerp.com-20130927121012-28qllo0i3g62c7jw
2013-09-27 14:10:12 +02:00
Xavier Morel 9194f3eb78 [FIX] cgi removal
bzr revid: xmo@openerp.com-20130927120503-9ubf7vgrt38xjywc
2013-09-27 14:05:03 +02:00
Xavier Morel 8f42fb75c6 [FIX] qweb t-fields test
bzr revid: xmo@openerp.com-20130927113836-b47l105n7ag0b8kw
2013-09-27 13:38:36 +02:00
Xavier Morel e1f3f0566e [ADD] float field digits handling
bzr revid: xmo@openerp.com-20130927113424-lt23wpzs7px7k6mc
2013-09-27 13:34:24 +02:00
Launchpad Translations on behalf of openerp 23620b2e54 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130925054843-vx0nogr2rpf5amw4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130926055416-ubjv2v9mogsb49f3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130927061626-2rcumswg0tc4e10e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130926055451-072mn28h3ew4cwfp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130927061658-4svrcqcw04av1e5w
2013-09-27 06:16:58 +00:00
Launchpad Translations on behalf of openerp 5639037c14 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130925052817-8fbiai7kz5lwvqu1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130927054854-49lz8szbyebfo37r
2013-09-27 05:48:54 +00:00
Xavier Morel c741c0eeb1 [IMP] reimplement t-field using new converters
bzr revid: xmo@openerp.com-20130926145126-21hlubvs39a0z68j
2013-09-26 16:51:26 +02:00
Xavier Morel 2707b17771 [IMP] add #verify PIL call, can't hurt
bzr revid: xmo@openerp.com-20130926134429-8uwav5lyck532eb2
2013-09-26 15:44:29 +02:00
Xavier Morel 789c0d8a6b [ADD] Conversions from field values to "html" content
> many2one --> mettre <br/> si multi-line, html escape le reste (ex:
> adresse sur un event, on a du mettre dans un <pre> mais ce n'est pas
> bien)

> text --> mettre <br/> si multi-line, html escape le reste (ex:
> description d'un produit, à droite)

> char --> normalement pas de multi-line

> fields.binary --> t-field on image field ne semble pas fonctionner
> en écriture (la photo d'une fiche produit)

(validates that the binary field's content is image data by opening it
with PIL, then generates an <img> tag)

TODO:

> fields.float --> utiliser le digits pour formatter les decimals
> correctement (ex: prix d'un produit, à deux décimales)

> On aura aussi besoin d'un widget="currency", un peu comme dans la
> vue form du client web.

bzr revid: xmo@openerp.com-20130926133850-ab14h241q878jbom
2013-09-26 15:38:50 +02:00
Xavier Morel 2837c1dc27 [ADD] composition function utility
bzr revid: xmo@openerp.com-20130925145205-vumu9cgr5kob0900
2013-09-25 16:52:05 +02:00
Xavier Morel c36bd85c27 [REM] automagic tag creation in t-field rendering
bzr revid: xmo@openerp.com-20130925121028-s1i1628vt7rtopzn
2013-09-25 14:10:28 +02:00
Fabien Meghazi 581dad9316 [ADD] qweb @t-action
bzr revid: fme@openerp.com-20130926145342-ncl8ahoof6y6grj4
2013-09-26 16:53:42 +02:00
Fabien Meghazi ef800c1109 [ADD] data-oe-translate
bzr revid: fme@openerp.com-20130926092656-2ohyho3t01fiw9us
2013-09-26 11:26:56 +02:00
Fabien Meghazi 9051c44d68 [ADD] oe-source-id in inherit branding
bzr revid: fme@openerp.com-20130925154155-v23u1l1go1spedzz
2013-09-25 17:41:55 +02:00
Fabien Meghazi e01f97e8f7 [MERGE] upstream
bzr revid: fme@openerp.com-20130925085305-wbmdcm75i6o1qm30
2013-09-25 10:53:05 +02:00
Denis Ledoux 447dec696b [FIX]base, ir_translation: in _get_src, if model or record id does not exist anymore, do not apptempt to read it
bzr revid: dle@openerp.com-20130924124654-9lz76t6hx0cmxnx5
2013-09-24 14:46:54 +02:00
Thibault Delavallée 71653438eb [IMP] res_partner: demo data: have one partner coming from LA, to be able to use this town in various demo data
bzr revid: tde@openerp.com-20130924095602-u6q5u0c0jpnlc6nk
2013-09-24 11:56:02 +02:00
Fabien Meghazi 56ca9e9105 [ADD] Qweb: added t-href and t-src using url_for
bzr revid: fme@openerp.com-20130924084620-dpnpwpehok7r863b
2013-09-24 10:46:20 +02:00
Thibault Delavallée 2939c58e72 [CLEAN] ir_ui_view: removed print statement
bzr revid: tde@openerp.com-20130923144830-i5iqzfc1pydm9pge
2013-09-23 16:48:30 +02:00
Thibault Delavallée 470179bf80 [ADD] wrapper node for more field types
bzr revid: tde@openerp.com-20130923143416-hmxdll0gi0w0un2j
2013-09-23 16:34:16 +02:00
Thibault Delavallée e07531f451 [FIX] don't try to set attributes on comments, it makes no sense
bzr revid: tde@openerp.com-20130923143349-y922fxtbkotsjzpf
2013-09-23 16:33:49 +02:00
Thibault Delavallée 438c6683d7 [MERGE] Sync with main website branch
bzr revid: tde@openerp.com-20130923135558-rlz33deoydy35gfs
2013-09-23 15:55:58 +02:00
Fabien Meghazi 1fbe796ec3 [WIP] Temporary qweb translation
TODO: refactor of ir.ui.view in order to abstract translations

bzr revid: fme@openerp.com-20130923114649-0ykl77hclzmjmkq3
2013-09-23 13:46:49 +02:00
Fabien Meghazi 31af948f59 [ADD] Add res_id parameter to ir.translation#_get_source()
bzr revid: fme@openerp.com-20130923114454-soquy5fkp1npjl40
2013-09-23 13:44:54 +02:00
Thibault Delavallée be966b02c7 [IMP] tools: mail: improved html_email_clean
- 'read more' links are now in the last container, not after, allowing to have read more
links embedded inside shortened paragraphs
- added expand_options dict allowing to customize the read more

bzr revid: tde@openerp.com-20130923112939-0ab4idlzqpug00xz
2013-09-23 13:29:39 +02:00
Xavier Morel be59c06403 [MERGE] from trunk
bzr revid: xmo@openerp.com-20130923111950-uk163cp891zl021h
2013-09-23 13:19:50 +02:00
Christophe Simonis 64e0e77605 [REL] saas-2
bzr revid: chs@openerp.com-20130923104453-051rjk47v54x2a3h
2013-09-23 12:44:53 +02:00
Launchpad Translations on behalf of openerp 5d89ca5f6d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130919045555-o80w0vjyl4g3d2qn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130920060115-eauj5wlxmkpyxwys
bzr revid: launchpad_translations_on_behalf_of_openerp-20130922053444-ai66yjl1419gee8h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130923053502-xuqx6gazdvsak6e5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130921055928-8y21w291t5w0k13o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130922053456-pcgrwl35kk8b7ff8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130923053531-3twd4g12gj4iqmv3
2013-09-23 05:35:31 +00:00
Fabien Pinckaers 6188a2af5b [IMP] YourCompany
bzr revid: fp@openerp.com-20130922193636-3iz72tu6c12j5x5l
2013-09-22 21:36:36 +02:00
Fabien Pinckaers 704639cc7c [IMP] revert
bzr revid: fp@openerp.com-20130922172851-j9jrcjcyc5kmtlik
2013-09-22 19:28:51 +02:00
Fabien Pinckaers 29326cd993 [IMP] Add file='...' on <field> tags + [FIX] forced noupdate
bzr revid: fp@openerp.com-20130922093113-80p3pig45qbm7lsn
2013-09-22 11:31:13 +02:00
Dharmraj Zala (OpenERP Trainee) 382dc4a971 [IMP] improved code and added comments
bzr revid: dizzy.zala@gmail.com-20130920094659-07ifmvrtrfw5ugt5
2013-09-20 15:16:59 +05:30
Dharmraj Zala (OpenERP Trainee) 92aebae8af [IMP] improved code and defaults
bzr revid: dizzy.zala@gmail.com-20130920062115-r8vr770nwg7450ja
2013-09-20 11:51:15 +05:30
Dharmraj Zala (OpenERP Trainee) 26ad0436a9 [IMP] improved code
bzr revid: dizzy.zala@gmail.com-20130919133423-l3n2ovrfw59v4yyx
2013-09-19 19:04:23 +05:30
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 ef96f0424a [IMP] ir.module.module: _get_views(): explictly skip non-existing records instead of catching exceptions. This avoid useless error logs
bzr revid: chs@openerp.com-20130919115014-bwjaar877w04k41s
2013-09-19 13:50:14 +02:00
Christophe Simonis 28b09221d6 [FIX] orm.BaseModel.exists(): early return if no ids given
bzr revid: chs@openerp.com-20130919114711-ofx2aubtr5z7dgh4
2013-09-19 13:47:11 +02:00
Christophe Simonis ffdcf33673 [IMP] ir.ui.view: log traceback when validation of view arch fail
bzr revid: chs@openerp.com-20130919114508-72pv3u1stxw4l3ry
2013-09-19 13:45:08 +02:00
Dharmraj Zala (OpenERP Trainee) 801937d2c8 [MERGE] with trunk
bzr revid: dizzy.zala@gmail.com-20130919085041-9hnv7w93bzlinrhi
2013-09-19 14:20:41 +05:30
Christophe Simonis e9980e8725 [FIX] test_views: update matching error message
bzr revid: chs@openerp.com-20130918212216-libtu7zpsn2768j0
2013-09-18 23:22:16 +02:00
Christophe Simonis fd9a9577df [MERGE] forward port of branch saas-1 up to revid 4908 dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: chs@openerp.com-20130918171816-cxxt3c9ktcq4a8oz
2013-09-18 19:18:16 +02:00
Olivier Dony 130afb812d [FIX] ir.mail.server: improve support for user names with emails
The previous fix in revision 5072 only allowed user names
that contained the exact same emails, but users will do
the wildest things like having `someone@domain.com` as
name but setting their email to `someone@domain2.com`.

This was blocked by our sanity check looking for a single
email in the From header. As this check is only done
in order to provide a better error message, it should
not impact valid cases.
Modifying the check to pass when at least one email
was found should be enough to catch most invalid cases,
without requiring a more advanced analysis of the
header value (the RFCs allows very strange things!)

bzr revid: odo@openerp.com-20130918143807-wqqpqomyu1ppa2ih
2013-09-18 16:38:07 +02:00
Dharmraj Zala (OpenERP Trainee) bb72950546 [IMP] improved code for compatibility of tags in rml file
bzr revid: dizzy.zala@gmail.com-20130918133611-v75spcf3tgnoadnr
2013-09-18 19:06:11 +05:30
Stefan Rijnhart 7de17a9358 [FIX] Keep backwards compatibility with Babel 0.9.6
bzr revid: stefan@therp.nl-20130918074505-59q1fs3ixlev1ein
2013-09-18 09:45:05 +02:00
Stefan Rijnhart a9b8936a4d [RVT] Undo previous fix
bzr revid: stefan@therp.nl-20130918074407-ae6yu2f001vxl0le
2013-09-18 09:44:07 +02:00
Xavier Morel 4b89b246a8 [FIX] distribute branding on t-if, t-for and t-att
bzr revid: xmo@openerp.com-20130917163708-u61ol5yqr3nrd9mu
2013-09-17 18:37:08 +02:00
Xavier Morel 47fac4836b [IMP] avoid using Element.attrib when unnecessary
bzr revid: xmo@openerp.com-20130917154505-4kf77rqjrg1bncvk
2013-09-17 17:45:05 +02:00
Xavier Morel 8159503eb1 [FIX] ensure we distribute branding only over actual element, not over e.g. comments
bzr revid: xmo@openerp.com-20130917154414-zdbv7861e9p6mdgi
2013-09-17 17:44:14 +02:00
Stefan Rijnhart b224b40fac [FIX] Restore compatibility with Babel > 0.9.6
lp bug: https://launchpad.net/bugs/1226576 fixed

bzr revid: stefan@therp.nl-20130917122312-r6s7dgzdsfil7xyg
2013-09-17 14:23:12 +02:00
Xavier Morel 779667d690 [IMP] add assertion to prevent <td t-field> which breaks RTE widgets
bzr revid: xmo@openerp.com-20130917113022-idty6l0cwuox3s59
2013-09-17 13:30:22 +02:00
Xavier Morel 5e66ecaf55 [FIX] serializer uses nodeName, not tagName. Set that
bzr revid: xmo@openerp.com-20130917112718-rnbxcoq584rt08qp
2013-09-17 13:27:18 +02:00
Dharmraj Zala (OpenERP Trainee) 1b6bbcfec7 [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917104325-4b2mijamy0ll3d8b
2013-09-17 16:13:25 +05:30
Dharmraj Zala (OpenERP Trainee) bffaf163cc [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917103829-c6s5qkwkiy8igj1t
2013-09-17 16:08:29 +05:30
Thibault Delavallée 54c014c4ea [IMP] read_group: group_by -> groupby (same variable, but was used in previous implementation, so I keep it)
bzr revid: tde@openerp.com-20130917100447-u0qhdsw14wdngxwc
2013-09-17 12:04:47 +02:00
Dharmraj Zala (OpenERP Trainee) b1647e2d32 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130917055129-zvh1tbhghy1vr9oc
2013-09-17 11:21:29 +05:30
Launchpad Translations on behalf of openerp a46cbb7a31 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913060803-zltruvkg213vqm57
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061052-1kts2jol7uvq1n4f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051850-e1s8v09muo1atjwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051903-257acdjbxi60zyv8
2013-09-17 05:19:03 +00:00
Atul Patel (OpenERP) 58fcaa9d40 [MERGE]: Merged with server
bzr revid: atp@tinyerp.com-20130916152046-vc454ytxm3gkq5sj
2013-09-16 20:50:46 +05:30
Thibault Delavallée 63988959a7 [IMP] read_group: added forgottent year computation
bzr revid: tde@openerp.com-20130916114722-4742fhn4ilhf133e
2013-09-16 13:47:22 +02:00
Thibault Delavallée defa3adbe8 [DOC] read_group: added comments for the new formatting option
bzr revid: tde@openerp.com-20130916103047-lpbf7czflyvgtonu
2013-09-16 12:30:47 +02:00
Thibault Delavallée 8583ced4cc [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130910151742-rgmc2jwx6zyg38lp
bzr revid: tde@openerp.com-20130912073916-1ph4x7cw6oovdafl
bzr revid: tde@openerp.com-20130916092207-5rqco7ua9tbd1cvh
2013-09-16 11:22:07 +02:00
Dharmraj Zala (OpenERP Trainee) b1e66aa382 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130913132707-gxjtq6mcrz9btgty
2013-09-13 18:57:07 +05:30
Xavier Morel f4520d3f86 [FIX] mapping type is integer not int
bzr revid: xmo@openerp.com-20130913132131-bs8auaq7bvz64dbf
2013-09-13 15:21:31 +02:00
Launchpad Translations on behalf of openerp 8f78d705a6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913053904-ur2s9sv8ghejd8ui
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913053930-0bdx9o2i5047r20e
2013-09-13 05:39:30 +00:00
Christophe Simonis 7081038378 [IMP] validate custom views at the end of update of database
bzr revid: chs@openerp.com-20130912182926-3lectt8mvd9smwfb
2013-09-12 20:29:26 +02:00
Christophe Simonis 4ec71c74d1 [FIX] do not run migration scripts on empty databases
bzr revid: chs@openerp.com-20130912182827-iknosbmr7kni7ulo
2013-09-12 20:28:27 +02:00
Christophe Simonis e13ffe7e11 [MERGE] forward port of branch 7.0 up to revid 5075 chs@openerp.com-20130912141018-qmcyase8zqov9d01
bzr revid: chs@openerp.com-20130906165207-1oklc8cqs0rex3kg
bzr revid: dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: dle@openerp.com-20130911083736-6jfkb140jxbbx7j6
bzr revid: chs@openerp.com-20130912150616-v0c383trj7gaa7eu
2013-09-12 17:06:16 +02:00
Xavier Morel cbb5bf3c56 [MERGE] from parent
bzr revid: xmo@openerp.com-20130912141037-xqu3qpcyjph4xltu
2013-09-12 16:10:37 +02:00
Christophe Simonis 1d91378ce2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
    installation, it is validated thanks to the _constraints
    on the ir.ui.view model. However the validation uses
    a rather convoluted system for validating the whole
    view tree at once (root view + all inherited changes)
    while only taking into account the views that belong
    to modules that are currently loaded.

    This complicated system is necessary to be able to
    operate on-the-fly at any point during the registry
    loading/initialization.

    Now because _constraints are checked during create()
    this particular validation happens *before* the
    external ID (ir.model.data entry) of that new view
    can be created (it obviously needs to wait until
    the view record is inserted). As a consequence the
    view validation cannot determine the module to
    which that new view belongs, and was erroneously
    ignoring it.
    Changing the view filtering to also include views
    that have triggered this check.
    Manually created views are not check during registry
    update.

bzr revid: chs@openerp.com-20130912141018-qmcyase8zqov9d01
2013-09-12 16:10:18 +02:00
Xavier Morel b84c7c6ebc [FIX] avoid <t t-field=...> yielding just text without markup
bzr revid: xmo@openerp.com-20130912140532-qejpqr037x99qrln
2013-09-12 16:05:32 +02:00
Xavier Morel cc187b884b [IMP] re-enable XML check on view arch
bzr revid: xmo@openerp.com-20130912124334-skafqdt0hxna7frx
2013-09-12 14:43:34 +02:00
Dharmraj Zala (OpenERP Trainee) a20a7f20a8 [IMP] code improvement
bzr revid: dizzy.zala@gmail.com-20130912120059-rnn784u646xph74l
2013-09-12 17:30:59 +05:30
Martin Trigaux 5175ce9e77 [IMP] ir_model_data: restrict ir_model_data rule to read only for user and add create to group_user
bzr revid: mat@openerp.com-20130912075353-s1hjsz3b0lvzhzj3
2013-09-12 09:53:53 +02:00
Dharmraj Zala (OpenERP Trainee) 420c4a9489 [IMP] improved header templates
bzr revid: dizzy.zala@gmail.com-20130911112401-9oe7kvus5nirx9ic
2013-09-11 16:54:01 +05:30
Martin Trigaux dd84b00b0b [IMP] revert changes in yaml_import
bzr revid: mat@openerp.com-20130911112108-z0ivfwqy1zlqhnec
2013-09-11 13:21:08 +02:00
Dharmraj Zala (OpenERP Trainee) 5ae665f803 [IMP] improved get_font_list method so user can have choice of available fonts to print rml reports
bzr revid: dizzy.zala@gmail.com-20130911105912-6pov1orhqo39qeb2
2013-09-11 16:29:12 +05:30
Martin Trigaux 1f30f78fab [MERGE] sync with trunk
bzr revid: mat@openerp.com-20130911094257-yu17yffdawc45v2a
2013-09-11 09:42:57 +00:00
Martin Trigaux 16293621dd [MERGE] [FIX] report: Skip register reports that have xsl but no xml
bzr revid: mat@openerp.com-20130911092947-4gy77vtgddpk1odh
2013-09-11 09:29:47 +00:00
Dharmraj Zala (OpenERP Trainee) 4bd0540505 [IMP] added a global method for getting system font list
bzr revid: dizzy.zala@gmail.com-20130911064104-6umza2px5v4oltk2
2013-09-11 12:11:04 +05:30
Launchpad Translations on behalf of openerp c1ee146f7b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051946-7al2yclyqfsdurml
2013-09-11 05:19:46 +00:00
Olivier Dony b24e37db63 [FIX] ir.mail_server: be more lenient when validating From address
When a user has their email as name, the system will
construct the From header as "email<email>".
We previously forbade this, because the naive
check only counts the number of emails in
the From header.
We might need to drop that assert or implement
something better in the future.

bzr revid: odo@openerp.com-20130910143809-wu32dkz20es579nv
2013-09-10 16:38:09 +02:00
Xavier Morel 5bd3396023 [TEMP] embed original expression in output to reverse correctly
bzr revid: xmo@openerp.com-20130910143345-es9vbvxlfq5sra6h
2013-09-10 16:33:45 +02:00
Xavier Morel 59734d3e34 [FIX] no need to use types for builtins (also fixes broken import, oops)
bzr revid: xmo@openerp.com-20130910134402-1fj37o3pxtb4hrau
2013-09-10 15:44:02 +02:00
Xavier Morel 85a3d8eaeb [FIX] moved view.save to website, forgot to move tests
bzr revid: xmo@openerp.com-20130910132638-2v4ilmi5uuboazt9
2013-09-10 15:26:38 +02:00
Xavier Morel 420a65cdad [IMP] remove unneeded import, cases redundancy
bzr revid: xmo@openerp.com-20130910125015-75tjdv1eopipwk4m
2013-09-10 14:50:15 +02:00
Xavier Morel 21ae2e059a [REM] noop
bzr revid: xmo@openerp.com-20130910124731-dx2hygjm6ixkw81j
2013-09-10 14:47:31 +02:00
Christophe Simonis 4327e09a55 [MERGE] forward port of branch saas-1 up to revid 4903 dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: chs@openerp.com-20130910121230-xcr2yj6rpbo83wy0
2013-09-10 14:12:30 +02:00
Thibault Delavallée aca5e76062 [IMP] orm: first draft of improvign group_by on date field, allowing to tune the grain, format and interval when grouping on a date field. Default behavior is the old one, grouping on month.
bzr revid: tde@openerp.com-20130910104500-sfjosqkmpfxa2jxk
2013-09-10 12:45:00 +02:00
Xavier Morel 8bb10bdf67 [FIX] incorrect conversion of some fields transmogrification in template tag
bzr revid: xmo@openerp.com-20130910103526-r9q98zirvmiylr69
2013-09-10 12:35:26 +02:00
Antony Lesuisse 082b1dc9fc restore the original gevent detection
bzr revid: al@openerp.com-20130909231946-aglho23enxhfwm0i
2013-09-10 01:19:46 +02:00
Antony Lesuisse 65c0538a83 autoreload, first working version for both python and data, still wip
bzr revid: al@openerp.com-20130909230553-jn26ue5qenv0sd3p
2013-09-10 01:05:53 +02:00
Antony Lesuisse 3bc9a499d4 add signals to increase/decrease number of workers
bzr revid: al@openerp.com-20130909201706-sllijtol7p6mi5nr
2013-09-09 22:17:06 +02:00
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
Olivier Dony 92b3661b04 [MERGE] modules.loading: extra loop when installing/upgrading modules to help solve missing deps
In some rare cases the dependencies have changed, and modules that newly depend
on a module that is not installed cannot be loaded on the first pass.

For technical reasons all installed/to upgrade/to remove modules have to be
processed before starting to consider new installations, so this requires
two passes.

In trunk the inner loop inside `load_marked_modules()` will be dropped
because it should be unnecessary.

bzr revid: odo@openerp.com-20130909150859-k8xykkorgnmv0xx0
2013-09-09 17:08:59 +02:00
Martin Trigaux 744c48819d [MERGE] res.users: synchronise partner's company with the one of the user
bzr revid: mat@openerp.com-20130909135835-ifvra8l05soptwwt
2013-09-09 15:58:35 +02:00
Stephane Wirtel f8c0310d8e [FIX] Use psycogreen instead of gevent-psycopg2
green-psycopg2 has been deprecated by the developer, he asks to use an
alternative, in this case, the alternative is psycogreen
https://bitbucket.org/dvarrazzo/psycogreen

bzr revid: stw@openerp.com-20130909131123-u0gqhvxqwv13yqke
2013-09-09 15:11:23 +02:00
Stephane Wirtel 093dec2ab0 [FIX] Add the platform lib
[IMP] Log when the Long Polling Service is running

bzr revid: stw@openerp.com-20130909131024-23an5cvt1qaa90su
2013-09-09 15:10:24 +02:00
Antony Lesuisse 025616ee14 [MERGE] trunk
bzr revid: al@openerp.com-20130909123905-oio8e1qyzjewrxkl
2013-09-09 14:39:05 +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 bb14116785 [MERGE] from trunk
bzr revid: xmo@openerp.com-20130909095042-zf9p1qybf4f2b7gu
2013-09-09 11:50:42 +02:00
Samus CTO (OpenERP) 4dd565b647 [FIX] modules.loading: extra loop when installing/upgrading modules to help solve missing deps
In some rare cases the dependencies have changed, and modules that depend on an uninstalled module
will not be processed on the first pass.

bzr revid: odo@openerp.com-20130909095004-n1dp2w5wnlb36742
2013-09-09 11:50:04 +02:00
Thibault Delavallée 43dc750917 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130826085405-04kpm11rfz9m6zgk
bzr revid: tde@openerp.com-20130902142029-8u7esi4j51g8xguj
bzr revid: tde@openerp.com-20130906081619-m84142whjfs2zbdg
bzr revid: tde@openerp.com-20130909093131-rnj42h1tu7s5akt2
2013-09-09 11:31:31 +02:00
Antony Lesuisse 12580e690a [IMP] openerp threaded, gevent, prefork service cleanup
- unify signal handling
- unify start and stop
no new feature yet, it paves the way for
- developement mode auto reload
- graceful restart on HUP
- multiprocessing and gevent on windows

bzr revid: al@openerp.com-20130908173535-xomt5w7xmqtwkmyy
2013-09-08 19:35:35 +02:00
Launchpad Translations on behalf of openerp d8bd4d3652 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130907054014-6wekhttz1qczae31
bzr revid: launchpad_translations_on_behalf_of_openerp-20130908050234-ym1z7eoff4sxcfgf
2013-09-08 05:02:34 +00: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
Olivier Dony fe15a49f0e [MERGE] res.partner: current name_search() implementation tends to skip a few valid results during early autocompletion - mitigation attempt
The main reason for the semi-random behavior
observed during auto-completion is the
missing ORDER BY clause in the pre-filtering
SQL query.

The ORDER BY clause is expensive but inevitable
if we want to apply a correct LIMIT, otherwise
we would return random `limit` results among
all the possible matches.

The current SQL query seems convoluted due
to the duplicated CASE clause but it
performs slightly better than the equivalent
CTE-based (WITH...) query, so it was preferred.


There is still a chance of returning too
few results due to double limit application,
as further discussed in bug 1203727

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

bzr revid: odo@openerp.com-20130906134950-gi0szic3uw3onyuv
2013-09-06 15:49:50 +02:00
Xavier Morel a61e7b5efa [REM] view.save, move to website module where it belongs
bzr revid: xmo@openerp.com-20130906130905-86ul9efvjt6wo1j2
2013-09-06 15:09:05 +02:00
Xavier Morel 4f6af7f857 [REM] page attribute on views, doesn't belong in server
bzr revid: xmo@openerp.com-20130906091108-gk2biyqyi2xaekxl
2013-09-06 11:11:08 +02:00
Xavier Morel 3d42f63246 [IMP] remove unused imports
bzr revid: xmo@openerp.com-20130906091013-4smmete74hc9kpj1
2013-09-06 11:10:13 +02:00
Launchpad Translations on behalf of openerp 7de48c9694 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130906060710-1qwkxqo16uzz2p0c
bzr revid: launchpad_translations_on_behalf_of_openerp-20130905051828-i1zdq38yhq6s25t3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130906060727-odhvfd4fhco9svya
bzr revid: launchpad_translations_on_behalf_of_openerp-20130830052505-e346k0xxesqii63n
bzr revid: launchpad_translations_on_behalf_of_openerp-20130902053728-uro81onc51apjhyk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130904050346-hhqkp2lcpiuhxrvo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130905051839-5lbu7tnnilowbws2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130906060737-4r2sin3a91544c6s
2013-09-06 06:07:37 +00:00
Launchpad Translations on behalf of openerp 99f6eeb2bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130906052817-wyvuqej48ixzfwqd
2013-09-06 05:28:17 +00:00
Olivier Dony 95b7d5bcaf [FIX] res.partner: current name_search() implementation tends to skip a few valid results during early autocompletion - mitigation attempt
The main reason for the semi-random behavior
observed during auto-completion is the
missing ORDER BY clause in the pre-filtering
SQL query.

The ORDER BY clause is expensive but inevitable
if we want to apply a correct LIMIT, otherwise
we would return random `limit` results among
all the possible matches.

The current SQL query seems convoluted due
to the duplicated CASE clause but it
performs slightly better than the equivalent
CTE-based (WITH...) query, so it was preferred.


There is still a chance of returning too
few results due to double limit application,
as further discussed in bug 1203727

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

bzr revid: odo@openerp.com-20130905170251-x47w1zrm43d0k9wb
2013-09-05 19:02:51 +02:00
Launchpad Translations on behalf of openerp 1d02a933e3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130905051758-jl50461zfgvthh7j
2013-09-05 05:17:58 +00:00
Thibault Delavallée e8e22a88f1 [MERGE] [IMP] addons: improved name and tooltips of groupby date in various addons.
bzr revid: tde@openerp.com-20130904131134-2ocutcowwy609w9v
2013-09-04 15:11:34 +02:00
Xavier Morel 367f8dcf83 [FIX] some models rename fields parameter to read, revert passing it by name to positionally
bzr revid: xmo@openerp.com-20130904105318-ib5gwejlplozo12d
2013-09-04 12:53:18 +02:00
Launchpad Translations on behalf of openerp 6186327ac5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130830052438-jvtrussyel6pvhct
bzr revid: launchpad_translations_on_behalf_of_openerp-20130831052818-otlyca13ztra51hb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130904050324-d39zv23qepnx3bzm
2013-09-04 05:03:24 +00:00
Olivier Dony 1b004bce32 [FIX] ir.filters: deduplicate redundant ACL on ir.filters
By default everybody should be able to read and modify
filters, and this is coupled with a global ir.rule that
only permits viewing and touching global filters and
owned filters.

bzr revid: odo@openerp.com-20130903172606-7vn0z2gz71urfdtz
2013-09-03 19:26:06 +02:00
ddm a7d956cf93 Fix
bzr revid: ddm@openerp.com-20130830144040-u7ae70fmw545ej7n
2013-08-30 16:40:40 +02:00
Cecile Tonglet 37ce63ef6f [FIX] Skip register reports that have xsl but no xml
bzr revid: cto@openerp.com-20130830125428-s1ameps865er1r7f
2013-08-30 14:54:28 +02:00
Christophe Simonis b5f38f8b7d [FIX] html_sanitize: allow new semantic HTML5 tags
bzr revid: chs@openerp.com-20130830093253-o6lcg432wrt63ftt
2013-08-30 11:32:53 +02:00
Antony Lesuisse 9b9abd31af [FIX] switch silently to local modules
bzr revid: al@openerp.com-20130829150748-9oew9qzqwmzfhau5
2013-08-29 17:07:48 +02:00
Christophe Matthieu 7155455ddf [FIX] qweb: remove argument form t-att-argument if the content value is empty, None or False
bzr revid: chm@openerp.com-20130829132641-r4u6os0xw8ol424d
2013-08-29 15:26:41 +02:00
Xavier Morel e692f8b2be [FIX] Logger.getChild(suffix) — New in version 2.7.
bzr revid: xmo@openerp.com-20130829101715-vn8zn7cxntdgtleg
2013-08-29 12:17:15 +02:00
Christophe Matthieu c36bfe173e [MERGE] from trunk
bzr revid: chm@openerp.com-20130828161130-641xsmbr8xm53xjx
2013-08-28 18:11:30 +02:00
Denis Ledoux 055c4b94f2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5059 rev-id: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
bzr revid: dle@openerp.com-20130828135425-yuls3wav79znadt3
2013-08-28 15:54:25 +02:00
Denis Ledoux 57818bb779 [FIX]res_config: in _install_modules, result returned by button_immediate_install must be returned, in order to launch the action if there is one. TODO fix,at the moment, if there are missing modules, this return statement prevent their installation
bzr revid: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
2013-08-28 14:52:09 +02:00
Fabien Pinckaers 53824ea842 [MERGE] forward port fix from trunk for access rights on /shop
bzr revid: fp@tinyerp.com-20130828095443-pxll7f4cx8g20flm
2013-08-28 11:54:43 +02:00
Launchpad Translations on behalf of openerp ccbb4335ec Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130828050349-f8ozlg2e354f87ge
2013-08-28 05:03:49 +00:00
Launchpad Translations on behalf of openerp dc07d21f86 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130824053459-k3vf5zjfz0sjn6t6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051935-7croxf3zpoo1cvwk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130824053520-dpq7ulxrh0e06fd4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051953-hv03d787cy2sc9l4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051959-4r4bun8nvl6neyi5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130826051253-70i5qzbp5ttpsmb7
2013-08-26 05:12:53 +00:00
Fabien Pinckaers 7f92e03c13 [IMP] Code -> Sequence Type
bzr revid: fp@tinyerp.com-20130823095635-s3qvgp0y557sb2pb
2013-08-23 11:56:35 +02:00
Fabien Meghazi f60bd37d57 [IMP] ir ui view search view
bzr revid: fme@openerp.com-20130822084221-fiiklna0258cgusg
2013-08-22 10:42:21 +02:00
Fabien Meghazi 7781e1df23 [IMP] QWeb: allow t-call to use dynamic template name using string interpolation
bzr revid: fme@openerp.com-20130821153507-qlh3aaytsouupx1m
2013-08-21 17:35:07 +02:00
Xavier Morel 516c81b4fc [MERGE] flag indicating whether a view template is or is not a page
Used to list all existing CMS pages from the RTE's link dialog

bzr revid: xmo@openerp.com-20130821143404-r8hnemydlvg3cjvs
2013-08-21 16:34:04 +02:00
Fabien Meghazi 83d5da0a1d [FIX] QWeb: foreach does not correctly handle @t-as
bzr revid: fme@openerp.com-20130821140910-bara9ykq4j8lix0t
2013-08-21 16:09:10 +02:00
Xavier Morel 5684c5d286 [IMP] search_read code
bzr revid: xmo@openerp.com-20130821135853-i9g6cvi52onrmmte
2013-08-21 15:58:53 +02:00
Xavier Morel 4d1b266819 [IMP] don't allow template/@page and template/@inherit_id to coexist, makes no sense
bzr revid: xmo@openerp.com-20130821135844-oc05w3mt6s6nfni7
2013-08-21 15:58:44 +02:00
Olivier Dony 4d9c550d4c [MERGE] res.partner: skip recursive sync of `commercial` fields if none of them changed, courtesy of Holger Brunn (Therp)
lp bug: https://launchpad.net/bugs/1210186 fixed

bzr revid: odo@openerp.com-20130821135125-izp23cgkdphul5or
2013-08-21 15:51:25 +02:00
Olivier Dony 4eb9059480 [IMP] BaseModel.fields_view_get: warn about non-qualified *_view_ref references
lp bug: https://launchpad.net/bugs/1214799 fixed

bzr revid: odo@openerp.com-20130821122955-8c9z0mi8cu48rne3
2013-08-21 14:29:55 +02:00
Xavier Morel d8bf3892f3 [ADD] page attribute to views
This can be used to distinguish template views expected to be
available as web pages, and thus directly linkable. By opposition to
non-web views and template sections (reusables).

bzr revid: xmo@openerp.com-20130821121206-ebxsxrmyogcv7pnv
2013-08-21 14:12:06 +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
Fabien Meghazi 4a4169ba75 [FIX] QWeb: omit non elements when searching for template declaration
bzr revid: fme@openerp.com-20130821094535-9gnpix2wu5zmncnc
2013-08-21 11:45:35 +02:00
Olivier Dony e56a0c565f [MERGE] (Manual) Foward-port of addons 7.0 bugfix revid:odo@openerp.com-20130813082247-fz1cv55l82j9uo3l
res.partner: avoid including the address in the computed display name

bzr revid: odo@openerp.com-20130820152025-3yt7gtnaeztdt1nh
2013-08-20 17:20:25 +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
Christophe Simonis e78a83ac03 [FIX] browse records do not prefetch fields with groups
bzr revid: chs@openerp.com-20130819174930-xjzmrhuuuuwnbdg0
2013-08-19 19:49:30 +02:00
Christophe Simonis 815fc8f84a [FIX] browse records do not try to prefetch fields user can't read
bzr revid: chs@openerp.com-20130819164622-7cre7yqpvlyzsslj
2013-08-19 18:46:22 +02:00
Launchpad Translations on behalf of openerp d91ba409fd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130815055129-l249p9ncbc2h5ofe
bzr revid: launchpad_translations_on_behalf_of_openerp-20130815055040-zhr6j27dl2pml3xj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130817061604-2qsvxvuesqqeah0x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130818050455-fwt3xl3oyarv2ed8
2013-08-18 05:04:55 +00:00
Launchpad Translations on behalf of openerp 829ea61223 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130814045440-z3vkpqdecwzo9goa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130817052551-0rmhwu64ienjxlz6
2013-08-17 05:25:51 +00:00
Christophe Matthieu 346b9c2102 [IMP] qweb: catch orm,osv exception and return it
bzr revid: chm@openerp.com-20130814151018-i5m97i14cu71hisd
2013-08-14 17:10:18 +02:00
Fabien Meghazi 40c80e2ce4 [ADD] Added repr() and t-debug to QWeb
bzr revid: fme@openerp.com-20130813140809-qr12j6cy5ix4glsp
2013-08-13 16:08:09 +02:00
Rohan Nayani (Open ERP) b78fb03175 removed sun-Exta.ttf font from list
bzr revid: ron@tinyerp.com-20130813085617-up6r271dmzfkc452
2013-08-13 14:26:17 +05:30
Christophe Matthieu ff304bd424 [IMP] qweb: add the current error traceback into the qweb traceback, if they are an error of expression evaluation
bzr revid: chm@openerp.com-20130813084543-0d7qvwdrija43g71
2013-08-13 10:45:43 +02:00
Martin Trigaux 1fc7e4d532 [IMP] ir_translation: better log message
bzr revid: mat@openerp.com-20130813130109-yhvgipdy9m63jcqy
2013-08-13 15:01:09 +02:00
Martin Trigaux 2bac9b3353 [ADD] ir_translation: allow extra translations in folder i18n_extra
bzr revid: mat@openerp.com-20130813121258-q9y4kudhavndlod6
2013-08-13 14:12:58 +02:00
Launchpad Translations on behalf of openerp d42f9165d5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130804053658-dwot6056w0etx103
bzr revid: launchpad_translations_on_behalf_of_openerp-20130806050421-2fm8jer603073706
bzr revid: launchpad_translations_on_behalf_of_openerp-20130807050254-ey3bl55ur4w4qio2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130808045918-hj31pvyyoygb60c7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130809053540-o6koj5a8ykwghh9o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130812050623-2h40gxsfykcmjpmp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130813060620-3cgurvlsx2pj03cc
2013-08-13 06:06:20 +00:00
Chirag Dodiya (OpenERP Trainee) abb3122c2a [MERGE] merge with bzr merge lp:openobject-server
bzr revid: chiragdd7@gmail.com-20130813050340-9q3b6fse8sghtc2d
2013-08-13 10:33:40 +05:30
Xavier Morel de952ae352 [FIX] don't extract the root ir.ui.view as an embedded field
bzr revid: xmo@openerp.com-20130812121121-e3ch0b2u5j1u3ytp
2013-08-12 14:11:21 +02:00
Xavier Morel 212f088aea [MERGE] from trunk-website-al
bzr revid: xmo@openerp.com-20130812075650-sv5v98kuuifaog2z
2013-08-12 09:56:50 +02:00
Xavier Morel fc2d751eb3 [IMP] dict.get's default is None, remove pointless explicit defaults
bzr revid: xmo@openerp.com-20130812075044-8d4nc5dscarbu1vj
2013-08-12 09:50:44 +02:00
Fabien Meghazi bf9bb35039 [ADD] Qweb __stack__ and __caller__ in QWeb rendering context
bzr revid: fme@openerp.com-20130812105211-r2ct4wjf2hj8gbeu
2013-08-12 12:52:11 +02:00
Xavier Morel fcdbfe364d [IMP] dict.get's default is None, remove pointless explicit defaults
bzr revid: xmo@openerp.com-20130812075044-ko8hozdnz2b5c3vk
2013-08-12 09:50:44 +02:00
Xavier Morel db5e36efa3 [FIX] rewrite ir_ui_view.save with new semantics, xpath fixes
since lxml provides built-in tools to generate the path for a node in a tree, don't reimplement it manually

bzr revid: xmo@openerp.com-20130812074509-yopeb4pxtsads4d9
2013-08-12 09:45:09 +02:00
Fabien Pinckaers 75ee4fc7a2 [IMP] module cateogry website
bzr revid: fp@tinyerp.com-20130811135837-66wgnhzux3js9uvm
2013-08-11 15:58:37 +02:00
Fabien Pinckaers 0c768d8703 [IMP] Added one2many symetry
bzr revid: fp@tinyerp.com-20130811102831-x5jvza7oi69ck2sx
2013-08-11 12:28:31 +02:00
Fabien Pinckaers e59fe5ff90 [FIX] keep t as template name for templates
bzr revid: fp@openerp.com-20130810203756-votwz009a3m3bf2b
2013-08-10 22:37:56 +02:00
Fabien Pinckaers 97760d0af3 [FIX] typo
bzr revid: fp@tinyerp.com-20130810141307-zopo49miu378pyf4
2013-08-10 16:13:07 +02:00
Fabien Pinckaers ddd75c0b23 [FIX] typo
bzr revid: fp@tinyerp.com-20130810133924-462pnkxctqnim36j
2013-08-10 15:39:24 +02:00
Fabien Pinckaers 0adaae13fb [IMP] Allows to put a name on views
bzr revid: fp@tinyerp.com-20130810133805-f1bzaaet7s1c8g9b
2013-08-10 15:38:05 +02:00
Fabien Pinckaers 14e555d920 [IMP] support for inherit_option_id, <template> for inherited views
bzr revid: fp@tinyerp.com-20130810132449-tckikyrtqcawnzor
2013-08-10 15:24:49 +02:00
Xavier Morel 2a2398eaf9 [IMP] lxml doc recommends using .get/.set/.keys/.values/.items for attributes manipulation where possible
bzr revid: xmo@openerp.com-20130809135141-114l6262wdts0i43
2013-08-09 15:51:41 +02:00
Xavier Morel 45d5d2f0e1 [IMP] tpl_id should already be a string
bzr revid: xmo@openerp.com-20130809134746-3mgio3vaedt93l3u
2013-08-09 15:47:46 +02:00
Xavier Morel 493bfc9374 [FIX] omagerd don't completely misuse lxml in retarded ways
bzr revid: xmo@openerp.com-20130809134524-wldxjgda13sl21fa
2013-08-09 15:45:24 +02:00
Xavier Morel 2e7dab82cb [IMP] don't use dict.get when not handling None result anyway
bzr revid: xmo@openerp.com-20130809134444-ijl0u4glzuufylby
2013-08-09 15:44:44 +02:00
Thibault Delavallée 292ecbb301 [FIX] workflows: fixed a regression in transition check, group attribute on transaction is group_id, not groups_id
bzr revid: tde@openerp.com-20130809105122-a1433kqvznj4sntp
2013-08-09 12:51:22 +02:00
Fabien Meghazi cc3ef85dd7 [WIP] eval globals - will check safe_eval later
bzr revid: fme@openerp.com-20130808223938-5sp7vrnejmxtg7j6
2013-08-09 00:39:38 +02:00
Fabien Meghazi a467b2d0ef [IMP] Qweb, use undefined handler
bzr revid: fme@openerp.com-20130808182218-3a9vb97gx49alyzz
2013-08-08 20:22:18 +02:00
Holger Brunn 89851d6108 [IMP] improve readability
bzr revid: hbrunn@therp.nl-20130808181806-mdsrcltl8r526sr6
2013-08-08 20:18:06 +02:00
Fabien Meghazi 2d4452c2da [FIX] QWeb expression evaluation + undefined variable management WIP
bzr revid: fme@openerp.com-20130808181138-klb1hs9cfsvzrle4
2013-08-08 20:11:38 +02:00
Holger Brunn 9af99b6000 [FIX] only descend to children when necessary
lp bug: https://launchpad.net/bugs/1210186 fixed

bzr revid: hbrunn@therp.nl-20130808161339-7y5dtwacb1ed7fcp
2013-08-08 18:13:39 +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
Fabien Meghazi 83055fb904 [IMP] pynazilint
bzr revid: fme@openerp.com-20130808080742-do371111f1rmq3n0
2013-08-08 10:07:42 +02:00
Christophe Simonis 98fda4690a [MERGE][ADD] add css for module html description
bzr revid: chs@openerp.com-20130807155940-scd4lb0eoi6364kd
2013-08-07 17:59:40 +02:00
Fabien Meghazi 89a6d2744c [FIX] make QWeb usable in standalone mode
bzr revid: fme@openerp.com-20130807133939-3c2jxg5btjj8d2rq
2013-08-07 15:39:39 +02:00
Christophe Matthieu 2e88574a57 [IMP] res.partner: add us country for demo data
bzr revid: chm@openerp.com-20130807090054-5sa1vst28w9exenw
2013-08-07 11:00:54 +02:00
Thibault Delavallée d1e7ad9be6 [IMP] tools: added a regex for bounce email addresses
bzr revid: tde@openerp.com-20130806151018-0uom07dbr8b7ycb3
2013-08-06 17:10:18 +02:00
Fabien Meghazi 1b40e9265f [FIX] Replace views string interpolation by manual replacement.
No need to double % in views anymore

bzr revid: fme@openerp.com-20130806113626-t7y3v1trtfdtitar
2013-08-06 13:36:26 +02:00
Martin Trigaux 122f0aa9b3 [FIX] workerst: revert commit 4930, remove useless loop and if condition always validated
bzr revid: mat@openerp.com-20130806094222-w61oolrjo66ulg3n
2013-08-06 11:42:22 +02:00
Christophe Matthieu 81ae0babf2 [FIX] qweb: many2one field = False
bzr revid: chm@openerp.com-20130806091554-dpjl4ienh21c14zi
2013-08-06 11:15:54 +02:00
Martin Trigaux f47ac59b38 [IMP] workers: remove unused code, _acquire_job does not return any value
lp bug: https://launchpad.net/bugs/1193399 fixed

bzr revid: mat@openerp.com-20130806091032-5w6km2pmbl20zicl
2013-08-06 11:10:32 +02:00
Christophe Matthieu bf44e33c87 [FIX] qweb: access right for name_get on many2one field
bzr revid: chm@openerp.com-20130806090704-4igjnhsuwi59hkpm
2013-08-06 11:07:04 +02:00
Christophe Matthieu 3f90f2c5e5 [IMP] qweb: clean code
bzr revid: chm@openerp.com-20130805154542-l7dovsfikqk4l32y
2013-08-05 17:45:42 +02:00
Frédéric van der Essen bd81cfd1f2 [FIX] only self-close void elements
bzr revid: fva@openerp.com-20130805130605-8decmjyplrstszgp
2013-08-05 15:06:05 +02:00
Christophe Matthieu 343ff62c8c [FIX] qweb: div autoclose
bzr revid: chm@openerp.com-20130805124236-59j42sm6ararml1t
2013-08-05 14:42:36 +02:00
Christophe Matthieu d535b45810 [MERGE] from website-al
bzr revid: chm@openerp.com-20130805083938-xquerxe417mmvh73
2013-08-05 10:39:38 +02:00
Fabien Pinckaers b8f5817c8b [IMP] branding distribution in views
bzr revid: fp@openerp.com-20130804205215-0g8fvzy8aducrc3v
2013-08-04 22:52:15 +02:00
Fabien Pinckaers f8a71e4a87 [FIX] eval t-field
bzr revid: fp@openerp.com-20130804202720-4bxsshh2ykzkjo7a
2013-08-04 22:27:20 +02:00
Fabien Pinckaers 9c0cf69509 [IMP] changed t-field syntax from <div t-record=record t-field='field'/> to <div t-field='record.field'/>
bzr revid: fp@openerp.com-20130804202331-plkhcfry1zg880rx
2013-08-04 22:23:31 +02:00
Launchpad Translations on behalf of openerp cbf3ad9f60 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803055504-6ay7gnpxm1jno8g3
2013-08-03 05:55:04 +00:00
Xavier Morel bfd97c110f [FIX] typo in attribute name, don't distribute on t-field
bzr revid: xmo@openerp.com-20130802114606-ef0pddt2uhc4ghlj
2013-08-02 13:46:06 +02:00
Xavier Morel 4cc13f0625 [IMP] branding distribution
* don't serialize subtrees to string all the time
* don't add XML root and prefix by string munging
* extract trigger and moved branding attributes to constants
* reduce unnecessary nesting
* don't brand sub-elements of head

bzr revid: xmo@openerp.com-20130802104208-rirrsgtxp2lydd7m
2013-08-02 12:42:08 +02:00
Christophe Matthieu 17b6f1be30 [FIX] qweb.py: encode in utf8 for special char and ascii code
bzr revid: chm@openerp.com-20130802040222-ew2aaxaogli86n6s
2013-08-02 06:02:22 +02:00
Christophe Matthieu f6172723d0 [MERGE] from trunk
bzr revid: chm@openerp.com-20130801124635-yj8xny76sl5ea0r2
2013-08-01 14:46:35 +02:00
Rifakat 3ba9415e80 [IMP] removed unused user pool
bzr revid: rha@tinyerp.com-20130801063502-g2u9l8ave9sd7kim
2013-08-01 12:05:02 +05:30
Rifakat acd76079ba [FIX] fix demo data problem, now able to assign company to existing partner which does not have
any company. Did small variable name change

bzr revid: rha@tinyerp.com-20130801062706-imbu9ac2nimbd28f
2013-08-01 11:57:06 +05:30
Fabien Pinckaers 402907df8d [FIX] removed print statement that crashes on runbot ascii
bzr revid: fp@openerp.com-20130731191544-nbyrlxz2xzycammn
2013-07-31 21:15:44 +02:00
Vo Minh Thu a507a9ea05 [MERGE] workflows: added some documentation and some tests.
bzr revid: vmt@openerp.com-20130731151636-05lgd5i08rie6yqp
2013-07-31 17:16:36 +02:00
Vo Minh Thu 07f5e9a4d6 [REM] workflows: removed temporary run.py script from the tests.
bzr revid: vmt@openerp.com-20130731151104-mxo8qu5x12krto0h
2013-07-31 17:11:04 +02:00
Fabien Meghazi 390c968e17 [FIX] fix t-ignore
bzr revid: fme@openerp.com-20130731150422-p48vmtulerqqa4b9
2013-07-31 17:04:22 +02:00
niv-openerp 245b009a0b [FIX] avoid error message in the web client when we go on the Apps menu, replace it with a warning message explaining that the apps is not working currently
bzr revid: nicolas.vanhoren@openerp.com-20130731144129-x9po16ihtbp4rj8m
2013-07-31 16:41:29 +02:00
Antony Lesuisse 656836cee9 apps warning non sticky
bzr revid: al@openerp.com-20130731142612-s71o7uh9s2soovh8
2013-07-31 16:26:12 +02:00
Martin Trigaux ef3e11c03d [FIX] res_currency: pass context to currency function
bzr revid: mat@openerp.com-20130731123812-oztjyktifs23lhi9
2013-07-31 14:38:12 +02:00
Fabien Meghazi a17606df0f [ADD] t-ignore branding opt-out
bzr revid: fme@openerp.com-20130731123603-y7dmh6rxr2lq9bcw
2013-07-31 14:36:03 +02:00
Martin Trigaux 3393aa645c [FIX] res_currency: update linked tests
bzr revid: mat@openerp.com-20130731111054-g5p094izprzok3eo
2013-07-31 13:10:54 +02:00
Martin Trigaux fc2eb46b40 [IMP] res_currency: more modular solution
bzr revid: mat@openerp.com-20130731110525-garlkomohzcyp4pd
2013-07-31 13:05:25 +02:00
Christophe Matthieu ad6efa7735 [FIX] qweb.py: render_tag_field
bzr revid: chm@openerp.com-20130731102140-uk1tg9p092sqymzp
2013-07-31 12:21:40 +02:00