Commit Graph

6173 Commits

Author SHA1 Message Date
Antony Lesuisse 66988eefb5 [IMP] ir.actions.report.xml more view cleanup
bzr revid: al@openerp.com-20140307011305-sqfbr857ifczh6f1
2014-03-07 02:13:05 +01:00
Antony Lesuisse 44a0f566b0 [FIX] ir.actions.report.xml keep report_type pdf until full report conversion is completed
bzr revid: al@openerp.com-20140307003255-wjzfhlzl3dce6u7w
2014-03-07 01:32:55 +01:00
Antony Lesuisse cfb50cf7a9 [IMP] ir.actions.report.xml improve view, move rml specific fiels in a tab
bzr revid: al@openerp.com-20140306234657-kblucn86ph9gjfu6
2014-03-07 00:46:57 +01:00
Antony Lesuisse 3aa98edaaf [IMP] test add an url_open helper to http case
bzr revid: al@openerp.com-20140306234535-9zhumihumbzcddb2
2014-03-07 00:45:35 +01:00
Antony Lesuisse c878b34c3e [FIX] --test-file regression introduced by chs
bzr revid: al@openerp.com-20140306221947-ex5nk6mu2py0zinh
2014-03-06 23:19:47 +01:00
Christophe Simonis ec36a494fe [FIX] do not expose posix only config options on windows
bzr revid: chs@openerp.com-20140306115214-8wrfivy4runpzoar
2014-03-06 12:52:14 +01:00
Olivier Dony 4641a23d14 [FIX] server.stop: avoid traceback during shutdown if HTTP service never started (e.g. because address was already in use)
bzr revid: odo@openerp.com-20140304093240-0yfoe3s0xz0u0xv9
2014-03-04 10:32:40 +01:00
Launchpad Translations on behalf of openerp 0759553fe4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304061656-tmqvsiz854vbugx2
2014-03-04 06:16:56 +00:00
Antony Lesuisse ed7ee4df52 [MERGE] cron race condition leading to unneeded executions, courtesy of acsone
When mulitple cron workers get their list of jobs to process at the same time,
some jobs might be executed multiple times. We fix this by keeping the listing
filter when taking the lock.

bzr revid: al@openerp.com-20140228161524-y8nyq5uw9yq9rcc3
2014-02-28 17:15:24 +01:00
Christophe Simonis 70f3ed09c5 merge upstream
bzr revid: chs@openerp.com-20140227165817-wdgdl4rbmtnnqudt
2014-02-27 17:58:17 +01:00
Antony Lesuisse 8fec899f9b [FIX] move appsdirs to tools
bzr revid: al@openerp.com-20140227163259-asal833qjv3gylit
2014-02-27 17:32:59 +01:00
Antony Lesuisse 38d1ca1ff2 [MERGE] trunk
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
Fabien Meghazi e2f92040db [REM] removed Request's getattr proxying to httprequest
This might be a problem when merging the new api so we let it as is for the moment

