Commit Graph

404 Commits

Author SHA1 Message Date
Thibault Delavallée 382efffb58 [MERGE] [CLEAN] Part I of cleaning and improvements of the server branch of website-al, after review with our Masters. All Glory to Our Masters.
[CLEAN] res_config, res_users: cleaned call to imd.get_object() + code cleaning
- res_config: raise by default, no need to set the argument at True
- res_users: directly embedded get_user_groups_view code inside update_user_groups_view.
The try / except is still necessary, because when installing a new db, groups and users
are created before the user_groups_view view effectively exist. Due to some circular
references, the try / except is therefore necessary to install a new db.

[CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins
- removed undefined_handler, hardcoded to a lambda function that returns None for
a missing attribute
- cleaned code, removed now dead BUILTINS, removed commented code
- tools.safe_eval: added a parameter locals_builtins. This allows to copy the globals builtins in the locals. This modification is due to the fact that the locals always returns None, allowing to simplify templates. Otherwise we would have to test the existence of each variable before actually using it. However as the locals always return None for every key, the globals are never checked. Copying the builtins inside the local allows to have a complete locals, but slightly break the globals/locals separation.

[CLEAN] Misc
- setup.py: reverted website-al unnecessary change
- oe: reverted website-al unnecessary change

[DOC] renamed misc_qweb.rst file into ir_qweb.rst

bzr revid: tde@openerp.com-20140116184144-fd5h4a94we13mm72
2014-01-16 19:41:44 +01:00
Xavier Morel ff51574fae [FIX] somebody renamed classes without fixing the corresponding autodoc invocation
bzr revid: xmo@openerp.com-20140116144957-j2no6ls83vfxtgbk
2014-01-16 15:49:57 +01:00
Thibault Delavallée 051ef6d01f [CLEAN] [DOC] renamed misc_qweb.rst file into ir_qweb.rst
bzr revid: tde@openerp.com-20140116125222-aag6zfjprbbnuhcu
2014-01-16 13:52:22 +01:00
Xavier Morel f6a5800d59 [ADD] ability to disable fields escaping
bzr revid: xmo@openerp.com-20131216092330-2v50c8uzzsb3qp8q
2013-12-16 10:23:30 +01:00
Xavier Morel b67b3da6bf [FIX] may work better with the actual documentation added
bzr revid: xmo@openerp.com-20131202085158-k3xhbhrn9y1hwk8y
2013-12-02 09:51:58 +01:00
Xavier Morel a86a8e8431 [ADD] some doc for custom qweb converters
bzr revid: xmo@openerp.com-20131202084439-tytk83gjjutf3e52
2013-12-02 09:44:39 +01: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
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
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
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
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
alexandre.fayolle@camptocamp.com cebc744117 [IMP] update the documentation patch
add all supported attributes
add list of supported views
add example use case
add information about the default value of these attributes

bzr revid: alexandre.fayolle@camptocamp.com-20130904125842-wza567qnuc2m9gdu
2013-09-04 14:58:42 +02:00
alexandre.fayolle@camptocamp.com ad1ed63670 [IMP] document create/delete=false in view definitions
lp bug: https://launchpad.net/bugs/1219655 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130902062641-f8hzfnfo7ci2b9jy
2013-09-02 08:26:41 +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
Olivier Dony c57b85ed53 [DOC] minor wording/formatting/nitpicking on top of previous patch
bzr revid: odo@openerp.com-20130821115822-kd9d8m1upvo5wiux
2013-08-21 13:58:22 +02:00
Olivier Dony 7ce2c64eb4 [MERGE] [DOC] make it explicit that the module name is mandatory when specifying a sub view via the context, courtesy of Alexandre Fayolle (Camptocamp)
bzr revid: odo@openerp.com-20130821115249-qv06t608ajo0f8yi
2013-08-21 13:52:49 +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
alexandre.fayolle@camptocamp.com 1fdbbdda69 [FIX] [DOC] make it explicit that the module name is mandatory when specifying a sub view via the context
lp bug: https://launchpad.net/bugs/1214799 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130821094913-2frk2550b4szka5s
2013-08-21 11:49:13 +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
Olivier Dony 0995418289 [DOC] changelog: more details
bzr revid: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
2013-08-20 11:11:57 +02:00
Martin Trigaux 8255bccb6d [ADD] changelog file with support of i18n_extra folder
bzr revid: mat@openerp.com-20130813140300-g9amgza8h9w1lt4j
2013-08-13 16:03:00 +02:00
Thibault Delavallée 5cd4957ef1 [DOC] Added change in changelod.
bzr revid: tde@openerp.com-20130808124631-g15336v3p0mfhayt
2013-08-08 14:46:31 +02:00
Christophe Matthieu f6172723d0 [MERGE] from trunk
bzr revid: chm@openerp.com-20130801124635-yj8xny76sl5ea0r2
2013-08-01 14:46:35 +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 3d1d7ee39c [DOC] workflows: typos, and removed inaccurate environment symbols.
bzr revid: vmt@openerp.com-20130731150943-etfvn08fnkhcecvt
2013-07-31 17:09:43 +02:00
Raphael Collet 3c0d11271e [IMP] doc: improve workflow documentation
bzr revid: rco@openerp.com-20130731135814-386v5w6rkc40kwwv
2013-07-31 15:58:14 +02:00
Christophe Matthieu 27b69126d2 [MERGE] from trunk
bzr revid: chm@openerp.com-20130726141834-9nroj7wi4fjhd5s4
2013-07-26 16:18:34 +02:00
Thibault Delavallée 0a4fd128e0 [ADD] ir_actions: added documentation
bzr revid: tde@openerp.com-20130726101545-o4mtnaz18cni4pm3
2013-07-26 12:15:45 +02:00
Thibault Delavallée f737eb63d0 [IMP] ir_actions_server: added doc + comments + recursion check
orm: added _check_m2my_recursion, to check loops in many2many recursive fields
tools: removed sms_send

bzr revid: tde@openerp.com-20130725104914-dutxfon3odp8z167
2013-07-25 12:49:14 +02:00
Vo Minh Thu b7f02c329e [DOC] workflows: added Kinds section.
bzr revid: vmt@openerp.com-20130725094219-tintybvpdl5izdca
2013-07-25 11:42:19 +02:00
Thibault Delavallée 7c5429e0d1 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725083500-xp21mgp9w2cu8vzi
2013-07-25 10:35:00 +02:00
Vo Minh Thu 33ab08b8b3 [DOC] workflows: added remaining sections for the Activities.
bzr revid: vmt@openerp.com-20130724152518-gab0fa44t8a81u30
2013-07-24 17:25:18 +02:00
Vo Minh Thu eff32c650c [DOC] workflows: added Subflow section.
bzr revid: vmt@openerp.com-20130724135102-2zzaoqpjpebim59k
2013-07-24 15:51:02 +02:00
Vo Minh Thu 86c544d202 [DOC] workflows: added Flow start and flow stop section.
bzr revid: vmt@openerp.com-20130724123741-jf3l9w3flxf7ty4k
2013-07-24 14:37:41 +02:00
Vo Minh Thu 8501e89735 [DOC] workflows: improved Triggers section.
bzr revid: vmt@openerp.com-20130723151249-oa18owwzg82ea79t
2013-07-23 17:12:49 +02:00
Vo Minh Thu 3f9fb6eacc [DOC] workflows: added Signals section.
bzr revid: vmt@openerp.com-20130723132751-lwn5r6y1m51jhj9o
2013-07-23 15:27:51 +02:00
Vo Minh Thu b5068764ad [DOC] workflows: added Conditions section.
bzr revid: vmt@openerp.com-20130723125143-20n8ukewixxbkbt4
2013-07-23 14:51:43 +02:00
Vo Minh Thu 9357ed959a [DOC] workflows: started to write some workflow documentation.
bzr revid: vmt@openerp.com-20130723112147-wje0mt5e1a59zj68
2013-07-23 13:21:47 +02:00
Thibault Delavallée 62bcae6fcc [REF] ir.actions.server: cleaning and refactoring.
Main modifications:
- removed dummy, email (now coming with email_template), loop, sms
- cleaned code, made it easy to override
- improved view to ease the definition of new server actions
- changed/updated fields
- added tests
- added changelog

bzr revid: tde@openerp.com-20130715152424-deucc2rlg2ax3tyc
2013-07-15 17:24:24 +02:00
Thibault Delavallée 35c73992c5 [DOC] Added changelog for this branch
bzr revid: tde@openerp.com-20130709134341-9qf3blsiq2sd8l81
2013-07-09 15:43:41 +02:00
Antony Lesuisse f4332b9b60 [MERGE] trunk
bzr revid: al@openerp.com-20130625162755-d6552p98m5jiw941
2013-06-25 18:27:55 +02:00
Quentin (OpenERP) 31d05360b2 [REF] fields: removed deprecated view_load attribute and removed useless first argument in property fields definition
bzr revid: qdp-launchpad@openerp.com-20130619091332-29pisdnyfemn1u3d
2013-06-19 11:13:32 +02:00
Martin Trigaux eac496bb64 [IMP] doc: add changelog for changes in addons revision 8753
bzr revid: mat@openerp.com-20130621074428-tljs9v8rxd891quf
2013-06-21 09:44:28 +02:00
Xavier Morel 45bb6ec7f1 [ADD] file field type in xml_convert, tests
bzr revid: xmo@openerp.com-20130429112459-ol1ayn2z34j32r54
2013-04-29 13:24:59 +02:00
Vo Minh Thu e7bd5fd40d [IMP] doc: added missing images.
bzr revid: vmt@openerp.com-20130328163059-8rwu3xcvmg0l27dw
2013-03-28 17:30:59 +01:00
Vo Minh Thu 76802bc8bf [IMP] doc: actually use the images in the .rst.
bzr revid: vmt@openerp.com-20130328161719-0x6ugso3hm2k5ha4
2013-03-28 17:17:19 +01:00
Vo Minh Thu ec8c66f133 [ADD] doc: added Form View Guidelines (authored by apr and rco).
bzr revid: vmt@openerp.com-20130328155941-5cxok3ymhiolrfo5
2013-03-28 16:59:41 +01:00
Vo Minh Thu 63222e389e [DOC] changelog updated to mention the new print_report().
bzr revid: vmt@openerp.com-20130325144055-kmoixbn2e40vr3vu
2013-03-25 15:40:55 +01:00
Vo Minh Thu 1683fc7abd [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322135152-1hdlptwj1qqqfz4z
2013-03-22 14:51:52 +01:00