Commit Graph

119 Commits

Author SHA1 Message Date
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
Serpent Consulting Services 09dd34bd06 [FIX] DB creation failure : Better message attached to the exception
lp bug: https://launchpad.net/bugs/885664 fixed

bzr revid: support@serpentcs.com-20111116201946-n3lkqtjgb0x3psa8
2011-11-17 01:49:46 +05:30
Fabien Meghazi 2bd2ef2cf3 [IMP] Keep domain and context source string in fields view get
bzr revid: fme@openerp.com-20111114205012-toweif7lkr54cv4e
2011-11-14 21:50:12 +01:00
Xavier Morel 266cbd3f88 [FIX] database restoration
Leftover CherryPy code (cherrypy's file wrapper —
cherrypy._cpreqbody.Part — gives access to the underlying data stream
via the `file` attribute, Werkzeug uses the `stream` attributes and
proxies all file methods through the FileStorage, just remove the
indirection)

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

bzr revid: xmo@openerp.com-20111114125106-zymon3zb4umlwhr2
2011-11-14 13:51:06 +01:00
Kunal Chavda (OpenERP) f119de785c [FIX]Fixed code for export xls null values should not shown in spreadsheet.
lp bug: https://launchpad.net/bugs/885117 fixed

bzr revid: kch@tinyerp.com-20111110130950-ap52c2x6fgklkuz2
2011-11-10 18:39:50 +05:30
Xavier Morel 611705d7f1 [FIX] do not display reverse fields of o2ms in import compat
bzr revid: xmo@openerp.com-20111109163232-w9oda8eqo3gyin4q
2011-11-09 17:32:32 +01:00
Xavier Morel 4635ef654c [FIX] always remove database ID from import-compatible exports
bzr revid: xmo@openerp.com-20111109151133-xchgr9jr507jtv98
2011-11-09 16:11:33 +01:00
Christophe Simonis 6e735ccbbe merge upstream
bzr revid: chs@openerp.com-20111103111333-93bu8xdgs30ry5ig
bzr revid: chs@openerp.com-20111108154541-dsz5sjnf7xwihg06
2011-11-08 16:45:41 +01:00
Christophe Simonis 2ae078e58c [FIX] mergecss: allow spaces after (
bzr revid: chs@openerp.com-20111108145214-ahdaiyk0f616zq74
2011-11-08 15:52:14 +01:00
Christophe Simonis 7eebc26519 [FIX] absolutify relative uris when merging css files
bzr revid: chs@openerp.com-20111103144738-u5oewg8bo81yync5
2011-11-03 15:47:38 +01:00
Serpent Consulting Services ff7dbe4941 [FIX] DB creation failure : Better message attached to the exception
lp bug: https://launchpad.net/bugs/885664 fixed

bzr revid: support@serpentcs.com-20111103131116-ryc0710gm170drx9
2011-11-03 18:41:16 +05:30
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00
Xavier Morel b45b7ad22c [IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24 16:06:58 +02:00
Xavier Morel 7de9c3ebd1 [FIX] report data should hold everything returned in the datas key from the report action, except for the ids. Not just form
lp bug: https://launchpad.net/bugs/879298 fixed

bzr revid: xmo@openerp.com-20111021143232-7nde37eqwh1h9n3r
2011-10-21 16:32:32 +02:00
Xavier Morel 8773fca3a8 [FIX] if an action descriptor does not have a view_type attribute, behave as if it was 'form'
bzr revid: xmo@openerp.com-20111021104312-0d21m130wkedabfn
2011-10-21 12:43:12 +02:00
Antony Lesuisse 11b5c602ce [IMP] html_template more generic use js
bzr revid: al@openerp.com-20111018202429-7aulbfuyze4vcbck
2011-10-18 22:24:29 +02:00
Antony Lesuisse da7e08aa1b [IMP] html_template more generic
bzr revid: al@openerp.com-20111018201337-tuh6wglp1qrixx5h
2011-10-18 22:13:37 +02:00
niv-openerp 6ce8a18fbe [fix] context problem in accounting
lp bug: https://launchpad.net/bugs/871771 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111018155733-45xhk7hg2xsmj26h
2011-10-18 17:57:33 +02:00
Christophe Simonis 5ea774f883 [IMP] use authenticate() method to log the user in
bzr revid: chs@openerp.com-20111013143339-dtasfi7kvvn7wusq
2011-10-13 16:33:39 +02:00
Christophe Simonis f3573d844e [IMP] use login_env for login
bzr revid: chs@openerp.com-20111012161208-yto1rang9znmoh4i
2011-10-12 18:12:08 +02:00
Xavier Morel 548a809ff5 [FIX] downloading files from an unsaved/in-memory wizard
fallback on default_get if record does not exist in db, as for e.g. Thunderbird and Outlook plugins

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

bzr revid: xmo@openerp.com-20111017145849-p8dq0eprkru4xtl1
2011-10-17 16:58:49 +02:00
Antony Lesuisse b945c0be65 [MERGE] js and css enumeration and loading by chs
bzr revid: al@openerp.com-20111017145430-a7i3d3yo8fhjhg39
2011-10-17 16:54:30 +02:00
Christophe Simonis 6e93a38f88 [FIX] web: correctly concat_file when no debug
bzr revid: chs@openerp.com-20111014152946-r307ol34kdlq5qrs
2011-10-14 17:29:46 +02:00
Turkesh Patel (Open ERP) 360a1e50e3 [FIX] Fixed the issue of attachment file which can't open after save as
lp bug: https://launchpad.net/bugs/872707 fixed

bzr revid: tpa@tinyerp.com-20111014110942-9yk1cmeu8swtrcjj
2011-10-14 16:39:42 +05:30
Xavier Morel a12c082d55 [IMP] modules have quite a number of fields we don't need, get only the name
bzr revid: xmo@openerp.com-20111006153959-mft8gh1g08s4vzqz
2011-10-06 17:39:59 +02:00
Xavier Morel 18ec203641 [IMP] use sets for modules to load instead of value-less dicts
bzr revid: xmo@openerp.com-20111006153622-i6g5pmk25dal358e
2011-10-06 17:36:22 +02:00
Antony Lesuisse bfb7cb0d6e [FIX] compute modules list fixed
bzr revid: al@openerp.com-20111006143457-i74b719vjic34ie4
2011-10-06 16:34:57 +02:00
Xavier Morel 69c6913915 [FIX] forgot to filter installed modules outside
bzr revid: xmo@openerp.com-20111006093430-knl8fcjh4avc2dvh
2011-10-06 11:34:30 +02:00