jke-openerp
dae2d40546
[IMP] Add param "event_open_popup" to calendar to allow to specify an action to execte on click on a meeting
...
bzr revid: jke@openerp.com-20131126135245-faan29zfvwd3q8wo
2013-11-26 14:52:45 +01:00
Fabien Meghazi
f15b0120e8
[IMP] better api for ir.http#_authenticate
...
bzr revid: fme@openerp.com-20131126121024-v5f9i7ssgaqm7dmk
2013-11-26 13:10:24 +01:00
Christophe Simonis
6e574a8e4d
[IMP] res.users: avoid reading all fields explictly when computing reified groups
...
bzr revid: chs@openerp.com-20131126111228-cjnp11nc6l383q5r
2013-11-26 12:12:28 +01:00
Xavier Morel
1235955197
[IMP] exception handling in _dispatch
...
* ensure users correctly get a 403 forbidden from a failed
_authenticate
* as far as we can tell, NotFound is one of the few things
_authenticate does *not* throw. Catch all exceptions anyway.
* replace default _handle_500, _handle_403 and _handle_404 by single
generic handler since all they did was re-raise the exception anyway
bzr revid: xmo@openerp.com-20131126110519-0yjh01ubrulpzlmn
2013-11-26 12:05:19 +01:00
Christophe Simonis
63601c6650
[FIX] html_sanitize does not raise exception for empty string anymore. correct related test
...
bzr revid: chs@openerp.com-20131125174956-1y13zszzf9h2pkl6
2013-11-25 18:49:56 +01:00
Christophe Simonis
28581cc734
[MERGE] manual forward port of changes made in http dispatching in saas-2 branch since last web revid 3865 dle@openerp.com-20131023113414-mlwppd4d7vyh1tyj
...
bzr revid: chs@openerp.com-20131125165804-0d25q1vn5z0y9nv8
2013-11-25 17:58:04 +01:00
Christophe Simonis
d26e253edd
[IMP] dumpstack dumps greenlets when running in evented mode.
...
(forward port lost during previous commit)
bzr revid: chs@openerp.com-20131125155956-x92vq9w4r9ov4vcc
2013-11-25 16:59:56 +01:00
Fabien Meghazi
0a3371c3b2
[FIX] dispatch AccessErrors
...
bzr revid: fme@openerp.com-20131125155629-nmf0uk2agamzrhma
2013-11-25 16:56:29 +01:00
Fabien Meghazi
5f197f25c5
[IMP] raise AccessError for acl errors
...
bzr revid: fme@openerp.com-20131125154504-v3tfppa7mkjm5ksr
2013-11-25 16:45:04 +01:00
Christophe Simonis
ab386c0f5f
[MERGE] forward port of branch saas-2 up to revid 4984 chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
...
bzr revid: chs@openerp.com-20131125154140-cpbk4tcdml2a3b9n
2013-11-25 16:41:40 +01:00
Christophe Simonis
3211a29d9b
[MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
...
bzr revid: chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
2013-11-25 16:10:17 +01:00
Olivier
426a643c4f
[BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
...
bzr revid: olt@openerp.com-20131125144649-mib0vqic0nppziew
2013-11-25 15:46:49 +01:00
Fabien Meghazi
14d552cd48
[FIX] qweb#render() should honor browse record calling
...
bzr revid: fme@openerp.com-20131125131811-3blovguwiearewqb
2013-11-25 14:18:11 +01:00
Martin Trigaux
9635119fc1
[FIX] fields: execute name_get for function field of type many2one as SUPERUSER_ID (same behaviour as classical many2one)
...
bzr revid: mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
2013-11-25 13:50:08 +01:00
Martin Trigaux
e2102ca9ce
[IMP] orm: add missing space in error message during validation
...
bzr revid: mat@openerp.com-20131125124717-4jsqv0lfu7hpxusi
2013-11-25 13:47:17 +01:00
Martin Trigaux
3b5cf5d56c
[FIX] translations: fix tests to adapt to new duplication behaviour and remove context hack in copy_data (translations are now fully handled in copy_translation)
...
bzr revid: mat@openerp.com-20131125115727-o9oejao1ziagqti1
2013-11-25 12:57:27 +01:00
Martin Trigaux
fbbc6ea840
[FIX] orm: when duplicating translated object, modify the values to get more coherent values
...
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)
This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
bzr revid: mat@openerp.com-20131125110736-d6iygeq8om5y4fkz
2013-11-25 12:07:36 +01:00
Olivier Dony
4e4b5af3d9
[ADD] i18n: enable Lao language (Laos) as an installation option
...
bzr revid: odo@openerp.com-20131125084215-nddml5h65i2xkuf9
2013-11-25 09:42:15 +01:00
Launchpad Translations on behalf of openerp
3d512cf865
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062544-0n565bu6p07jgu7c
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054736-ndfylcrz06mb9z0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060000-s033pap6hv11grl3
2013-11-25 06:00:00 +00:00
Launchpad Translations on behalf of openerp
bba9e86c41
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123060118-7bayd565wi4mh8nk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053223-t2rb928yzma23a29
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053248-reb9oruqgxx0v61c
2013-11-25 05:32:48 +00:00
Christophe Simonis
043fe6c2d5
[FIX] base: on_change_login only set email for valid emails
...
bzr revid: chs@openerp.com-20131124164435-977xi3eg7svn5mgz
2013-11-24 17:44:35 +01:00
Christophe Simonis
84fd6ea4f1
[FIX] yaml import: for record tags, do not shadow values explicitly set in yaml.
...
bzr revid: chs@openerp.com-20131124115235-13sc11q51v95hxfr
2013-11-24 12:52:35 +01:00
jke-openerp
9963f892ba
[IMP] add options for calendar view
...
bzr revid: jke@openerp.com-20131123113053-79idzhhx88ps2dw6
2013-11-23 12:30:53 +01:00
Martin Trigaux
10608a5d18
[FIX] ir_translation: correctly match old and new ids on inherit fields
...
new_id was correctly handled at rev 5118 but the old_id wasn't which could produce inconsistency if there was a gap in ids
bzr revid: mat@openerp.com-20131122175939-lvlf4ih4pyidqxjp
2013-11-22 18:59:39 +01:00
Fabien Meghazi
54b15928cf
[FIX] ahem, fix previous commit
...
bzr revid: fme@openerp.com-20131121205959-jvlmcofp5yq5s7ht
2013-11-21 21:59:59 +01:00
Fabien Meghazi
9f43e80662
[IMP] rendering context not mandatory for ir.ui.view#render()
...
bzr revid: fme@openerp.com-20131121203230-uo485jls4uk15n7x
2013-11-21 21:32:30 +01:00
Fabien Meghazi
8091466de3
[IMP] route lazy request exceptions to ir_http exception handler
...
bzr revid: fme@openerp.com-20131121192841-r1c05wj9302l2axj
2013-11-21 20:28:41 +01:00
Denis Ledoux
6fd552c3ce
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5139 rev-id: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
...
bzr revid: odo@openerp.com-20131120102545-2tlp031yib6viz35
bzr revid: chs@openerp.com-20131120161708-c8sbom592moukwxw
bzr revid: dle@openerp.com-20131121155457-lh7fzouk2upeiu16
2013-11-21 16:54:57 +01:00
Denis Ledoux
58080c6569
[FIX] ir, ir_translation: it was not possible to empty the source of a translation, or this is sometime something that we want
...
bzr revid: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
2013-11-21 14:23:05 +01:00
Fabien Meghazi
80ebc1225a
[ADD] LazyRequest
...
bzr revid: fme@openerp.com-20131120194618-qzw4icf41ep3kbj3
2013-11-20 20:46:18 +01:00
Fabien Meghazi
4346aa99a4
[IMP] Two men's patch (al & chs) Clean up http.py, keep cursor open until dispatch is done.
...
bzr revid: fme@openerp.com-20131120192550-i9xzyqkufe3stnb3
2013-11-20 20:25:50 +01:00
Launchpad Translations on behalf of openerp
b1f8f3dfd2
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060235-8k2oxuc94x45jjoc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060308-lb2sgcxbv804pafr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062541-ouuae0dl331ekjcb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054520-eypowk6g8qatvq7n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120054421-95x86930ezm0p33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063904-5igv5f7tgwlaipvv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060313-x4c5bx498gyrkhqr
2013-11-22 06:03:13 +00:00
Launchpad Translations on behalf of openerp
271ed43e7b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121054848-007arsnnoa8fs65e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063838-blqn6j0yfmrlw5vp
2013-11-21 06:38:38 +00:00
Christophe Simonis
c26c178f98
[MERGE] remove warnings
...
bzr revid: chs@openerp.com-20131120151237-ij9llw0fnhya10f7
2013-11-20 16:12:37 +01:00
Olivier Dony
b7865502e4
[FIX] orm.browse_record: access error due to prefetch of indirectly referenced records (OPW #596679 )
...
The browse_record prefetching algorithm attempts to
load data for all known records from the requested
model (i.e. all IDs present in the browse cache),
regardless of how indirectly/remotely they were
referenced. An indirect parent record may therefore
be prefetched along with its directly browsed children,
possibly crossing company boundaries involuntarily.
This patch implements a fallback mechanism when
the prefetching failed due to what looks like an
ACL restriction. This being a fuzzy concept at the
moment, it does its best to only catch a restricted
set of exceptions, and retry loading the data for
the directly requested ID only.
This may cause a small performance penalty in case
of real errors (with some spurious logging too),
but should only be triggered in very few cases.
The downside when this happens is that the prefetching for that
model gets effectively disabled, requiring multiple
SQL queries for further access to the data of
the other directly browsed records.
This EAFP approach seems safer and faster than
a LBYL technique where we would have to filter
all indirect m2o references according to ACLs
before allowing them to enter the cache.
lp bug: https://launchpad.net/bugs/1238042 fixed
lp bug: https://launchpad.net/bugs/1212429 fixed
bzr revid: odo@openerp.com-20131120100627-031fljyf4ckprc9b
2013-11-20 11:06:27 +01:00
Christophe Simonis
cd810ea7bd
merge upstream
...
bzr revid: chs@openerp.com-20131119185353-qfhaice61xg7qfhn
2013-11-19 19:53:53 +01:00
Denis Ledoux
b7988bcc5a
[FIX] ir, ir_attachement: traceback if try to create attachement without res_id, caused by check access rights trying to check if the user had the right to read the object with a res_id 0
...
bzr revid: dle@openerp.com-20131119140246-r8dd7h0di4aigjss
2013-11-19 15:02:46 +01:00
Fabien Meghazi
9b9b5d09ca
[ADD] methods attribute to @http.route decorator
...
bzr revid: fme@openerp.com-20131119135200-jesz3kijqa0ape40
2013-11-19 14:52:00 +01:00
Martin Trigaux
89850477a2
[FIX] fonts: add missing onchange on company form
...
bzr revid: mat@openerp.com-20131119085343-930hs460m5uzz5xj
2013-11-19 09:53:43 +01:00
Denis Ledoux
9cede6794d
[FIX]base: missing quote in domain of res_partner filter on name
...
bzr revid: dle@openerp.com-20131118155230-hvdm4yqu5fz3w5q4
2013-11-18 16:52:30 +01:00
Christophe Simonis
33ce0e73db
[FIX] When running with --stop-after-init, return code must be not null if any failure happen.
...
bzr revid: chs@openerp.com-20131118132235-84u5hfccm784ge5l
2013-11-18 14:22:35 +01:00
Olivier Dony
4921167d74
[FIX] ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
...
Just like for the uninstallation process, records should be
deleted with last created first, as an attempt to reverse
the operations in the right order (to avoid errors due to
dependencies between records).
bzr revid: odo@openerp.com-20131118125640-kdo3t34uszqggu13
2013-11-18 13:56:40 +01:00
Fabien Pinckaers
0eb2bed2ca
[FIX] priority of templates are now working
...
bzr revid: fp@openerp.com-20131117072335-chwjkpcj8hv431z3
2013-11-17 08:23:35 +01:00
Launchpad Translations on behalf of openerp
5ebdfc937b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131115063201-mftw45w2ak463rsc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062515-voqeczdl0l0262cu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054432-u9evqk0z98aqzoqk
2013-11-17 05:44:32 +00:00
jke-openerp
9e980b4e9d
bzr revid: jke@openerp.com-20131115165942-pki8hgk1j7qxitk8
2013-11-15 17:59:42 +01:00
Xavier Morel
8e78b40e6a
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131115132553-9eqxggih8be63i36
2013-11-15 14:25:53 +01:00
Xavier Morel
0ece469392
[FIX] bunch of broken stuff over http requests in new routing thing
...
* make ModelConverter use its regex for data extraction so
replacements can just fixup the request and don't have to mess with
_uid
* replace routing_map property by method, for unknown reasons the
property does not work at least overridden (it's not found) and I
don't care enough to wonder why
* arguments result from MapAdapter.match() is a mapping, not a
sequence. Iterate through values()/itervalues() otherwise we'll
never get a browse_record to do the uid substitution on, only
strings (params names)
* inject arguments from URL map/match into the function before
executing it, this was apparently lost during the transition
* reintroduce get_db_router for third-party code needing to generate
URLs
bzr revid: xmo@openerp.com-20131115124819-bp4gjpfdlda2qyf5
2013-11-15 13:48:19 +01:00
Xavier Morel
321d4681e1
[IMP] new routing thing
...
* fix nameerror on SessionExpired exception not being imported
* remove pointless RequestUID instantiation by single placeholder object
- may be replaceable with a LocalProxy or something along those lines?
* rename default/nodb routing map
* make better use of werkzeug API
* move lazy routing_map instantiation to property in ir_http.find_handler
- do we have some sort of lazy_property?
bzr revid: xmo@openerp.com-20131115100901-s3skmwv9d1jgk9y0
2013-11-15 11:09:01 +01:00
Olivier Dony
362c25c957
[FIX] base: invalid ISO code for former Venezuela bolivar - ISO 4217 says VEB
...
XML ID is preserved for compatibility, will be updated in trunk.
lp bug: https://launchpad.net/bugs/1085775 fixed
bzr revid: odo@openerp.com-20131114230508-g1q02h823xg8pj1n
2013-11-15 00:05:08 +01:00
Nhomar - Vauxoo
fc017404e4
[FIX] Country data is incorrect for Venezuela, the country currency is VEF not VUB (the old ones) wich techincally is incorrect too because it was VEB, but no problem, only fixing here the VEF to allow test everything correctly.
...
lp bug: https://launchpad.net/bugs/1251429 fixed
bzr revid: nhomar@gmail.com-20131114210740-oijhkbr2nmi5hoe4
2013-11-14 16:37:40 -04:30
Martin Trigaux
7ae9e1c86d
[FIX] registry: missing a threading.RLock in RegistryManager.get():
...
if no registry exists and several calls to RegistryManager.get() are called at the same time
by several threads, several registries will be created one after the other and only the last
one will be kept in cls.registries (courtesy of Guewen Baconnier (Camptocamp)
Invert behaviour of commit 3685 because, at that time, the new trigger the schedule_cron_jobs method which ran another lock and called get on the registry. We had a deadlock with the cron. This is no longer the case as we don't call the same method at the end of the creation of the registry and it does not trigger a lock
bzr revid: mat@openerp.com-20131114144401-k00podawlem7cjd1
2013-11-14 15:44:01 +01:00
Christophe Simonis
ec88c042b2
[MERGE] forward port of branch saas-1 up to revid 4918 chs@openerp.com-20131114134731-n324awyon0spq624
...
bzr revid: chs@openerp.com-20131114135502-xqi6df3jzm7ng0io
2013-11-14 14:55:02 +01:00
Christophe Simonis
993bff902e
[MERGE] forward port of branch 7.0 up to revid 4067 chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
...
bzr revid: dle@openerp.com-20131112134311-h1vsux0ge17bsqkc
bzr revid: chs@openerp.com-20131114134731-n324awyon0spq624
bzr revid: chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130906170157-e7m4pjskyi47q82o
bzr revid: dle@openerp.com-20130909170408-wxgoduzggap6o4ng
bzr revid: dle@openerp.com-20130919141212-ridtrvvfwvu6calr
bzr revid: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131023103308-18pj2gqq3imrcir7
bzr revid: chs@openerp.com-20131030180528-hqsztaujjjqev8ky
bzr revid: dle@openerp.com-20131106100128-mx8mnguvp321wick
bzr revid: chs@openerp.com-20131115104909-3u3mu40g9xnler88
2013-11-15 11:49:09 +01:00
bth-openerp
041ecef093
[IMP]Removed country.
...
bzr revid: bth@tinyerp.com-20131114105701-9e62eg9sj7yde1c1
2013-11-14 16:27:01 +05:30
bth-openerp
bcdbe01a29
[IMP]Improved country.
...
bzr revid: bth@tinyerp.com-20131114093817-ex49h1qevzut1cm5
2013-11-14 15:08:17 +05:30
bth-openerp
fe28545989
[MERGE]Merge trunk-website-al.
...
bzr revid: bth@tinyerp.com-20131114091032-7y1pgw2vptqdjkj0
2013-11-14 14:40:32 +05:30
Launchpad Translations on behalf of openerp
108ccbf108
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114062958-ies8xa3pft7n59ms
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055135-r0xt2vr04710jh1t
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055120-r8z445ergt50erlx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062620-bvfofx1jl1wb1csh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064525-ioceogsmu0nmx2qj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053908-gbrp09ast5fhr6iw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062316-5uf2bvbzdhkq1b7k
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060841-bkjcuz4e9rtzn6f9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114063058-rrm2q5lxkyawuvpz
2013-11-14 06:30:58 +00:00
bth-openerp
37c37fd99d
[IMP]Added address.
...
bzr revid: bth@tinyerp.com-20131113130135-do6n7v84c9kouma8
2013-11-13 18:31:35 +05:30
Christophe Simonis
7ba1d747cc
[FIX] html_sanitize: handle the case of empty documents (after sanitization).
...
[IMP] test_mail: do not mute logger
bzr revid: chs@openerp.com-20131113113715-tzaog0d6o2u4q0x4
2013-11-13 12:37:15 +01:00
Martin Trigaux
d26e3b8b33
[FIX] ir_fields: call selection function with context=None instead of not passing argument. Same behaviour as previsously but does not break when have default value for context (eg: _get_language for ir.translation)
...
bzr revid: mat@openerp.com-20131113094523-67547nkfkfntjelb
2013-11-13 10:45:23 +01:00
Launchpad Translations on behalf of openerp
4231970c8a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060802-i0rwt8lkgeckatjo
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113060848-04a2ehku5erssgvr
2013-11-13 06:08:48 +00:00
Christophe Simonis
6b358b6a53
[FIX] ir.actions.server: active record (active_id) always put in the evaluation context
...
bzr revid: chs@openerp.com-20131112180423-ce3enlyk6y3jjphh
2013-11-12 19:04:23 +01:00
Denis Ledoux
ce4396a04c
[FIX]base, ir_actions: ir_values with client_multi_actions and a server action with code were executing the actions on active_ids one by one, instead of all together (the action was called for each active_ids instead of one time for all active_ids)
...
bzr revid: dle@openerp.com-20131112162726-24z38xvzq5o1spoe
2013-11-12 17:27:26 +01:00
Fabien Meghazi
bbac9f0f23
[ADD] Add hook for qweb preprocessing
...
bzr revid: fme@openerp.com-20131112140822-7p37hu8gd82ta5aj
2013-11-12 15:08:22 +01:00
Cecile Tonglet
83f6778446
[FIX] Import on model ir.translation was broken because of a missing context
...
bzr revid: cto@openerp.com-20131112132747-bajrgbwlp0m3z92s
2013-11-12 14:27:47 +01:00
Denis Ledoux
6792d85b44
[FIX]report: rml2pdf raise exception if cell is too long to be printed (instead of infinite loop). Workaround for reportlab issue #15 : https://bitbucket.org/rptlab/reportlab/issue/15/infinite-pages-produced-when-splitting
...
bzr revid: dle@openerp.com-20131112130412-mbdonb9g7n63w84r
2013-11-12 14:04:12 +01:00
Launchpad Translations on behalf of openerp
a283d59024
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055031-tut0ikyn2ukgc3yw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055025-9oq3zxk6003gvt9g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062531-oo7o57h2u1gxr3q5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064337-vgxh4bfudb3xik01
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053813-4tykju0tdgvvgk8m
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062220-8edq183y73j5cxns
2013-11-12 06:22:20 +00:00
Launchpad Translations on behalf of openerp
08abc4345a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112054140-gta82n1b3iww6qy5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131031051733-nnutbi7hidixsxsb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102055746-d0emb2aocq3sq1d1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103052149-y4usleohxatdgczx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131105052928-1izkptj5zusflrvb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108054204-hrtuxxze2u1ivvez
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110055420-zl5ang9w8lbcvt9d
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111051738-smtttsszytn06ld4
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112054158-7ewd3oxiyxg8s4zw
2013-11-12 05:41:58 +00:00
bth-openerp
8e0ab3a09b
[IMP]Set email address.
...
bzr revid: bth@tinyerp.com-20131111122748-cadl97pwkkj0b9s3
2013-11-11 17:57:48 +05:30
bth-openerp
96ade7c308
[MERGE]Merge lp:~openerp-dev/openobject-server/trunk-website-al.
...
bzr revid: bth@tinyerp.com-20131111094752-xmi2j4wn9hjrrpry
2013-11-11 15:17:52 +05:30
bth-openerp
f4a0d30fc4
[IMP]Moved demo data from yml to xml.
...
bzr revid: bth@tinyerp.com-20131111094510-ayhsv2kwnxouhip3
2013-11-11 15:15:10 +05:30
Antony Lesuisse
ee4c1f702e
[IMP] http move db dispatching to AbstractModel ir.http
...
Allow module to override the http dispatching process:
- The default implementation uses werkzeug.routing but any other method could
be used, it'a also possible to pre/postprocess (i.e. url aliases)
- Authentication (auth param on route) is plugggable by defining now
_auth_method_<methodname>
- Error handler are overridable, any module can define a new exception and
handle it by orverriding the _handle_<error_code> method.
- Add model converters for routes, to directly get the browse record example
@route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")
This is done by splitting dispatching, when the db is unknown low level http.py
dispatching is used, it's only used by a few controller in base and web. When
the db is known, ir_http is used because it's a regular Model it is fully
overridable by openerp modules.
bzr revid: al@openerp.com-20131110142731-qi9910fkty25cdtd
2013-11-10 15:27:31 +01:00
Antony Lesuisse
5f9ef80d70
[FIX] make routing converters modular
...
bzr revid: al@openerp.com-20131110141250-myreqy8ofvpj2r0u
2013-11-10 15:12:50 +01:00
Antony Lesuisse
575376ef29
[FIX] http.py use checked_call for concurrency retry and exception handling
...
bzr revid: al@openerp.com-20131110140757-tbe8yondadokd4ke
2013-11-10 15:07:57 +01:00
Antony Lesuisse
7f3133e423
[IMP] ir_http better exception handling for http errors
...
bzr revid: al@openerp.com-20131110135739-2tmr6iynil16ooi1
2013-11-10 14:57:39 +01:00
Antony Lesuisse
c396149f4f
[FIX] use AbstractModel, use session.db to ir_http dispatch for none controllers
...
bzr revid: al@openerp.com-20131110135406-r0cyxhnve3jl8r2i
2013-11-10 14:54:06 +01:00
Antony Lesuisse
afbec17f77
[IMP] model converters for routes, to directly get the browse record
...
example @route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")
bzr revid: al@openerp.com-20131110123707-yb3hbdqlo063dj64
2013-11-10 13:37:07 +01:00
Antony Lesuisse
d50577b69d
[IMP] http move db dispatching on the orm level
...
Split low level dispatching and high level dispatching.
Low level dispatching is used when the db is unknown it's only used by a few
controller in base and web.
High level dispatching is used when the db is known, it is used by most
controllers and it handles authentication and errors. Because it's a regular
osv object all it is fully overridable by openerp modules.
bzr revid: al@openerp.com-20131110014609-io03vspj2q1wtqa0
2013-11-10 02:46:09 +01:00
Christophe Simonis
1df6461c4a
[FIX] base: test_translation: load an existing translation
...
bzr revid: chs@openerp.com-20131108225820-i2pea15b7lymyw6t
2013-11-08 23:58:20 +01:00
Christophe Simonis
aeaed95e81
[IMP] trml2pdf: like css, invalid style name is not a warning.
...
bzr revid: chs@openerp.com-20131108212709-4dmdbxxh2w1jd51p
2013-11-08 22:27:09 +01:00
Christophe Simonis
5859d8e9cf
merge upstream
...
bzr revid: chs@openerp.com-20131108212107-u6ysowkajvg1m371
2013-11-08 22:21:07 +01:00
Christophe Simonis
d67ff9ba02
[FIX] views inheritance: deleting a non-existing attribute must be a no-op
...
bzr revid: chs@openerp.com-20131108175750-yenql6hycpn95i9j
2013-11-08 18:57:50 +01:00
Christophe Simonis
86fea1e176
[IMP] always dumps threads, even in evented mode
...
bzr revid: chs@openerp.com-20131108175224-tztp2w83vfw9yetz
2013-11-08 18:52:24 +01:00
Xavier Morel
663ea78caa
[ADD] handling of slugs in ModelConverter (generation & parsing)
...
bzr revid: xmo@openerp.com-20131108154756-znkcyd32csd7vj1u
2013-11-08 16:47:56 +01:00
Xavier Morel
565df0c0bf
[IMP] ModelConverter
...
* add generate method to indicate that the converter can produce
values it can consume
* fix to_url, should return a string
bzr revid: xmo@openerp.com-20131108132135-n80fot7xv6by43dx
2013-11-08 14:21:35 +01:00
Denis Ledoux
0a42a9dec9
[FIX]base: remove unnecessary field sizes from all relateds of ir_model. Size limits prevented some database models customization (like selection fields with selection options longer than 128 chars)
...
bzr revid: dle@openerp.com-20131108130208-srt5gzlxbk890htf
2013-11-08 14:02:08 +01:00
bth-openerp
b6942cb19b
[MERGE]Merge lp:~openerp-dev/openobject-server/trunk-website-al.
...
bzr revid: bth@tinyerp.com-20131031073313-0o76y67rae9m0p97
bzr revid: bth@tinyerp.com-20131108111154-elzbel3xcuh1nqld
2013-11-08 16:41:54 +05:30
Christophe Simonis
44eab2cfed
[IMP] dumpstack dumps greenlets when running in evented mode
...
bzr revid: chs@openerp.com-20131107163419-90pd7uai8fm70sv9
2013-11-07 17:34:19 +01:00
Stephane Wirtel
c9a7e69a75
[FIX] test_mail: Rewrite the XSS test
...
bzr revid: stw@openerp.com-20131107141019-jjhvism55j8x207g
2013-11-07 15:10:19 +01:00
jke-openerp
7c58ae62fb
[MERGE]0k/web_fullcalendar branch from github
...
bzr revid: jke@openerp.com-20131106164738-0medo6b8938rphzm
2013-11-06 17:47:38 +01:00
Martin Trigaux
861fcbcd50
[IMP] use assertEqual instead of assertTrue for better logging
...
bzr revid: mat@openerp.com-20131104161720-2ofur11haask32ni
2013-11-04 17:17:20 +01:00
Martin Trigaux
7e83c23844
[ADD] base: tests for translations and duplication
...
bzr revid: mat@openerp.com-20131104153946-vhpnbn8t1oxfaep1
2013-11-04 16:39:46 +01:00
Martin Trigaux
4d9e140b8c
[IMP] comments
...
bzr revid: mat@openerp.com-20131104144427-oyca1g1ti583sq3c
2013-11-04 15:44:27 +01:00
Martin Trigaux
91cf53228b
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
...
Avoid getting old value by removing 'source' value from read result.
lp bug: https://launchpad.net/bugs/1237878 fixed
bzr revid: mat@openerp.com-20131104143408-o71lyws8uba679hd
2013-11-04 15:34:08 +01:00
Quentin (OpenERP)
8a52fe77f8
[IMP] base, currency: second attempt to include this patch (previously added in revision 4982 then reverted in revision 4984 because of a bug in the server that was making an infinite loop -which has been fixed in previous revision-). Updated the type of name field of res.currency.rate in <datetime> instead of <date> for those who need to update the rate of currencies several times per day
...
bzr revid: qdp-launchpad@openerp.com-20131104134618-oujlfwmnpc1xbvml
2013-11-04 14:46:18 +01:00
Quentin (OpenERP)
bdda7b70d3
[FIX] expression.py: when searching on a datetime field with an argument formated as a date, conversion should happen _also_ for the '=' operator. This omission was causing an infinite loop beacuse we were pushing the exact same leaf on the stack without any modification
...
bzr revid: qdp-launchpad@openerp.com-20131104134314-2mv5wkt13ih9c1yg
2013-11-04 14:43:14 +01:00
Xavier Morel
baa3743420
[FIX] double-escaping on 500 errors
...
HTTPException.get_description already escapes the provided description on output
bzr revid: xmo@openerp.com-20131104125908-1gy9poyy9s0vk2rq
2013-11-04 13:59:08 +01:00
Xavier Morel
3389198f81
[IMP] remove unnecessary keys() calls
...
bzr revid: xmo@openerp.com-20131104125735-wtnngolx07755o1u
2013-11-04 13:57:35 +01:00
Thibault Delavallée
5f9167c03a
[IMP] ir_actions: added model_id in the group_by filters
...
for server actions. This is considered as an usability fix, therefore
landing in saas-2 instead of trunk.
bzr revid: tde@openerp.com-20131104104334-gtitchim5aju5ths
2013-11-04 11:43:34 +01:00
Launchpad Translations on behalf of openerp
e3c98d3b5b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131031054724-b9dbttdcrl9eccwr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131101062658-f0i1x0ls32lokxmq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102062309-1hvmk0fdeahhzjzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103054310-9gbqxiwvi6a7rp1x
bzr revid: launchpad_translations_on_behalf_of_openerp-20131104060212-au7d8ww0ru2r10qf
2013-11-04 06:02:12 +00:00
Antony Lesuisse
a17a49e130
[FIX] qweb exception hiding
...
bzr revid: al@openerp.com-20131102165515-4p7401k5tl95l4lg
2013-11-02 17:55:15 +01:00
Launchpad Translations on behalf of openerp
f270975d98
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102055722-60w8wrpax87wkxhx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102060651-bdts7qkh2850je5u
2013-11-02 06:06:51 +00:00
Guewen Baconnier
226ed9abea
[FIX] propage the context to not lose special keys/values on write() and explicit the source language to write to (en_US)
...
lp bug: https://launchpad.net/bugs/1247158 fixed
bzr revid: guewen.baconnier@camptocamp.com-20131101161820-rwzh8zx2nqpb7r2q
2013-11-01 17:18:20 +01:00
Christophe Simonis
864af467e1
[FIX] module loading: do not warn about missing access rules for AbstractModels
...
bzr revid: chs@openerp.com-20131031193228-agj0qa9ceolpmvy6
2013-10-31 20:32:28 +01:00
Denis Ledoux
0cf57bdee2
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8800 rev-id: dle@openerp.com-20131031162241-goga1hsvwgyqigzd
...
bzr revid: chs@openerp.com-20131031142325-vo84hk5co2e2phg0
bzr revid: dle@openerp.com-20131031143133-wfus2hag57e73by2
bzr revid: dle@openerp.com-20131031162928-8gpom1ralccy07uc
2013-10-31 17:29:28 +01:00
Christophe Simonis
0e1cc663b3
[MERGE] forward port of branch saas-2 up to revid 4968 chs@openerp.com-20131031142325-vo84hk5co2e2phg0
...
bzr revid: chs@openerp.com-20131031143208-4gtdju33sv0wdtcg
2013-10-31 15:32:08 +01:00
Christophe Simonis
82211b1ac2
[MERGE] forward port of branch 7.0 up to revid 5113 launchpad_translations_on_behalf_of_openerp-20131031054724-b9dbttdcrl9eccwr
...
bzr revid: chs@openerp.com-20131025103657-pbnqhw11mygyi5jn
bzr revid: chs@openerp.com-20131031142125-7bm00z2jpccf3v6f
2013-10-31 15:21:25 +01:00
Antony Lesuisse
8ff22a5322
[IMP] models route converter typo
...
bzr revid: al@openerp.com-20131031125653-nhtt01wlnz0cnn22
2013-10-31 13:56:53 +01:00
Antony Lesuisse
b975f9a13b
[IMP] models route converter
...
bzr revid: al@openerp.com-20131031115429-h14hly3i6yn48q3j
2013-10-31 12:54:29 +01:00
Antony Lesuisse
b40a8f34ea
[IMP] model convert for routes, to directly get the browse record
...
example @route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")
bzr revid: al@openerp.com-20131030230043-4fohcd1wdjc10ip7
2013-10-31 00:00:43 +01:00
Antony Lesuisse
a9f9cd06c7
[FIX] typxmo
...
bzr revid: al@openerp.com-20131030220738-zkf0kfa049iof2ld
2013-10-30 23:07:38 +01:00
Christophe Simonis
1c523aa1be
[FIX] http: bind RouteMap using environ to allow correct redirections
...
(manual forward port of revid 3860 chs@openerp.com-20131023162646-9t8iu2okkddg56yi from web branch)
bzr revid: chs@openerp.com-20131030182400-bfuvl2209a7e1ifz
2013-10-30 19:24:00 +01:00
Quentin (OpenERP)
ca92afb39a
[REV] base, res.currency: reverted revision 4982 because it was causing an error when a res.currency.rate was searched with a domain like [('name', '=', '30-20-2013')]. This patch will be back with a graceful solution to fix the error
...
bzr revid: qdp-launchpad@openerp.com-20131030172805-7ndvj8vj4h31wre8
2013-10-30 18:28:05 +01:00
Xavier Morel
94cbff3b7b
[FIX] unset fields should render to empty, not the literal False
...
bzr revid: xmo@openerp.com-20131030154105-hqsalqnoa1nv1txy
2013-10-30 16:41:05 +01:00
Quentin (OpenERP)
c384955cfa
[FIX] osv.fields: don't raise an error for searching on dummy fields because it's their main reason to be
...
bzr revid: qdp-launchpad@openerp.com-20131030102313-64gb1n98rzdg5mx1
2013-10-30 11:23:13 +01:00
Martin Trigaux
e2d6786bc1
[FIX] ir_attachment: fix security issues on ir_attachment
...
check: verify the permissions even when no ids are passed (skipped permission checking for create)
create: verify has the write access on the related model (instead of create, was not checked anyway)
function field: execute the write in fnct_inv as superuser (was impossible to have creation without write access)
bzr revid: mat@openerp.com-20131030084408-t857gl7d4lkbrj5p
2013-10-30 09:44:08 +01:00
bth-openerp
188eab16e6
[IMP]Email is updated.
...
bzr revid: bth@tinyerp.com-20131030061204-uyytfzdgbh2qvhsn
2013-10-30 11:42:04 +05:30
Launchpad Translations on behalf of openerp
23e6b81833
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131026062452-54qhvc3cru0x8e6h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131029051406-apyhsdmupva2pdpz
bzr revid: launchpad_translations_on_behalf_of_openerp-20131030055412-kuwph2dx2jfeepwc
2013-10-30 05:54:12 +00:00
Martin Trigaux
15905e78c5
[FIX] ir_attachment: fix security issues on ir_attachment
...
check: verify the permissions even when no ids are passed (skipped permission checking for create)
create: verify has the write access on the related model (instead of create, was not checked anyway)
function field: execute the write in fnct_inv as superuser (was impossible to have creation without write access)
bzr revid: mat@openerp.com-20131029171420-x87wu7ph8ej7mtro
2013-10-29 18:14:20 +01:00
Christophe Simonis
a044bdbf8a
[FIX] mute logger in some tests
...
bzr revid: chs@openerp.com-20131029141939-xt9093hfv8cfjkdo
2013-10-29 15:19:39 +01:00
bth-openerp
d4325ac933
[MERGE]Merge trunk-website-al.
...
bzr revid: bth@tinyerp.com-20131017054433-5a8vax2nyuwwwzuw
bzr revid: bth@tinyerp.com-20131021065916-qpffh3kfkz0n8v8k
bzr revid: bth@tinyerp.com-20131022112314-50vj16z4rva3ngi9
bzr revid: bth@tinyerp.com-20131025073225-s8crvmd65oji11fl
bzr revid: bth@tinyerp.com-20131028050304-2n6yktosjstlm45y
bzr revid: bth@tinyerp.com-20131029045254-ggwaarzd6zsakq40
2013-10-29 10:22:54 +05:30
Thibault Delavallée
97f164ba99
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20131028163325-2hpks3hp23zop40n
2013-10-28 17:33:25 +01:00
Olivier Dony
5db5d655d6
[IMP] res.users: default search field should match emails too
...
bzr revid: odo@openerp.com-20131028155639-it1q12xt5iul1oac
2013-10-28 16:56:39 +01:00
Olivier Dony
06a3255576
[IMP] res_partner: default search field can be based on display_name + have email matching by default
...
This more closely matches the behavior of name_search,
until name_search is actually available in search views.
bzr revid: odo@openerp.com-20131028155600-1dwd35sjht2of63m
2013-10-28 16:56:00 +01:00
Quentin (OpenERP)
d6e3f655b5
[IMP] base, res_currency: changed the type of name of res_currency_rate from date to datetime for those who need to update the rate of a currency several times per day
...
bzr revid: qdp-launchpad@openerp.com-20131028140333-nmvm07ay5xllo2zi
2013-10-28 15:03:33 +01:00
niv-openerp
f312303734
[IMP] Added doc
...
bzr revid: nicolas.vanhoren@openerp.com-20131029150105-4l3hys56zt2dpmcc
2013-10-29 16:01:05 +01:00
Antony Lesuisse
a569093606
[IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api
...
versioned history http.py can be found in lp:~openerp/openerp-web/trunk file addons/web/http.py
bzr revid: al@openerp.com-20131027171553-qe1ulbff0bphm15o
2013-10-27 18:15:53 +01:00
Martin Trigaux
57a78f3f97
[FIX] res_config: don't jump to first root menu after applying changes, instead reload and stay on same configuration page
...
bzr revid: mat@openerp.com-20131025154657-fk7t72hl9cns2279
2013-10-25 17:46:57 +02:00
Antony Lesuisse
422de0505c
[REM] remove useless warning in user preference
...
bzr revid: al@openerp.com-20131025133531-6sbntv1visib5akt
2013-10-25 15:35:31 +02:00
Xavier Morel
d06d6f7fd9
[FIX] m2o t-field rendering: use uid 1 for name_get
...
This is done automatically on a read(), but t-field uses a browse,
which does not do access-rights bypassing. We've already browsed the
root record so we should have the rights to the reading, and we just
want the textual representation for the child m2o.
bzr revid: xmo@openerp.com-20131025124720-i10eywz70o9c9dpc
2013-10-25 14:47:20 +02:00
Christophe Simonis
d91819cb43
[MERGE] forward port of branch saas-2 up to revid 4965 chs@openerp.com-20131025103939-5gta1eifjhx1tsmi
...
bzr revid: chs@openerp.com-20131025104326-4k5hayl0bwdgt0mm
2013-10-25 12:43:26 +02:00
Christophe Simonis
2029aa28eb
[MERGE] forward port of branch saas-1 up to revid 4914 chs@openerp.com-20131025103657-pbnqhw11mygyi5jn
...
bzr revid: chs@openerp.com-20131025103939-5gta1eifjhx1tsmi
2013-10-25 12:39:39 +02:00
Christophe Simonis
2859897815
[FIX] allow falsy extra attributes on fields.
...
bzr revid: chs@openerp.com-20131024135448-e2bpgaqu7mvg1icn
2013-10-24 15:54:48 +02:00
Launchpad Translations on behalf of openerp
7345cfb697
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019052730-g67chkz69pmoi5q4
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050443-pce4qrtn25h1qir6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131023052203-fvk0akb3avqxkqje
bzr revid: launchpad_translations_on_behalf_of_openerp-20131024052015-8kg0owfhye4ws3xw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131025060039-0t8928ck7dgi8yv6
2013-10-25 06:00:39 +00:00
Xavier Morel
a622a5ad55
[FIX] remove handling of parameters in ormcache clearing
...
It's completely broken in case of optional parameters
e.g. (ir.translation)._get_source, as a call with the optional
parameter won't be matched by a clear without, and the other way
around. This becomes even more problematic in the website branch as
_get_source now has *two* optional parameters (source and res_id).
After discussion with odo and discovery that in multiprocess only the
current node will use any granularity (other nodes not only clear all
of the current method cache, but all caches of all models), simplify
cache clearing, ignore parameters and just blow the current method's
cache entirely.
bzr revid: xmo@openerp.com-20131024132956-4tl3prum8za47igy
2013-10-24 15:29:56 +02:00
Thibault Delavallée
357676b6de
[MERGE] [FIX] tools: mail: fixed shortening of html content.
...
Fixed length computation of text in html nodes: multiples successive whitespaces are considered as one whitespaces; better truncate position when adding a read more link; now always protect words (placed after the first word that exceeds the shorten position); pre nodes are preserved about whitespaces; when the read more link should go into a quote, it instead goes at the end of the first parent node not being quoted instead of at a wrong position.
Misc :
- removed an unnecessary loop by merging two root.iter() that do not interfere
- changed occurrences of getiterator to iter, because getiterator is deprecated
- nodes are cleaned after processing, removing all attributes used to tag nodes
- fixed a bug about cleaning span containing only whitespaces not always cleaned
Added tests for shorten position.
bzr revid: tde@openerp.com-20131024084411-pytwt9g1gdmoebzc
2013-10-24 10:44:11 +02:00
Thibault Delavallée
dbe253b0e4
[FIX] Fixed bug due to copy-and-paste: outertext is now valid
...
bzr revid: tde@openerp.com-20131024083955-ipbsf8rxbzm0mag3
2013-10-24 10:39:55 +02:00
Stephane Wirtel
1c398cd6f8
[REF] Start to abstract the Workflow engine
...
bzr revid: stw@openerp.com-20131024075707-k1092bspi6ebixdw
2013-10-24 09:57:07 +02:00
Launchpad Translations on behalf of openerp
0ae4b7dc93
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131024044442-55ny33bhhxic8yq3
2013-10-24 04:44:42 +00:00
Stephane Wirtel
f6c1b6bb86
[REF] Create a WorkflowItem object
...
bzr revid: stw@openerp.com-20131023135838-ix7x6mzui3i3wfbi
2013-10-23 15:58:38 +02:00
Stephane Wirtel
6a3a2709ef
[REF] Remove the useless wkf_expr.py file and copy it into workitem.py
...
bzr revid: stw@openerp.com-20131023130705-k4u7ssba820b7hwi
2013-10-23 15:07:05 +02:00
Stephane Wirtel
fad743a978
[REF] Remove old code from the workflow engine
...
bzr revid: stw@openerp.com-20131023125818-3g3fe49lfrube9kq
2013-10-23 14:58:18 +02:00
Stephane Wirtel
c7afc04be3
[REF] First step, use the same vocabulary for the cr, uid, res_type and res_id
...
=> Session, Record.
* a Session is a container of one cursor and one user
* a Record is a container for the res_type and res_id, in this object, the right
names are model and id.
Examples:
session = Session(cr, uid)
record = Record(res_type, res_id)
record.mode, record.id
A new class named 'WorkflowService' is a wrapper for the instance.* functions.
bzr revid: stw@openerp.com-20131023125343-uo0bq52n86ae0fb0
2013-10-23 14:53:43 +02:00
Thibault Delavallée
e14de7a637
[FIX] Fixed previous commit, car go to len of the string.
...
bzr revid: tde@openerp.com-20131023123839-gvf9ugft2b2xmo9a
2013-10-23 14:38:39 +02:00
Thibault Delavallée
7f61d18ef9
[CLEAN] tools: cleaned modified code
...
bzr revid: tde@openerp.com-20131023122744-3b3hayy4f8ss2bjx
2013-10-23 14:27:44 +02:00
Thibault Delavallée
57c11338ae
[IMP] tools: mail: added a protection in a string.find, could have a None argument
...
bzr revid: tde@openerp.com-20131022142908-sol44xaprx1b0b0a
2013-10-22 16:29:08 +02:00
Thibault Delavallée
af29bf7bc9
[FIX] tools: mail: fixed shortening of html content.
...
Fixed length computation of text in html nodes: multiples successive
whitespaces are considered as one whitespaces; better truncate position
when adding a read more link; now always protect words (placed after
the first word that exceeds the shorten position); pre nodes are preserved
about whitespaces; when the read more link should go into a quote, it instead
goes at the end of the first parent node not being quoted instead of at
a wrong position.
Added tests for shorten position.
bzr revid: tde@openerp.com-20131022135037-igauu2kkglvdrqu7
2013-10-22 15:50:37 +02:00
Xavier Morel
fc8ab0df05
[FIX] numbers formatting to correctly apply user locales
...
bzr revid: xmo@openerp.com-20131022085436-5845r3q51g9pl2ct
2013-10-22 10:54:36 +02:00
Xavier Morel
b9dfef2fab
[ADD] formatting of date and datetime t-field
...
bzr revid: xmo@openerp.com-20131021152639-2o2j2knhuppdlbzm
2013-10-21 17:26:39 +02:00
Olivier Dony
6752a298ec
[IMP] ir.translation: `module` field is useful for admin/debugging
...
bzr revid: odo@openerp.com-20131021143641-eflzertf2r7hap44
2013-10-21 16:36:41 +02:00
Xavier Morel
61b306edc0
[ADD] format floating-point values (including monetary values) according to user lang
...
bzr revid: xmo@openerp.com-20131021125723-66rc4w5ist6rx22o
2013-10-21 14:57:23 +02:00
Xavier Morel
5b4775c840
[REF] simplification of res.lang format
...
bzr revid: xmo@openerp.com-20131021111457-k9rgt5ojnk9doqh9
2013-10-21 13:14:57 +02:00
Xavier Morel
3eae335a9b
[ADD] comment to ir.qweb.field.monetary to explain its workings/purpose
...
bzr revid: xmo@openerp.com-20131021100543-wlsc93puu23qnv8c
2013-10-21 12:05:43 +02:00
Xavier Morel
a348a5e92f
[ADD] hook in qweb.field.float for overriding precision
...
bzr revid: xmo@openerp.com-20131021091607-mirzojqhsbskx57g
2013-10-21 11:16:07 +02:00
Xavier Morel
b50e90607f
[ADD] context all the things!
...
bzr revid: xmo@openerp.com-20131021083120-6v6xy0bm4w686d2m
2013-10-21 10:31:20 +02:00
Xavier Morel
dcc6259c7c
[REF] small refactoring of rendering tests
...
bzr revid: xmo@openerp.com-20131021082223-5b0pv39b2ucdkpjf
2013-10-21 10:22:23 +02:00
Olivier Dony
9227f3d5fc
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4913 rev-id: odo@openerp.com-20131018145638-0evfafu4yqg2itia
...
bzr revid: odo@openerp.com-20131018154805-axo5jrsbyd24qwle
2013-10-18 17:48:05 +02:00
Olivier Dony
b361ec0151
[FIX] base.import.module: this wizard is disabled and should be dropped entirely in trunk
...
Kept the model for backwards compatibility until then
bzr revid: odo@openerp.com-20131018145638-0evfafu4yqg2itia
2013-10-18 16:56:38 +02:00
Xavier Morel
5a257c5318
[FIX] recursive qweb render calls to pass (void) cr and uid
...
both are already in the qwebcontext passed as last argument
bzr revid: xmo@openerp.com-20131018144838-xvtg0f7uoxf360zr
2013-10-18 16:48:38 +02:00
Xavier Morel
55c38976c0
[ADD] cr, uid, context to qweb.render & qweb rendering context
...
bzr revid: xmo@openerp.com-20131018144546-p693x1iur5gm98ez
2013-10-18 16:45:46 +02:00
Xavier Morel
b6c7adced6
[FIX] import/reference warning
...
bzr revid: xmo@openerp.com-20131018143659-e9tapiu7c5tf5t2i
2013-10-18 16:36:59 +02:00
Xavier Morel
8d6302f260
[IMP] use existing tools for the job
...
bzr revid: xmo@openerp.com-20131018141510-1x1w5ba5fqfzebfk
2013-10-18 16:15:10 +02:00
niv-openerp
87ee7c8b70
Enabled controllers not contained in modules
...
bzr revid: nicolas.vanhoren@openerp.com-20131018140752-ha9qpb0mormxp7l0
2013-10-18 16:07:52 +02:00
niv-openerp
ec291efb80
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20131018134553-a7dshmtv8yp70qzp
2013-10-18 15:45:53 +02:00
niv-openerp
c333546c35
Moved http.py to server
...
bzr revid: nicolas.vanhoren@openerp.com-20131018121312-z5rjbmda3nlvxc86
2013-10-18 14:13:12 +02:00
Christophe Matthieu
aeb0125c84
[IMP] ir_qweb: better exception with message, node, template
...
bzr revid: chm@openerp.com-20131018113927-vnsk2mj1g8gsl5hs
2013-10-18 13:39:27 +02:00
niv-openerp
5696282656
[MERGE] saas2
...
bzr revid: nicolas.vanhoren@openerp.com-20131018103501-sns9zca0nmpm9efn
2013-10-18 12:35:01 +02:00
Christophe Matthieu
4c1076420c
[IMP] ir_qweb: add a class QWebException and raise a better exception message
...
bzr revid: chm@openerp.com-20131018095913-7ut45k9r9c1qp2wf
2013-10-18 11:59:13 +02:00
Olivier Dony
71f1665b98
[FIX] tools.mail: typo causing infinite loop + fix test parameters to actually enter it
...
bzr revid: odo@openerp.com-20131018085118-9b2ltkpff5c8yzmr
2013-10-18 10:51:18 +02:00
Thibault Delavallée
6bc32a8b4b
[FIX] tools: mail: fixed / improved html_email_clean.
...
Read more links could not appear when the shorten limit was obtained
inside a quote that is removed in the process, removing the read
more link node. It now get the first parent that is not inside a
quote to be sure the link is displayed.
Added the test-case that helped find this bug.
bzr revid: tde@openerp.com-20131017110525-etn0u5s91zbnvul1
2013-10-17 13:05:25 +02:00
Olivier Dony
77caeeeba5
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5101 rev-id: odo@openerp.com-20131016105812-844cd9xljvkjwtm3
...
bzr revid: odo@openerp.com-20131016110621-36vvlpn8dgsabyt1
2013-10-16 13:06:21 +02:00
Olivier Dony
06b2ce213c
[FIX] document: overridden ORM methods need to respect API idiosyncrasies, otherwise check() calls may fail
...
bzr revid: odo@openerp.com-20131016105812-844cd9xljvkjwtm3
2013-10-16 12:58:12 +02:00
Christophe Simonis
6a1079822e
[IMP] module loading: run post- migration scripts before running the tests. This allow migration of demo databases
...
bzr revid: chs@openerp.com-20131016100540-i9nospifzzzsilt2
2013-10-16 12:05:40 +02:00
Thibault Delavallée
983d5eb9fa
[FIX] tools: html_email_clean: fixed regex for
...
signature that was buggy when having dots.
Also fixed read more link addition.
Added test case that triggered the error.
bzr revid: tde@openerp.com-20131016103516-w44j6r5oaljpwvmx
2013-10-16 12:35:16 +02:00
Olivier Dony
54f740960e
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4912 rev-id: odo@openerp.com-20131016110621-36vvlpn8dgsabyt1
...
bzr revid: odo@openerp.com-20131016111800-jjybreg62bwz61zn
2013-10-16 13:18:00 +02:00
Launchpad Translations on behalf of openerp
7dcf81b3bb
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131016043732-72lt6k8x0kz2g3ph
bzr revid: launchpad_translations_on_behalf_of_openerp-20131016045615-liul2fwhpqsswf68
2013-10-16 04:56:15 +00:00
Xavier Morel
0ed91c4b29
[FIX] move loaded templates storage to context
...
Didn't think of the _t attribute storing loaded templates when qweb
was moved from a Python object instantiated every rendering to an
openerp never reinstantiated. This unexpectedly moved _t from the
status of a per-render cache (to avoid reloading sub-templates or
recursive templates a billion times) into a permanent cache with no
invalidation.
Move _t to QWebContext.templates, which should be per-render, for now.
bzr revid: xmo@openerp.com-20131015152858-u89wx46e0ngh58of
2013-10-15 17:28:58 +02:00
bth-openerp
39c20ac402
[MERGE]Merge lp:~openerp-dev/openobject-server/trunk-website-al.
...
bzr revid: bth@tinyerp.com-20131015142737-75xztjk49ka53ll2
2013-10-15 19:57:37 +05:30
Xavier Morel
41327fda79
[MERGE] from trunk after fonts have been added
...
bzr revid: xmo@openerp.com-20131015114534-bmuu05j125s9mbo9
2013-10-15 13:45:34 +02:00
Launchpad Translations on behalf of openerp
8874046c39
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131013053740-rinm5yfv4pp3toj2
bzr revid: launchpad_translations_on_behalf_of_openerp-20131015051750-ss2jdlo4w12420rv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131015051826-9alld47gks4izhjq
2013-10-15 05:18:26 +00:00
Antony Lesuisse
ff9e439733
[FIX] fcntl not needed on windows
...
bzr revid: al@openerp.com-20131015013700-eo0y09ft0p3w0fwe
2013-10-15 03:37:00 +02:00
Martin Trigaux
1d59e6f784
[IMP] fonts: improvement of custom font intergration in rml reports
...
creation of model res.font
preload font list with basic pdf fonts for performances improvements
add 'reload fonts' on view to scan the filesystem
font selection is a simple on2many
bzr revid: mat@openerp.com-20131014151906-racz1lm0arw6ahfk
2013-10-14 17:19:06 +02:00
Martin Trigaux
b9c3d93416
[IMP] font: handle better the difference of fonts
...
bzr revid: mat@openerp.com-20131014150507-4ueuyyneo6h2f6ju
2013-10-14 17:05:07 +02:00
Fabien Meghazi
392776523b
[ADD] QWeb: t-keep-query
...
bzr revid: fme@openerp.com-20131014150442-7gn82i8bb8p6tfi7
2013-10-14 17:04:42 +02:00
bth-openerp
b09a17bf4c
[IMP]Update email like partner_name@company_name.example.com
...
bzr revid: bth@tinyerp.com-20131014132730-xhdb19fhs70qwxzq
2013-10-14 18:57:30 +05:30
Martin Trigaux
53e8625cea
[FIX] font: cleaning and better default data
...
bzr revid: mat@openerp.com-20131014123815-6tnegdiv4cnaimtf
2013-10-14 14:38:15 +02:00
bth-openerp
a3ae21d958
[IMP]Added partner demo data.
...
bzr revid: bth@tinyerp.com-20131014111137-ffkxhfmr7vuasbti
2013-10-14 16:41:37 +05:30
Xavier Morel
625f4e253f
[IMP] correctly handle empty m2o field serialization
...
bzr revid: xmo@openerp.com-20131014105621-mwiucen7glajccea
2013-10-14 12:56:21 +02:00
Martin Trigaux
3798b1ed96
[IMP] better labels
...
bzr revid: mat@openerp.com-20131014101523-bwb4lda2rxbqpb8a
2013-10-14 12:15:23 +02:00
Fabien Meghazi
9cf7418b18
[FIX] Temporary fix for xmlid
...
bzr revid: fme@openerp.com-20131014100753-3pk226p4gsa6zrec
2013-10-14 12:07:53 +02:00
Martin Trigaux
b3a8a4493d
[IMP] fonts: adapt fonts to many2one instead of list
...
bzr revid: mat@openerp.com-20131014094122-6ndc5scni2xyzksy
2013-10-14 11:41:22 +02:00
Xavier Morel
a720eec77c
[FIX] monetary field rounding, QWebContext in tests
...
bzr revid: xmo@openerp.com-20131014093657-wl00zhbgk5b1zs0o
2013-10-14 11:36:57 +02:00
Xavier Morel
64ea89e3be
[MERGE] from parent
...
bzr revid: xmo@openerp.com-20131014085215-qoqytud1mkpdqbz0
2013-10-14 10:52:15 +02:00
Antony Lesuisse
8d7caa9817
[MERGE] trunk
...
bzr revid: al@openerp.com-20131013022304-ebndbid3j4x0ouyg
2013-10-13 04:23:04 +02:00
Antony Lesuisse
d2eb959710
[FIX] ensure the use the registry signaling for registries loaded with -d
...
bzr revid: al@openerp.com-20131013021322-5ej7ovpcrf7ilnn5
2013-10-13 04:13:22 +02:00
Antony Lesuisse
dbd1b3e7dd
restore qwebcontext, comment out sandboxed eval till a proper (fast)
...
implementation is ready
bzr revid: al@openerp.com-20131013000711-dwqgj803nfdjcz3d
2013-10-13 02:07:11 +02:00
Xavier Morel
29d10fd8ea
[REM] conversion in monetary widget, turns out to be a misunderstood need
...
bzr revid: xmo@openerp.com-20131011142512-3j5vuik1o4k6q6jj
2013-10-11 16:25:12 +02:00
Olivier Dony
7cb7405ffd
[IMP] orm: _store_get_values: rename variables to make this horror slightly more readable
...
We keep having to fight variable decay in that function, for some reason.
bzr revid: odo@openerp.com-20131011134501-7b5rflknjm1r9zfd
2013-10-11 15:45:01 +02:00
Olivier Dony
8ac110c4dd
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5098 rev-id: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
...
bzr revid: dle@openerp.com-20131009131902-a93nsbou4w8y0vlx
bzr revid: chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: dle@openerp.com-20130924130544-kmkyr0d73cusvdav
bzr revid: odo@openerp.com-20131011134433-nyfjipvlql4xu127
2013-10-11 15:44:33 +02:00
Olivier Dony
088cb0255d
[FIX] registry: restore `elif` changed to `if` in previous commit, for better readability (no effect)
...
This should have no effect because when the first `if`
is entered a new registry is instantiated with
the default value for base_cache_signaling_sequence
set to 1, preventing entering the next `if` even
without `elif`.
bzr revid: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
2013-10-11 14:39:14 +02:00
Christophe Lilo Matthieu
8a54670c57
[FIX] qweb safe_eval: added safe attributes for evaluation. Currently _name is considered as safe; used in publish or edit management (object._name)
...
bzr revid: tde@openerp.com-20131011123517-0xd0m7wfvq39s0y0
2013-10-11 14:35:17 +02:00
Xavier Morel
df0fc4afc2
[IMP] test conversions correctly applied, remove unnecessary fields
...
bzr revid: xmo@openerp.com-20131011114703-rgg9nsyrm6k92uak
2013-10-11 13:47:03 +02:00
Xavier Morel
20f89a8d85
[IMP] change monetary t-field options, make them more sensible and flexible
...
bzr revid: xmo@openerp.com-20131011111620-sitjaxoykgjp2175
2013-10-11 13:16:20 +02:00
Xavier Morel
9cbc632fa1
[IMP] smartenify res_currency code
...
bzr revid: xmo@openerp.com-20131011105120-1d5fg06j6zsuxty2
2013-10-11 12:51:20 +02:00
Olivier Dony
78579d289b
[FIX] registry: avoid discarding registry or cache when the registry is fresh
...
When the sequence value is 1 it means that either:
- the registry was just instantiated, so there is no
reason to reload it immediately, the real checks will
start at next request
- the db was just created with new sequences set to 1,
so there has been no change to reload
In both cases there is no good reason to reload the
registry, and it is actually a performance killer,
especially for cron workers that keep iterating on
the list of databases.
bzr revid: odo@openerp.com-20131011100313-4bud8e9xq2afp9z7
2013-10-11 12:03:13 +02:00
Guewen Baconnier
9c769c9a99
[FIX] missing a threading.RLock in RegistryManager.get():
...
if no registry exists and several calls to RegistryManager.get() are called at the same time
by several threads, several registries will be created one after the other and only the last
one will be kept in cls.registries
lp bug: https://launchpad.net/bugs/1238560 fixed
bzr revid: guewen.baconnier@camptocamp.com-20131011092632-b267vhdadh7q9som
2013-10-11 11:26:32 +02:00
Thibault Delavallée
b0d16d0fcc
[MERGE] Sync with trunk until revision 4967
...
bzr revid: tde@openerp.com-20131011091605-79yhy54spnenf21u
2013-10-11 11:16:05 +02:00
Launchpad Translations on behalf of openerp
8c3f19d913
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044915-qxutw9o1lhyymj8l
2013-10-11 04:49:15 +00:00
Antony Lesuisse
a3fffe3b15
[REM] chorus on multiprocessing cron, it doesnt really helps
...
bzr revid: al@openerp.com-20131010231628-b81uhmhg14aj85tq
2013-10-11 01:16:28 +02:00
Olivier Dony
dafa12d92c
[FIX] ir.model: FK constraints for custom m2o fields were never created, creating possible data integrity errors
...
bzr revid: odo@openerp.com-20131010170718-lwoxkqc1tx7i8vhg
2013-10-10 19:07:18 +02:00
Christophe Matthieu
e455e70b62
[IMP] qweb: add xmlid in value for xml render
...
bzr revid: chm@openerp.com-20131010113407-8rwtqhgi437n33r2
2013-10-10 13:34:07 +02:00
Christophe Matthieu
6423609f86
[IMP] tools.safe_eval_qweb: remove all private attributes from the global and local dict start with underscore
...
bzr revid: chm@openerp.com-20131010082933-l8n2c08xgnz6y9fu
2013-10-10 10:29:33 +02:00
Xavier Morel
7537157519
[REV] broken commit
...
bzr revid: xmo@openerp.com-20131010070857-svf0oh7qk9xw0goi
2013-10-10 09:08:57 +02:00
Christophe Matthieu
a7a2241bca
[IMP] tools.safe_eval_qweb: methods intended to provide more restricted alternatives to evaluate simple and/or untrusted code, objects and browse record.
...
Methods in this module are typically used as alternatives to eval() to parse OpenERP domain strings, conditions and expressions, mostly based on locals condition/math builtins and browse record values. (use jinja sandboxed environment)
This is done on purpose: it prevents incidental or malicious execution of Python code that may break the security of the server.
bzr revid: chm@openerp.com-20131009124032-elygz03eg23uq1yp
2013-10-09 14:40:32 +02:00
Launchpad Translations on behalf of openerp
2779496635
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054822-v57c9imyteomp381
bzr revid: launchpad_translations_on_behalf_of_openerp-20131009054909-1nmq8z3sk3ao5j0m
2013-10-09 05:49:09 +00:00
Thibault Delavallée
4fa93e29b8
[MERGE] Sync with main website branch
...
bzr revid: tde@openerp.com-20131008152345-bbr6csg6z9m0q52z
2013-10-08 17:23:45 +02:00
Christophe Matthieu
1f5f1006fd
[IMP] ir.rule: add the http secure session in the eval context.
...
bzr revid: chm@openerp.com-20131008151937-ox3ktq8uq9mxnpvp
2013-10-08 17:19:37 +02:00
Xavier Morel
ef848653af
[FIX] rename currency widget to monetary to match views
...
bzr revid: xmo@openerp.com-20131008122006-k7xjv2lkd0t7lza7
2013-10-08 14:20:06 +02:00
Thibault Delavallée
fe57ed6f8d
[MOV] portal: moved group_portal from portal module to base. First step towards including portal stuff directly into server.
...
bzr revid: tde@openerp.com-20131008113338-mrkae8rwv4jif1x6
2013-10-08 13:33:38 +02:00
Martin Trigaux
a0059326fc
[IMP] remove useless comment
...
bzr revid: mat@openerp.com-20131008111631-y47f0y4wyf8hsf2g
2013-10-08 13:16:31 +02:00
Martin Trigaux
9680b1cd39
[IMP] move comment to the right line
...
bzr revid: mat@openerp.com-20131008105412-pqxpo2q12odjyqp4
2013-10-08 12:54:12 +02:00
Martin Trigaux
241c054b35
[IMP] correctly bound _symbol_f and redifine self._symbol_set_char to keep the API
...
bzr revid: mat@openerp.com-20131008104737-eellli48re2pfmos
2013-10-08 12:47:37 +02:00
Martin Trigaux
3ae73d572d
[FIX] function fields: bound symbol methods of function field (type char) to the correct methods of the char field
...
lp bug: https://launchpad.net/bugs/1208074 fixed
bzr revid: mat@openerp.com-20131008102135-r7lqvky0vd75yo1q
2013-10-08 12:21:35 +02:00
Christophe Matthieu
1a0b74d033
[IMP] ir_ui_view: improve security dev. Log a warning message if the browse record used in the views have a SUPERUSER access.
...
bzr revid: chm@openerp.com-20131008095805-8ek62kl4k0spw9b8
2013-10-08 11:58:05 +02:00
Xavier Morel
273f62bc78
[IMP] move translate flag out of base qweb rendering
...
bzr revid: xmo@openerp.com-20131008092207-m27ox8pebl36a45p
2013-10-08 11:22:07 +02:00
Xavier Morel
d414f8c7cf
[IMP] make view rendering engine kinda sorta pluggable
...
bzr revid: xmo@openerp.com-20131008082555-l8b2mu8ny8ouf5n5
2013-10-08 10:25:55 +02:00
Xavier Morel
e29028ea0e
[ADD] missing access rule thing
...
bzr revid: xmo@openerp.com-20131008082543-pzpknr48xfdbxxna
2013-10-08 10:25:43 +02:00
Xavier Morel
5e1c17a3a7
[ADD] docstring about qweb usage
...
bzr revid: xmo@openerp.com-20131008070742-4k1egtvmdvz3pv6e
2013-10-08 09:07:42 +02:00
Xavier Morel
47fc0a1093
[ADD] apply currency's rounding to currency widget values
...
bzr revid: xmo@openerp.com-20131008064226-ry22z6w23d88szr8
2013-10-08 08:42:26 +02:00
Launchpad Translations on behalf of openerp
05994eb775
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131008061813-6iqrtiyhjo3otr9v
2013-10-08 06:18:13 +00:00
Xavier Morel
a6e4951886
[ADD] currency prefix symbol
...
bzr revid: xmo@openerp.com-20131007150330-sys0320gaui2crtt
2013-10-07 17:03:30 +02:00
Xavier Morel
727b0e27c5
[ADD] currency qweb field widget, postfix currency
...
bzr revid: xmo@openerp.com-20131007145346-a3hlb6xjdwroyvzb
2013-10-07 16:53:46 +02:00
Xavier Morel
5ca6feb3fb
[IMP] split out HTML export tests into a bunch of classes
...
bzr revid: xmo@openerp.com-20131007132554-4vq2u80zhst8n1ei
2013-10-07 15:25:54 +02:00
Xavier Morel
a30a4640c2
[IMP] add some docstrings, split out fetching the converter model in ir.qweb in its own method
...
This way, it's possible to inherit from ir.qweb and override converter discovery
bzr revid: xmo@openerp.com-20131007125155-5j0xeov213sz4ccq
2013-10-07 14:51:55 +02:00
Xavier Morel
7a8ea1eb75
[IMP] move image serialization to image widget, not all binary fields
...
bzr revid: xmo@openerp.com-20131007113133-y0xcj0tgp8ionrzo
2013-10-07 13:31:33 +02:00
Xavier Morel
0bce14ccd7
[MERGE] from trunk for tests fixes
...
bzr revid: xmo@openerp.com-20131007093527-gkem29e7agcmt0rd
2013-10-07 11:35:27 +02:00
Xavier Morel
e5d67ad2e0
[REM] broken tests
...
expectation of view validation errors when creating view referencing
non-existent fields or models, but in website branch models and views
have become independents, these are not context-free errors anymore.
Also fix shit code.
bzr revid: xmo@openerp.com-20131007093328-gjrktqbsoe48ikol
2013-10-07 11:33:28 +02:00
Xavier Morel
cd31b4af4d
[IMP] move field conversion around
...
ir.fields architecture turns out not to be a very good or simple fit,
especially as different widgets/fields need different granularity of
customizations. Having objects dedicated to each field type/widget
makes things simpler as it allows a conversion pipeline which can be
plugged into at any point.
bzr revid: xmo@openerp.com-20131007091556-03azc2mdhcb7kmwo
2013-10-07 11:15:56 +02:00
Thibault Delavallée
b94389dfca
[FIX] ir_ui_view: MOVABLE_BRANDING back, was deleted by error when merging trunk
...
bzr revid: tde@openerp.com-20131007090206-f0y2vtv84113tbcd
2013-10-07 11:02:06 +02:00
Xavier Morel
856e3d0b91
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131007085815-sfzb0lrhysxsdxzg
2013-10-07 10:58:15 +02:00
Thibault Delavallée
b74c255168
[MERGE] Sync with trunk until revision 4967 (including al cleaning)
...
bzr revid: tde@openerp.com-20131007081039-adyay7oy1tpx4g2k
2013-10-07 10:10:39 +02:00
Antony Lesuisse
df230e07e4
move workflow
...
bzr revid: al@openerp.com-20131006151827-oevn6uuv005qbsu8
2013-10-06 17:18:27 +02:00
Antony Lesuisse
e14ec807d2
fix xml order for change password wizard
...
bzr revid: al@openerp.com-20131006150857-6jm5jpjl1u4p0vo7
2013-10-06 17:08:57 +02:00
Antony Lesuisse
08c2fe46f1
fix manifest
...
bzr revid: al@openerp.com-20131006150525-stso6goforsxsnjl
2013-10-06 17:05:25 +02:00
Antony Lesuisse
8e688b8ac6
missing import
...
bzr revid: al@openerp.com-20131006150425-m7xjwji6xncxdum3
2013-10-06 17:04:25 +02:00
Antony Lesuisse
6e2e77beec
fix res_group rename, move files to clean up res
...
bzr revid: al@openerp.com-20131006150309-fg8vuvaq9hmvi9oh
2013-10-06 17:03:09 +02:00
Antony Lesuisse
6488849191
[REM] res.config and res.users cleanups.
...
removed deprecated configuration wizards
removed deprecated busniess card report
moved change password wizard to res_users.py
bzr revid: al@openerp.com-20131006144020-zyp2jz5vy28m9q3f
2013-10-06 16:40:20 +02:00
Antony Lesuisse
31a8dc36e5
[REM] shortcuts, deprecated by bookmarks
...
bzr revid: al@openerp.com-20131006132424-bpd8w0zzuf42s55l
2013-10-06 15:24:24 +02:00
Antony Lesuisse
f1faa55cb6
rename links get, allow reference fields without size.
...
bzr revid: al@openerp.com-20131006114704-mkbheq3l355u21jb
2013-10-06 13:47:04 +02:00
Antony Lesuisse
881a76dbcf
[IMP] Technical menu reorg, remove depreacted requests.
...
Moved low levels object to database structure.
Removed res.request models bu keep res.request.link, res.request.link is used
to flag models worth to be linked by references fields.
Moved currency and state to the approriate directory.
bzr revid: al@openerp.com-20131006112608-3qucrevmkf43kq20
2013-10-06 13:26:08 +02:00