bzr revid: fme@openerp.com-20140226161627-edgbe5f8mpzylq46
2014-02-26 17:16:27 +01:00
Fabien Meghazi 5da9305bf5 [MERGE] upstream
bzr revid: fme@openerp.com-20140225105045-9t4a443nq0lw55qu
2014-02-25 11:50:45 +01:00
Fabien Meghazi 6df317c546 [FIX] website's translation problems on multiple inheritance
bzr revid: fme@openerp.com-20140224103235-2s9de5k71xfa2qko
2014-02-24 11:32:35 +01:00
Launchpad Translations on behalf of openerp 5580324bbf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063856-jg0p4f82hy0yw5f0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063912-upicgao9ly9iu2wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223070706-qx82kgcpxvuqfmod
2014-02-23 07:07:06 +00:00
Christophe Simonis e027b3b447 [FIX] damn! correct import
bzr revid: chs@openerp.com-20140221231010-nxwqfgtn6477ewvg
2014-02-22 00:10:10 +01:00
Christophe Simonis d81e9debbe [IMP] openerp/service/server.py: lint file
bzr revid: chs@openerp.com-20140221223544-q309ioxit8tzlaki
2014-02-21 23:35:44 +01:00
Christophe Simonis f511109440 [FIX] correct signal handler on nt
bzr revid: chs@openerp.com-20140221221702-5sa98qfkfh0fimct
2014-02-21 23:17:02 +01:00
Christophe Simonis 9f3417080c [FIX] correct run of test-file via command line
bzr revid: chs@openerp.com-20140221221551-y168fe003k45229m
2014-02-21 23:15:51 +01:00
Christophe Simonis 40f7df4fd8 [FIX] return code is non-zero if any preloaded database failed to load
bzr revid: chs@openerp.com-20140221220348-vw3mll25dti1n23u
2014-02-21 23:03:48 +01:00
Christophe Simonis 186bb97638 [FIX] httpd thread must be a daemon threaded
bzr revid: chs@openerp.com-20140221215709-codb7b9r9n77ln7k
2014-02-21 22:57:09 +01:00
Xavier Morel 013d27b850 [IMP] filter out phantomjs warning on OSX
bzr revid: xmo@openerp.com-20140221143448-tpx62ua785kc8gfx
2014-02-21 15:34:48 +01:00
Richard Mathot (OpenERP) 13194a10f7 [ADD] Test that the variable 'workflow' is correctly assigned in Python server actions (if not, the code will crash)
bzr revid: rim@openerp.com-20140221125708-6vt2ucp5sjtvl02q
2014-02-21 13:57:08 +01:00
Richard Mathot (OpenERP) 6b40002f98 [ADD] Enable access to workflow engine in server actions that run arbitrary python code
(a workflow variable gives now access to trg_* methods of the workflow engine)

bzr revid: rim@openerp.com-20140221115347-rpar6uyiwx1z9deu
2014-02-21 12:53:47 +01:00
Christophe Simonis 170f3ef1f9 [FIX] openerp/addons/base/ir/ir_actions.py: correct SyntaxError introduced in last commit
bzr revid: chs@openerp.com-20140220170949-kc4ru12sc5on300c
2014-02-20 18:09:49 +01:00
Christophe Simonis 65db3c635e [MERGE] forward port of branch saas-2 up to revid 5014 mat@openerp.com-20140220145701-6y7s1roj88q7ys13
bzr revid: chs@openerp.com-20140220160548-0rhulha4cml6t08v
2014-02-20 17:05:48 +01:00
Denis Ledoux 67866db5b6 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5015 dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
bzr revid: dle@openerp.com-20140220132700-hhc1nsu25j1ye257
bzr revid: mat@openerp.com-20140220150028-p6l0vnwa5q18uxiu
bzr revid: dle@openerp.com-20140221105500-t7jg037uusdloigl
2014-02-21 11:55:00 +01:00
Denis Ledoux 5fd307b921 [FIX] ir_model: Uninstall with orphan external ids of ir.model.fields
On uninstalling, if external ids are associated to an unexisting field, we do not try to delete the field (as it doesnt exist) and we remove the orphan external ids

bzr revid: dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
2014-02-21 11:49:08 +01:00
Martin Trigaux bb3ff8b449 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev.5240 revid:mat@openerp.com-20140220145445-0xt7alp3uj0os1fz
bzr revid: mat@openerp.com-20140220145701-6y7s1roj88q7ys13
2014-02-20 15:57:01 +01:00
Martin Trigaux 9515daa3f8 [MERGE] [FIX] read_group: skip date(time) fields when generating the sql query, the monthly grouping is done afterward
lp bug: https://launchpad.net/bugs/1282485 fixed

bzr revid: mat@openerp.com-20140220103351-n3ohwombd1kk802f
bzr revid: mat@openerp.com-20140220145445-0xt7alp3uj0os1fz
2014-02-20 15:54:45 +01:00
Anael Closson 5e593b34d0 [FIX] orm: grouping of date and datetime conflicts ordering on dates with date and datetime - hotfix
bzr revid: acl@openerp.com-20140220135127-1hh7s6dx6p2wuhz9
2014-02-20 14:51:27 +01:00
Fabien Meghazi 587ada964e [IMP] Refactor CROS support
bzr revid: fme@openerp.com-20140220133714-igpobx20mhzlxi20
2014-02-20 14:37:14 +01:00
Fabien Meghazi d7ea890cbe [FIX] Don't crash if no host specified
bzr revid: fme@openerp.com-20140220132922-wax6e05u8x06lepu
2014-02-20 14:29:22 +01:00
Denis Ledoux 1b3925fadf [FIX] service: wrong namespace for using tools
bzr revid: dle@openerp.com-20140220132548-fkw19c45mbnejgld
2014-02-20 14:25:48 +01:00
Fabien Meghazi 17f1992698 [FIX] Correctly handle super() for decorated routes and keep the request type on all functions
bzr revid: fme@openerp.com-20140220115016-axebl9ei9dvysko0
2014-02-20 12:50:16 +01:00
Xavier Morel bc86fdc614 [IMP] Cursor.savepoint
time.time doesn't guarantee sub-second precision.

