Commit Graph
25 Commits
Author SHA1 Message Date
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
fwi-odoo d4e813b873 [REF] web, *: change deprecated import openerp.addons.web.http to odoo.http
We also remove the mock in web as there is no need for it anymore.
2016-08-03 13:42:05 +02:00
fwi-odoo 7d487c00a6 [IMP] web: remove void file, replace openerp tags, add license, clean imports 2016-08-03 13:42:00 +02:00
Géry Debongnie 9c68bc7482 [REF] point_of_sale,web(site): move session info into page source
This commit introduces a mechanism to add information into the session
from a different module, without having to fetch it manually with a rpc.
This is intended to be used with small pieces of info required at the
start of the web client, such as currency informations.

To add information to the session, one can simply inherit from ir.http
and modify the session_info method.
2016-05-30 09:23:07 +02:00
Christophe Simonis fc760dd0d0 [FIX] web: no need to initialize wsgi handler in postload anymore
bzr revid: chs@openerp.com-20140324093038-3nguocje3lia03jp
2014-03-24 10:30:38 +01:00
Antony Lesuisse af1c00ac3b [FIX] typo remove import
bzr revid: al@openerp.com-20140316173911-e4z89t8bgoxvz6bl
2014-03-16 18:39:11 +01:00
Antony Lesuisse 401099d358 [IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api
bzr revid: al@openerp.com-20131027171717-dzqx2264p152lq8y
2013-10-27 18:17:17 +01:00
Antony Lesuisse 4040b8caa6 [IMP] testjs command
To tun the tests:

  createdb t
  /server/openerp-server --addons-path=addons,web/addons server -d t -i web_tests_demo

Once the server is ready, run, in an other shell:

  /server/openerp-server --addons-path=addons,web/addons testjs

bzr revid: al@openerp.com-20121209024810-cdi2s9ftr97x8l5p
2012-12-09 03:48:10 +01:00
Antony Lesuisse ae6ff0764b web remove common, fix imports
bzr revid: al@openerp.com-20121010203753-azrcz3k2kd44ni24
2012-10-10 22:37:53 +02:00
Antony Lesuisse bc3cf0b74f rm files, move postload hook
bzr revid: al@openerp.com-20121006171053-qggp1r5263h7v7vd
2012-10-06 19:10:53 +02:00
Xavier Morel af8864d571 [FIX] imports to handle conflicts with e.g. web.py in embedded mode
bzr revid: xmo@openerp.com-20120210103426-b20ass3mwx2ay9c4
2012-02-10 11:34:26 +01:00
Florent Xicluna 4d208734ec [FIX] missing imports and typo in __all__.
bzr revid: florent.xicluna@gmail.com-20120116183328-m9isnoipj8taeke3
2012-01-16 19:33:28 +01:00
Antony Lesuisse f0b7f221ce [IMP] append username in session directory
bzr revid: al@openerp.com-20120112192534-fc2eilownqwwnssl
2012-01-12 20:25:34 +01:00
Antony Lesuisse 0d79dca93f [IMP] cleanup of web.common
bzr revid: al@openerp.com-20111005175826-7fzk3wesvz198kpm
2011-10-05 19:58:26 +02:00
Antony Lesuisse 4ec1113d94 [IMP] deprecate web_preload in favor of --load, server_wide_modules config option
bzr revid: al@openerp.com-20110930201018-aw9s26iqyd6rns05
2011-09-30 22:10:18 +02:00
Antony Lesuisse 211713396a [IMP] multiple addons-path
bzr revid: al@openerp.com-20110926125330-9ddpet3tdho3gq2o
2011-09-26 14:53:30 +02:00
Antony Lesuisse cd95f48ee7 [IMP] dbfilter option from openerp-server in embedded mode
bzr revid: al@openerp.com-20110925005523-krlap0jdgc5ukott
2011-09-25 02:55:23 +02:00
Antony Lesuisse c845bef206 [IMP] web.common.sesion local backend part2
bzr revid: al@openerp.com-20110924165705-c0wd7hcup9ib74ry
2011-09-24 18:57:05 +02:00
Antony Lesuisse 0a02a38739 [IMP] web.common.sesion local backend part1
bzr revid: al@openerp.com-20110924163828-gbys8t65gyz0qkcu
2011-09-24 18:38:28 +02:00
niv-openerp 47f152d499 [imp] modified wsgi loading according to vmt indications
bzr revid: nicolas.vanhoren@openerp.com-20110916110347-1ep18zoyskz9kysz
2011-09-16 13:03:47 +02:00
Antony Lesuisse e242cb4ab6 [IMP] options backend local or rpc
bzr revid: al@openerp.com-20110914085127-16ovkmi77fimsmoh
2011-09-14 10:51:27 +02:00
niv-openerp 82b4166fac [imp] replaced print by logger
bzr revid: nicolas.vanhoren@openerp.com-20110912093811-z9burx7wa8s87032
2011-09-12 11:38:11 +02:00
niv-openerp 9f6871f5f3 [fix] problem with wsgi
bzr revid: nicolas.vanhoren@openerp.com-20110912091743-igkuihl7a7d0rm7h
2011-09-12 11:17:43 +02:00
Antony Lesuisse df5dd1f7b7 [IMP] hack to register the wsgi handler when running embbeded in openerp-server.
bzr revid: al@openerp.com-20110909160039-6ddslilpttvhubad
2011-09-09 18:00:39 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00