Antony Lesuisse
7d22e1eb8c
[FIX] revert html_template is used by other modules. commit 2012 revid:nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
...
bzr revid: al@openerp.com-20120122233202-moq81q35qddjtlw8
2012-01-23 00:32:02 +01:00
Xavier Morel
ee0c76d2c5
[ADD] support for 'domain' key in result of onchange handlers
...
bzr revid: xmo@openerp.com-20120120110543-29ebq5u0ghp32hkv
2012-01-20 12:05:43 +01:00
Xavier Morel
9b54bdeb18
[ADD] dynamic view: handle setting domains via onchange
...
lp bug: https://launchpad.net/bugs/911676 fixed
bzr revid: xmo@openerp.com-20120120105608-zjbam8ki4uoqer5v
2012-01-20 11:56:08 +01:00
Xavier Morel
ccde5e2f5e
[REM] unused imports mistakenly added in revision xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
...
bzr revid: xmo@openerp.com-20120119155425-kud19lwt56du1ym9
2012-01-19 16:54:25 +01:00
Xavier Morel
f9cbad5bf6
[FIX] correctly display crash manager in case of report error
...
lp bug: https://launchpad.net/bugs/917227 fixed
bzr revid: xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
2012-01-19 15:48:37 +01:00
Christophe Simonis
c078d23d16
[FIX] avoid blank page when the database assigned to the session has been removed
...
bzr revid: chs@openerp.com-20120119143057-pbqdh15jptyc7y0a
2012-01-19 15:30:57 +01:00
Xavier Morel
03c5fd00a2
[MERGE] various style and code improvements, and overly broad exception handlers fixes
...
bzr revid: xmo@openerp.com-20120119095236-0ge089y2yhpcz8h3
2012-01-19 10:52:36 +01:00
Florent Xicluna
3ec4ad3201
[REF] code review.
...
bzr revid: florent.xicluna@gmail.com-20120119085213-94b2p3268q25bni2
2012-01-19 09:52:13 +01:00
niv-openerp
3e7c98f5e5
[imp] cleared main html
...
bzr revid: nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
2012-01-18 17:17:35 +01:00
Vo Minh Thu
75b3fc0907
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Xavier Morel
aeebcf3dcc
[FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body:
...
bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
2012-01-17 15:02:13 +01:00
Xavier Morel
e99358e2fa
[IMP] Xml2JSON: remove useless class indirection and unused methods
...
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
2012-01-17 10:47:48 +01:00
Vo Minh Thu
3203d264ae
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120116110631-lrzp6uxsjki7by22
2012-01-16 12:06:31 +01:00
Vo Minh Thu
1497062ba1
[IMP] Removed the openerp.addons prefix when loading modules
...
in stand-alone mode. Changed the import web.common to relative import
(because the the import-hook in the server is not able to load
modules with self-referential import).
bzr revid: vmt@openerp.com-20120116104329-k68li2vul4b3j7ry
2012-01-16 11:43:29 +01:00
Xavier Morel
c54d3337e6
[FIX] avoid having the XML concatenator blow up when passed an empty list of files ~/projects/tiny/web/current
...
turns out ElementTree has a hard time XML-serializing ``None`` (who'd
have guessed...), which is what it gets told to do when concat_xml is
called with an empty list of files.
Return an empty string and no timestamp (should probably be one there
at some point, but...) and fix the QWeb loader to not do anything when
it gets an empty template file.
bzr revid: xmo@openerp.com-20120113150641-6i3ot1jg7r3kpw3d
2012-01-13 16:06:41 +01:00
Xavier Morel
a76f6d2a4e
[FIX] concatenated JS files blowing up when not terminated with a semicolon
...
If the final semicolon of an openerp module is forgotten and the next
file starts with an expression (such as a parens, because it's a
third-party module using the module pattern, see Backbone.js or jQuery
for examples), the JS parser will not perform semicolon insertion and
will instead try to execute the module's wrapper/initializer function
by passing it whatever follows it (generally an other function).
This usually results in an error and stuff blowing out everywhere for
no obvious reason.
Concatenation of JS files now adds an explicit semicolon between files
(ideally it should only add one if it's missing, but that would
require backtracking in the file while skipping comments &etc, can't
be arsed and double-semicolons don't hurt much) to avoid this issue.
bzr revid: xmo@openerp.com-20120113150110-47j90oishtjrib7s
2012-01-13 16:01:10 +01:00
Xavier Morel
c89d45b658
[IMP] display a warning and disable excel export option when XLWT is not installed
...
lp bug: https://launchpad.net/bugs/915347 fixed
bzr revid: xmo@openerp.com-20120113090611-lmiu5y7y7b9td8hg
2012-01-13 10:06:11 +01:00
vishmita
fb7d6b2111
[FIX]attachment without fname_attachment.
...
lp bug: https://launchpad.net/bugs/909069 fixed
bzr revid: vja@vja-desktop-20120111125501-3jh2u9oyvt92ble9
2012-01-11 18:25:01 +05:30
Xavier Morel
d54a196811
[IMP] correctly handle filenames in list view binaries
...
bzr revid: xmo@openerp.com-20120110155020-ab02qb0ktlfxnwvb
2012-01-10 16:50:20 +01:00
Xavier Morel
d98b8b8be0
[ADD] handling of binary fields to the listview
...
bzr revid: xmo@openerp.com-20120110153905-zxqkze9c4zrkmv2a
2012-01-10 16:39:05 +01:00
Xavier Morel
ee9a9558c0
[IMP] add doc to Binary.saveas, and rename a field for clarity
...
bzr revid: xmo@openerp.com-20120110143518-ircd8x1feyf5rquf
2012-01-10 15:35:18 +01:00
niv-openerp
0f724c68f8
[imp] added method to call a model method with kwargs
...
bzr revid: nicolas.vanhoren@openerp.com-20120106103219-4t633kov3hsz50tj
2012-01-06 11:32:19 +01:00
niv-openerp
2f1dace76a
[fix] rollback 1873 & 1871 to correct bugs related to login page & dialogs
...
bzr revid: nicolas.vanhoren@openerp.com-20120104155329-tfk6gt4mjhme82od
2012-01-04 16:53:29 +01:00
niv-openerp
f2cf2066a2
[imp] changed declaration of body
...
bzr revid: nicolas.vanhoren@openerp.com-20120104130952-61ti896e6pxgorps
2012-01-04 14:09:52 +01:00
niv-openerp
dcef579eae
[imp] modified web client to be a div instead of a body
...
bzr revid: nicolas.vanhoren@openerp.com-20120104113555-yiudv22gxr4s3k6k
2012-01-04 12:35:55 +01:00
niv-openerp
c6a2601c0c
[imp] nivified web client
...
bzr revid: nicolas.vanhoren@openerp.com-20120104091222-y5m7sacecxu1zmeb
2012-01-04 10:12:22 +01:00
Antony Lesuisse
9d6ed7815d
[FIX] decorator error
...
bzr revid: al@openerp.com-20111227193900-caazj8yj28hw009n
2011-12-27 20:39:00 +01:00
Antony Lesuisse
c59ad9cc1d
[MERGE] crashmanager openerp entreprise bth/rlo/chs
...
bzr revid: al@openerp.com-20111227155915-4s3fmuqzce9733il
2011-12-27 16:59:15 +01:00
Roberto López López (OpenERP)
7b2ece8ddc
merge
...
bzr revid: rlo@openerp.com-20111222115243-ht5rqa4j5bl7ie96
2011-12-22 12:52:43 +01:00
Roberto López López (OpenERP)
b3f7278d12
[IMP] working crash dialog
...
bzr revid: rlo@openerp.com-20111221171137-flojvtf10547ekfl
2011-12-21 18:11:37 +01:00
Christophe Simonis
9b5949e2c5
[ADD] specific url for direct login
...
bzr revid: chs@openerp.com-20111220150556-ffcaeae94w195gmt
2011-12-20 16:05:56 +01:00
Xavier Morel
75409e349a
[FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration
...
The default configuration for OpenERP Web standalone (launched via the
openerp-web script) is single-threaded for log-readability purposes.
web.common.controllers.main.Proxy.load has been added to wrap a
request to an HTTP handler inside a JSON (and/or JSONP) request, the
initial implementation was to perform a full HTTP call *from within an
HTTP handler to itself*.
Since the server is single-threaded and its only thread is already
busy, it can't handle the new request, and the client deadlocks.
Replaced this crap by also-crap-but-slightly-less-so: instantiating a
Werkzeug test client using the root application and proxying the
request through that. Avoids creating a new request from the server,
therefore does not deadlock.
lp bug: https://launchpad.net/bugs/905384 fixed
bzr revid: xmo@openerp.com-20111219145759-m10zgo3tcd6zjhcu
2011-12-19 15:57:59 +01:00
Xavier Morel
2989c829f7
[FIX] exclude function fields from import_compatible export and from all imports
...
bzr revid: xmo@openerp.com-20111216114941-fr6wsfabxfqf86xw
2011-12-16 12:49:41 +01:00
Antony Lesuisse
d315489256
[FIX] session cookie and logout
...
bzr revid: al@openerp.com-20111216012542-svbiuf64x017wll5
2011-12-16 02:25:42 +01:00
Antony Lesuisse
8721df9d54
[IMP] massive connection deferrization, json works again
...
bzr revid: al@openerp.com-20111216004402-q6v26822swarra7r
2011-12-16 01:44:02 +01:00
Antony Lesuisse
2fd2f299b4
[MERGE] trunk
...
bzr revid: al@openerp.com-20111215184305-3yxw54l91psrz5d6
2011-12-15 19:43:05 +01:00
Antony Lesuisse
31e65bdddf
partial rework to merge trunk
...
bzr revid: al@openerp.com-20111215120732-is7pab5e5rsfqpj0
2011-12-15 13:07:32 +01:00
Kunal Chavda (OpenERP)
f1e25838b6
[FIX]Fixed code for showing size of upload file.
...
lp bug: https://launchpad.net/bugs/901068 fixed
bzr revid: kch@tinyerp.com-20111215102910-zjyp5rsp3wbugoyu
2011-12-15 15:59:10 +05:30
Olivier Dony
9835cebe19
[MERGE] Use the new authenticate() API instead of login()
...
Using the new authenticate() API instead allows to pass
a user-agent environment along with the credentials.
The main use for the UA environment at this point is
to pass the base URL used to login, so that the server
may initialize its "web.base.url" global config parameters
bzr revid: odo@openerp.com-20111213161554-jbtrp94aatcnibne
2011-12-13 17:15:54 +01:00
Xavier Morel
35895bde21
[FIX] regenerate action's views key if it is empty, not just if it's absent
...
lp bug: https://launchpad.net/bugs/903062 fixed
bzr revid: xmo@openerp.com-20111212101121-ljjmq6phxgse0qjq
2011-12-12 11:11:21 +01:00
Antony Lesuisse
78d3e74263
[IMP] remove yield easier debug
...
bzr revid: al@openerp.com-20111207140644-5e60tbovfhxdx4r9
2011-12-07 15:06:44 +01:00
Xavier Morel
edcbc3830e
[MERGE] trunk
...
bzr revid: xmo@openerp.com-20111207091404-1zdmhmsnvhveq7c4
2011-12-07 10:14:04 +01:00
Xavier Morel
41e8b3f92c
[FIX] correctly send context during graph's fields_get
...
lp bug: https://launchpad.net/bugs/898636 fixed
bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
2011-12-06 12:31:41 +01:00
Fabien Meghazi
ce41e645f7
[IMP] Better variable naming in xml2json
...
bzr revid: fme@openerp.com-20111201092823-mbwyp8tjla9k2xf3
2011-12-01 10:28:23 +01:00
Fabien Meghazi
a7a4f50aef
[FIX] Preserve kanban views whitespaces
...
bzr revid: fme@openerp.com-20111130123154-nhh6sj21s38ejsb5
2011-11-30 13:31:54 +01:00
Roberto López López (OpenERP)
940500782a
[ADD] new view definition for page
...
bzr revid: rlo@openerp.com-20111129140409-mzelxhp40w5y093k
2011-11-29 15:04:09 +01:00
Xavier Morel
86c553cdbc
[FIX] keyword args are not supported by the model RPC proxies lib, switch search() call to *args long form
...
lp bug: https://launchpad.net/bugs/894335 fixed
bzr revid: xmo@openerp.com-20111124154601-h7zqxub2n5y8z7nv
2011-11-24 16:46:01 +01:00
Fabien Meghazi
66d11b95f4
[ADD] Added possibility to add actions to dashboards from searchviews filters
...
bzr revid: fme@openerp.com-20111123215356-wspyu61u6ad1vois
2011-11-23 22:53:56 +01:00
Xavier Morel
69dba424e7
[IMP] error messages during database creation failure, with thanks to Serpent Consulting
...
bzr revid: xmo@openerp.com-20111121102141-95si5svzfycon9ob
2011-11-21 11:21:41 +01:00
Xavier Morel
e6f0378bd8
[FIX] display user login in static home page
...
lp bug: https://launchpad.net/bugs/887969 fixed
bzr revid: xmo@openerp.com-20111118111521-7dem9bsa3z0fy3ej
2011-11-18 12:15:21 +01:00