P. Christeas
6e13dcb8a2
orm: Return numeric uid at perm_read() when no access to res.user
...
If a res.user belongs to a company_id that the current user has no access
to, perm_read() wouldn't be able to return results (but exception). Now,
just skip the uid->login resolution and return the numeric value instead.
bzr revid: p_christ@hol.gr-20101123135654-bslxfv93p10216d3
2010-11-23 15:56:54 +02:00
P. Christeas
ddb331f944
res_users: When deleting a group with users, have a more detailed exc.
...
bzr revid: p_christ@hol.gr-20101123135506-qr5aumaw8bwoedfd
2010-11-23 15:55:06 +02:00
P. Christeas
1aa8aad95e
ir_actions: Cleanup code, use pythonic logging.
...
Conflicts:
bin/addons/base/ir/ir_actions.py
bzr revid: p_christ@hol.gr-20101123135224-190hp303ipjncml8
2010-11-23 15:52:24 +02:00
P. Christeas
f4c0dfd0f5
addons/base: bump the module version
...
bzr revid: p_christ@hol.gr-20101123135003-krickjbds9qnbnhq
2010-11-23 15:50:03 +02:00
P. Christeas
063ac95428
base.module.upgrade: have default context arg.
...
bzr revid: p_christ@hol.gr-20101123135001-gosz6v48duf3t467
2010-11-23 15:50:01 +02:00
P. Christeas
091a3eba2b
websrv_lib: fix do_OPTIONS for m$ webdav
...
Since we have moved all code into the websrv_lib, we must also support
this non-standard extension in our do_OPTIONS(). It has been noted that
some Win XP machines wouldn't connect to our WebDAV unless we set that
header.
bzr revid: p_christ@hol.gr-20101123134932-65wmh8bntuwt4jvc
2010-11-23 15:49:32 +02:00
P. Christeas
ac2c09908a
OSV: a lint check fix
...
bzr revid: p_christ@hol.gr-20101118184840-08li9h2ebfzdtxpy
2010-11-18 20:48:40 +02:00
P. Christeas
41c9098ca9
OSV: Fix callable _sql_constraint messages
...
This fixes the support for callable sql_constraint messages, which have
always been wrong. It respects the (cr, uid, ids, context) arguments and
will fallback to Postgres's error if it cannot call.
Note that sql constraints are not properly explained when base_module_record
or audittrail are installed.
bzr revid: p_christ@hol.gr-20101118184643-8tnmj83b09kuvf1j
2010-11-18 20:46:43 +02:00
P. Christeas
d0dee32019
osv: Improve the translation logic for the osv.check wrapper
...
Done after bug [655783], the osv layer is too early to call the _().
Also, we cannot trust the cursor to perform a further SQL query on
it, since it carries the IntegrityError.
bzr revid: p_christ@hol.gr-20101118184638-2yrfpvx9har48h1g
2010-11-18 20:46:38 +02:00
P. Christeas
c8f52b8c98
ORM, ir_*: convert standard constraint messages to callables
...
Also, fix way that callable constraints are passed with the context so
that they can have translatable strings inside (but not on the results
of the callable).
Conflicts:
bin/addons/base/ir/ir_model.py
bin/addons/base/module/module.py
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20101118164721-19rgx43d3p96b2lf
2010-11-18 18:47:21 +02:00
P. Christeas
1f380f0504
web-services: new "get_sqlcount" call
...
Useful for automated statistics, returns the global SQL counter of queries.
It does not affect any counters, and will print a warning if debug_sql
is not enabled (counter would be zero, then).
bzr revid: p_christ@hol.gr-20101117115232-olq747j4vmauqgy8
2010-11-17 13:52:32 +02:00
P. Christeas
406e8aaba6
ORM: do import warnings, needed for _check_recursion() earlier patch
...
bzr revid: p_christ@hol.gr-20101116163536-jmfxkzagrq5fcrx8
2010-11-16 18:35:36 +02:00
P. Christeas
89c40dec2f
translate: fix scanning the ir.models for translations
...
The loop would only consider models that have >0 records registered in
ir.model.data.
This is merge of commits 3988ebf4dc130, 070e7d6ac717de and adapt to trunk.
bzr revid: p_christ@hol.gr-20101116163510-yemzlcy0f0yk893l
2010-11-16 18:35:10 +02:00
P. Christeas
cfdd34d511
web_services: implement os timestamp query.
...
The os user and sys elapsed times are very useful for performance metrics,
they can tell us how much did the openerp server try for some operation.
Conflicts:
bin/service/web_services.py
bzr revid: p_christ@hol.gr-20101116162025-go5lx4qs658pt7t5
2010-11-16 18:20:25 +02:00
P. Christeas
3e32b34060
base_data: fix English typo
...
bzr revid: p_christ@hol.gr-20101116150753-k60y3sfqn40goppr
2010-11-16 17:07:53 +02:00
P. Christeas
e34769a59d
module wizards: improve over trivial rpc errors
...
bzr revid: p_christ@hol.gr-20101116150607-qh03n3w225j6xh8v
2010-11-16 17:06:07 +02:00
P. Christeas
8ce5d2bc20
tools/misc: prevent icon names from being translated
...
They are identifier strings, not human-readable.
bzr revid: p_christ@hol.gr-20101116150537-s7tyw7d6y0r1dl6c
2010-11-16 17:05:37 +02:00
P. Christeas
08ef1a95f1
ORM: deprecate check_recursion() in favour of _check_recursion()
...
bzr revid: p_christ@hol.gr-20101116150435-jfmjah8ookf11x3y
2010-11-16 17:04:35 +02:00
P. Christeas
4187facd9f
ORM: Better message when copying non-existing records
...
by: jvo@openerp.com
In both cases, we end up with an exception. But it is better to know
which model+id has failed.
bzr revid: p_christ@hol.gr-20101116150047-xtyz8nrt6465ug2k
2010-11-16 17:00:47 +02:00
P. Christeas
63d562de39
ORM: fix bug at orm.copy_data(), would reset context[lang]
...
Thanks to Dr. Gassauer that made me revise this code.
bzr revid: p_christ@hol.gr-20101116150025-ssyiix1c72t04fbk
2010-11-16 17:00:25 +02:00
P. Christeas
329bfb0d18
tools: Initial version of test_reports utility
...
With this utility module, YAML tests (or others) can quickly check a (pdf)
report.
bzr revid: p_christ@hol.gr-20101116145925-z4lshbefogbwz7r9
2010-11-16 16:59:25 +02:00
sma (Tiny)
e96e07e244
Added _description attribute for model Res.groups.
...
lp bug: https://launchpad.net/bugs/672552 fixed
bzr revid: sma@tinyerp.com-20101116125338-ryuhc33tg1lg1iuj
2010-11-16 18:23:38 +05:30
Olivier Dony
0c489cf1fa
[ADD] test: added smoke test for tools.translate.quote and unquote
...
bzr revid: odo@openerp.com-20101116124328-1ez3w3jxvf5v3ilt
2010-11-16 13:43:28 +01:00
Olivier Dony
6a3324a7a0
[IMP] tools.translate: various improvements to tranlations export/import, courtesy of P. Christeas:
...
- better support for multiline labels
- better support for multiple addons paths
bzr revid: odo@openerp.com-20101116123844-mo9mljrzduzs90gg
2010-11-16 13:38:44 +01:00
qdp-launchpad@tinyerp.com
014cd44400
[IMP] account, fiscalyear end of year entries generation: small misc improvments
...
bzr revid: qdp-launchpad@tinyerp.com-20101116121658-31enzyskxpceo312
2010-11-16 13:16:58 +01:00
qdp-launchpad@tinyerp.com
3a50c2e24c
[FIX] account, demo data: fixed the user type of creditors and debtors accounts
...
lp bug: https://launchpad.net/bugs/662538 fixed
bzr revid: qdp-launchpad@tinyerp.com-20101116120834-nfql6vmuwnfu7j1c
2010-11-16 13:08:34 +01:00
Anup (OpenERP)
602815a5ad
[FIX](Maintenance) Exportation fixed for o2m and m2m
...
bzr revid: ach@tinyerp.com-20101116092650-cdzcqn5tc7hq5l3m
2010-11-16 14:56:50 +05:30
qdp-launchpad@tinyerp.com
d3f5955317
[FIX] account, account.move.line query_get: fixed the initial balance computation in order to check only the selected fiscalyear
...
bzr revid: qdp-launchpad@tinyerp.com-20101116083420-rpr5nohjgsb851fk
2010-11-16 09:34:20 +01:00
Launchpad Translations on behalf of openerp
9ce4c19ddb
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101113045543-gq76fkq68gr8ztn4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101114050617-nexh3bn94sursrgz
bzr revid: launchpad_translations_on_behalf_of_openerp-20101115050022-k7zlh9jzqc8beyz4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101116050554-aaipk5pslwtpiv7i
bzr revid: launchpad_translations_on_behalf_of_openerp-20101116050822-70xxlgdqeenfg117
2010-11-16 05:08:22 +00:00
Olivier Dony
87daa5001d
[FIX] account,purchase,hr_timesheet_sheet: fixed broken translation template files (.pot), thanks to last addons and server patches
...
bzr revid: odo@openerp.com-20101115185404-5fzjdlurrsm87rr9
2010-11-15 19:54:04 +01:00
Olivier Dony
7a07db384d
[FIX] account: fixed incorrect calls to _(..) function
...
bzr revid: odo@openerp.com-20101115184617-725dv33unrhw0hqm
2010-11-15 19:46:17 +01:00
Olivier Dony
211b349a07
[FIX] purchase: newlines in XML attributes should be newlines not carriage returns (breaks PO files)
...
bzr revid: odo@openerp.com-20101115184612-ox7osa714kv39o6b
2010-11-15 19:46:12 +01:00
nvi-openerp
1daa82c136
[FIX] Fixed broken .po in l10n_de
...
bzr revid: nicolas.vanhoren@openerp.com-20101115124108-zrll6tnwmn352d2y
2010-11-15 13:41:08 +01:00
Aline Preillon
2267e3f26a
[REM] model_res_log_report access rule, model doesn't exist and breaks db install
...
bzr revid: aline@aline-laptop-20101115090358-xd3ox3gamij5mmqw
2010-11-15 10:03:58 +01:00
Vir (Open ERP)
e09bb51224
[ADD] account,account_followup : Tooltips added for the wizards
...
bzr revid: vir@tinyerp.com-20101115065123-v74rwnd4sem5wh4u
2010-11-15 12:21:23 +05:30
Launchpad Translations on behalf of openerp
119e7a11d2
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101115050315-qaclmic5ub5vtdnr
2010-11-15 05:03:15 +00:00
Harry (OpenERP)
764b9f251e
[FIX] correct regression on intalling module without demo data
...
bzr revid: hmo@tinyerp.com-20101114134821-7djwpr6nmmxu584q
2010-11-14 19:18:21 +05:30
Launchpad Translations on behalf of openerp
ed96a68c17
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101113045740-ri0zzbis11gzhoej
bzr revid: launchpad_translations_on_behalf_of_openerp-20101114050841-xhjhxe3kwbpnt845
2010-11-14 05:08:41 +00:00
Dhara (Open ERP)
eee6870817
[FIX] base_report_designer - old way to call register_all method
...
bzr revid: dhara_open_erp-20101113003611-lvcrcbmaa25i7pfq
2010-11-12 16:36:11 -08:00
Numerigraphe - Lionel Sausin
e323c2738f
[MERGE] ir,osv,tools: replaced some mutable method parameters with None
...
lp bug: https://launchpad.net/bugs/525808 fixed
bzr revid: odo@openerp.com-20101112180727-y6tz92etl6tfep11
2010-11-12 19:07:27 +01:00
qdp-launchpad@tinyerp.com
dd856bd4fd
[MERGE] merged the report team branch
...
bzr revid: qdp-launchpad@tinyerp.com-20101112165802-wnhaqyjpmesh01d6
2010-11-12 17:58:02 +01:00
Olivier Dony
9566084f45
[FIX] share: corrected config message for share_root_url
...
bzr revid: odo@openerp.com-20101112162338-mrpfgqm4yy69hyoa
2010-11-12 17:23:38 +01:00
Olivier Dony
ec450dccd6
[IMP] profile_tools: better help and label for share module install checkbox
...
bzr revid: odo@openerp.com-20101112151936-r00rkesle8d235io
2010-11-12 16:19:36 +01:00
Numerigraphe - Lionel Sausin
8b3bd3ccee
[FIX] typo in field name
...
bzr revid: ls@numerigraphe.fr-20101112142119-e9gqnld7m5dd62kh
2010-11-12 15:21:19 +01:00
Numerigraphe - Lionel Sausin
182cf2b196
[MERGE] sync with the trunk
...
bzr revid: ls@numerigraphe.fr-20101112141041-19kpvr7pzxqankqo
2010-11-12 15:10:41 +01:00
Thibault Francois
cd2af4bb80
[FIX,IMP] addons1 : 16 Bugs fix
...
Plugin improvement
Demo user has user right
crm leads logs stages changes
bzr revid: tfr@openerp.com-20101112134440-drbjwz4in82irkav
2010-11-12 14:44:40 +01:00
Numerigraphe - Lionel Sausin
e013734045
[REF] stricter checking of defauts in fields & orm __init__
...
bzr revid: ls@numerigraphe.fr-20101112134214-h27a1ewxr9c4g3id
2010-11-12 14:42:14 +01:00
apa-tiny
67e41070a1
merged from lp:~openerp-report/openobject-addons/report-dev
...
bzr revid: apa@tinyerp.com-20101112132127-4a3884sc0ne19of7
2010-11-12 18:51:27 +05:30
Thibault Francois
8ad87d0d94
[MERGE]
...
bzr revid: tfr@openerp.com-20101112130821-3z0qw27nb71t81xo
2010-11-12 14:08:21 +01:00
Thibault Francois
5d330715cc
[MERGE] with trunk
...
bzr revid: tfr@openerp.com-20101112130319-79xb14cdvdixvglw
2010-11-12 14:03:19 +01:00