Commit Graph

603 Commits

Author SHA1 Message Date
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
ddm a7d956cf93 Fix
bzr revid: ddm@openerp.com-20130830144040-u7ae70fmw545ej7n
2013-08-30 16:40:40 +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
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 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 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 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
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
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
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
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
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
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
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
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
Christophe Matthieu 81ae0babf2 [FIX] qweb: many2one field = False
bzr revid: chm@openerp.com-20130806091554-dpjl4ienh21c14zi
2013-08-06 11:15:54 +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 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
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 ad6efa7735 [FIX] qweb.py: render_tag_field
bzr revid: chm@openerp.com-20130731102140-uk1tg9p092sqymzp
2013-07-31 12:21:40 +02:00
Christophe Matthieu 443129ca7a [IMP] qweb: fix for many2one with None value
bzr revid: chm@openerp.com-20130730150905-9qh0y5geug9uz2v9
2013-07-30 17:09:05 +02:00
Christophe Matthieu 27b69126d2 [MERGE] from trunk
bzr revid: chm@openerp.com-20130726141834-9nroj7wi4fjhd5s4
2013-07-26 16:18:34 +02:00
Xavier Morel 1cb4b63da8 [IMP] add field type to QWeb t-record output
bzr revid: xmo@openerp.com-20130726133505-n2ekzhk2dkbdvvdj
2013-07-26 15:35:05 +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
Fabien Meghazi 31cd39e0df [FIX] templates: Set tagname for qweb
bzr revid: fme@openerp.com-20130722105938-49hcqq8ip5xsid8h
2013-07-22 12:59:38 +02:00
Fabien Meghazi cb56924437 [ADD] xml data <template> helper
bzr revid: fme@openerp.com-20130722101210-idtrfwva7e903oq8
2013-07-22 12:12:10 +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
Christophe Simonis 58a4677f46 [FIX] qweb: t-field must search all_columns
bzr revid: chs@openerp.com-20130702204949-nqzhz226d24fvthx
2013-07-02 22:49:49 +02:00