Use a uuid1 instead (lower anonymity but higher isolation than uuid4
especially in distributed systems, and we don't care about anonimity for
savepoint names from application servers).

Quote name so first character can be a digit.

bzr revid: xmo@openerp.com-20140220103345-xistzxy17r8j87hf
2014-02-20 11:33:45 +01:00
Olivier Dony d4e62ca713 [IMP] ir.actions.act_window: make `multi` field visible in form view + improve label/desc
bzr revid: odo@openerp.com-20140220100036-uu0hg9lqhpc257pr
2014-02-20 11:00:36 +01:00
Anael Closson 7080279bde [FIX] incorrect handling of orderbys when generator for the groupby field generates more than one orderby clause item
bzr revid: acl@openerp.com-20140220095911-zd5j1ssjw0cwzzz2
2014-02-20 10:59:11 +01:00
Xavier Morel fc780d5a81 [FIX] actually retry select on EINTR
Turns out select has its own select.error which does *not* subclass
EnvironmentError (or OSError or IOError) and does *not* have a .errno
attribute. So use the correct exception, might just work better than using
a completely different one with no relation.

bzr revid: xmo@openerp.com-20140219155303-sgz7m3gnzr2bmani
2014-02-19 16:53:03 +01:00
Fabien Meghazi d5dbf9184d [IMP] Warn if invalid response type is returned for a request@type=http
bzr revid: fme@openerp.com-20140219153201-hgyk9c83hwqe49yl
2014-02-19 16:32:01 +01:00
Fabien Meghazi ae87d00ffa [REM] Completely removed LazyResponse
bzr revid: fme@openerp.com-20140219142313-1upmwem8debsqxy4
2014-02-19 15:23:13 +01:00
Martin Trigaux c83247c38b [MERGE] Forward-port of latest saas-2 bugfixes, up to rev.5012 revid:mat@openerp.com-20140219134943-60ssztc01cxdtk09
bzr revid: mat@openerp.com-20140219140617-na0q47yaloblb67i
2014-02-19 15:06:17 +01:00
Fabien Meghazi 226b154154 [FIX] convert endpoint responses only if it's the current request endpoint
bzr revid: fme@openerp.com-20140219135128-6rdnymufpfo1xyvf
2014-02-19 14:51:28 +01:00
Martin Trigaux e635ebe6c1 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5238 revid:launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
bzr revid: mat@openerp.com-20140219134943-60ssztc01cxdtk09
2014-02-19 14:49:43 +01:00
Xavier Morel d5cb5c2a14 [FIX] correctly display JS stack frames in phantomjs runner
altered reporting to handle and deserialize JSON if JSON-deserializable. Can't
just send multiple lines as driver currently does not handle multiple lines of
message... Yeah turns out having a JSON-based protocol between phantomjs and
the python runner allowed multiple lines in messages, who'd have thought eh?

bzr revid: xmo@openerp.com-20140219123850-0h0upb3x33j7leqk
2014-02-19 13:38:50 +01:00
Fabien Meghazi 3315938178 [FIX] Response default mimetype
bzr revid: fme@openerp.com-20140219102903-h8n070qqbbhlnenr
2014-02-19 11:29:03 +01:00
Xavier Morel fbead8fab1 [IMP] style
use break instead of return so cleanup can eventually be put after loop if necessary (?)

bzr revid: xmo@openerp.com-20140219101334-n8fcmzxptrqj717a
2014-02-19 11:13:34 +01:00
Xavier Morel abb58ee3b8 [FIX] possibility of select being interrupted, just restart the call
uses EnvironmentError because not sure if socket.error or os.error

bzr revid: xmo@openerp.com-20140219101110-4g4o658vzsol7jae
2014-02-19 11:11:10 +01:00
Launchpad Translations on behalf of openerp 871b2dc73d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
2014-02-19 05:39:40 +00:00