Commit Graph
24278 Commits
Author SHA1 Message Date
P. Christeas 8adeacd146 [MERGE] test_reports: helper function for testing wizard-based reports
bzr revid: odo@openerp.com-20101220174051-nf2m3edwo06rh4oc
2010-12-20 18:40:51 +01:00
Jay (OpenERP) 0170649b71 [FIX] convert: correct default value for <act_window>'s domain attribute
lp bug: https://launchpad.net/bugs/691438 fixed

bzr revid: odo@openerp.com-20101220172656-i8cgliwnt7g1dyh6
2010-12-20 18:26:56 +01:00
Olivier Dony dc4d460d16 [MERGE] translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet)
bzr revid: odo@openerp.com-20101220171813-882waudb2grz81jo
2010-12-20 18:18:13 +01:00
Xavier Morel b56127a689 [IMP] return the module version (installed_version) during web modules queries
bzr revid: xmo@openerp.com-20101220164648-4n78ghbov1rruei5
2010-12-20 17:46:48 +01:00
Olivier Dony 0fedbb3215 [FIX] fields.reference: don't accept half-defined references - second part of fix, in create()
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220162501-v0xag7nwdhfij14f
2010-12-20 17:25:01 +01:00
Olivier Dony afed2d47fe [FIX] fields.reference: don't accept half-defined references, and avoid crashing on previous bad ones
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220160959-f6x2kik46btf0uol
2010-12-20 17:09:59 +01:00
OpenERP edcbf91f03 [FIX] orm, translate: unconditionally set the translation from .pot to db, lookup a translation by name, type, and lang only (no more source string)
lp bug: https://launchpad.net/bugs/682092 fixed

bzr revid: openerp@vmt-hp4520s-20101220151523-vy4xzvahz80tara7
2010-12-20 16:15:23 +01:00
olt@tinyerp.com 4236d93ba5 [FIX] tools.convert: logger.log: first argument needs to be an integer, not a string
bzr revid: olt@tinyerp.com-20101220150747-4ull8wjwf7ichu9l
2010-12-20 16:07:47 +01:00
Launchpad Translations on behalf of openerp e81905c7bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101218050151-7b2d211zmlho0nz5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101219044527-usqaexey3l5mc7a8
bzr revid: launchpad_translations_on_behalf_of_openerp-20101220044920-a2cwkndd2s79fpc0
2010-12-20 04:49:20 +00:00
P. Christeas 656cb5753b test_reports: aesthetic improvements for the test_report_action
bzr revid: p_christ@hol.gr-20101219200627-7pju2glqrs53631u
2010-12-19 22:06:27 +02:00
P. Christeas 480a3441f3 test_reports: rename res_model, res_ids to active_model, active_ids
Requested by Odo, for consistency

bzr revid: p_christ@hol.gr-20101219200620-0mldt3s19xg6j5w5
2010-12-19 22:06:20 +02:00
P. Christeas 5918f08733 test_reports: first draft of a full action/wizard/report tester
Use with a yaml test like:
-
   I will test the action reports
-
  !python {model: res.partner}: |
    from tools import test_reports
    reload(test_reports) # ;)
    test_reports.try_report_action(cr, uid, 'action_account_balance_menu', our_module='account')

bzr revid: p_christ@hol.gr-20101219200608-ffl2k3qiexjxvp48
2010-12-19 22:06:08 +02:00
qdp-launchpad@tinyerp.com c613e19ac5 [FIX] pruchase: fixed access rights
bzr revid: qdp-launchpad@tinyerp.com-20101217164143-glfqx79n719079i3
2010-12-17 17:41:43 +01:00
Olivier Dony 966907eaeb [FIX] fields_view_get: ignore non-element nodes during view inheritance resolution
lp bug: https://launchpad.net/bugs/494969 fixed

bzr revid: odo@openerp.com-20101217150527-4mv740mppqimvsnd
2010-12-17 16:05:27 +01:00
OpenERP ff55f829ce [FIX] translate: correctly set the translation for menus indirectly named by their action and not visible in the simplified view.
bzr revid: openerp@vmt-hp4520s-20101217123822-0g5h04fz92fxfn42
2010-12-17 13:38:22 +01:00
qdp-launchpad@tinyerp.com 5b0bb2b01b [FIX] sale_margin: removed unecessary (already existing in sale module) test steps that was wrong (SO should be in order_policy 'invoice from delivery') and useless (not related to the sale_margin feature)
bzr revid: qdp-launchpad@tinyerp.com-20101217111600-uuedz0164t7888sx
2010-12-17 12:16:00 +01:00
olt@tinyerp.com a536adce04 [FIX] addons/__init__.py: wrong number of arguments for format string
bzr revid: olt@tinyerp.com-20101217110210-sxqhhvj7dh96h58q
2010-12-17 12:02:10 +01:00
qdp-launchpad@tinyerp.com 65a98d3d03 [FIX] l10n_be: Class 1 accounts (=accounts starting with code 1) must be liability instead of asset for Account Type
bzr revid: qdp-launchpad@tinyerp.com-20101217103116-8psp5n1zztnehmrj
2010-12-17 11:31:16 +01:00
qdp-launchpad@tinyerp.com a2f14d4c07 [FIX] sale_margin: fixed the yaml test
bzr revid: qdp-launchpad@tinyerp.com-20101217103026-d74d7m138hzf6s0o
2010-12-17 11:30:26 +01:00
qdp-launchpad@tinyerp.com f2aa6adb15 [FIX] stock: set readonly=True on the scrapped field of stock.move
bzr revid: qdp-launchpad@tinyerp.com-20101217102447-lsazxdkehe05ly4q
2010-12-17 11:24:47 +01:00
Launchpad Translations on behalf of openerp 4028b53efe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101217055305-qykqycjvpt8fc9q0
2010-12-17 05:53:05 +00:00
Launchpad Translations on behalf of openerp 0c1e226ba0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101217045436-40c3ybxz4w1upvxu
2010-12-17 04:54:36 +00:00
Olivier Dony 6c1ec1803a [FIX] safe_eval: support for allowing auto-loading of python submodules, such as _strptime
bzr revid: odo@openerp.com-20101216183839-7mor9xfzbor2s9r7
2010-12-16 19:38:39 +01:00
Olivier Dony 0da4773e14 [IMP] orm.read_group: raise if called with group_by being a non-database-stored field
lp bug: https://launchpad.net/bugs/689070 fixed

bzr revid: odo@openerp.com-20101216183708-o61idware1v6tyk3
2010-12-16 19:37:08 +01:00
qdp-launchpad@tinyerp.com 6a2a30fa24 [MERGE] merged the xrg branch with misc. patches
bzr revid: qdp-launchpad@tinyerp.com-20101216164012-u0t0m6iima8dybyj
2010-12-16 17:40:12 +01:00
qdp-launchpad@tinyerp.com cd816b6710 [FIX] stock, stock_location: acces rights
bzr revid: qdp-launchpad@tinyerp.com-20101216163807-j3zsat1jpsoyu4m0
2010-12-16 17:38:07 +01:00
qdp-launchpad@tinyerp.com 32cfaf0734 [IMP] stock: uability improvements
bzr revid: qdp-launchpad@tinyerp.com-20101216163731-sfsxfs5o2af31ez3
2010-12-16 17:37:31 +01:00
qdp-launchpad@tinyerp.com 2e750d4f56 [FIX] purhcase: removed domain=supplier on the partner_id field of purhcase order form in order to be compliant with behavior os SO (the supplier button is already thicked by default)
bzr revid: qdp-launchpad@tinyerp.com-20101216163431-9hv31gzfbt720nkp
2010-12-16 17:34:31 +01:00
qdp-launchpad@tinyerp.com b8b24f0504 [IMP] account: removed translate=True on the name of account.journal in order to clean the translation progress
bzr revid: qdp-launchpad@tinyerp.com-20101216163216-gf7ey64ad6use8sk
2010-12-16 17:32:16 +01:00
qdp-launchpad@tinyerp.com 10868c2eb5 [IMP] sale_margin: replaced tabs with 4 spaces in view and removed the button 'create invoice' in order to reuse the one defined in the first tab
bzr revid: qdp-launchpad@tinyerp.com-20101216163025-x1rbfsd4bcrxgdu9
2010-12-16 17:30:25 +01:00
Olivier Dony a86a432edf [FIX] res_config: made strings in compatibility install wizard translatable
bzr revid: odo@openerp.com-20101216150430-8tg06fpfubdac4py
2010-12-16 16:04:30 +01:00
Christophe Simonis 8a57904105 [IMP] web_livechat: better icons & text
bzr revid: chs@openerp.com-20101216112752-9xg4i9ompw1bi81v
2010-12-16 12:27:52 +01:00
Olivier Dony d33f6f2903 [FIX] report_sxw: workaround to prevent crash of reports launched from wizards that pass invalid IDs
bzr revid: odo@openerp.com-20101216100749-z06fv08n4u5rhwl0
2010-12-16 11:07:49 +01:00
Launchpad Translations on behalf of openerp 1f377cca79 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044244-go321rqvup2m8l4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044841-ewqql1al8ld9es0h
2010-12-16 04:48:41 +00:00
Vo Minh Thu (OpenERP) d98a26fd42 [MERGE] orm: fixed translations for inherited views when the parent view uses a different model
bzr revid: odo@openerp.com-20101215182416-yk4n4krmw2anuyt3
2010-12-15 19:24:16 +01:00
Olivier Dony 87495c5972 [FIX+I18N] hr: marital status should be translatable
lp bug: https://launchpad.net/bugs/685203 fixed

bzr revid: odo@openerp.com-20101215172455-411ka2can99pmpt5
2010-12-15 18:24:55 +01:00
uco (OpenERP) aa0ef3c602 [MERGE] all: added missing contexts in most methods + improved context usage according to guidelines
bzr revid: odo@openerp.com-20101215171655-ohuu8uwxzza9jbni
2010-12-15 18:16:55 +01:00
Olivier Dony 0345118bd4 [FIX] procurement, hr_timesheet_sheet: minor translation fixes
bzr revid: odo@openerp.com-20101215160304-of1elr30jl19tq1q
2010-12-15 17:03:04 +01:00
sbh(OpenERP) 4fc6c7f16c [MERGE] rng,res.partner: enable "invisible" attribute for <page> elements + make partner History tab invisible by default (was empty)
bzr revid: odo@openerp.com-20101215155532-8mwx40b61o73xq03
2010-12-15 16:55:32 +01:00
Olivier Dony 842d565db1 [I18N] base: updated POT template after latest translation improvements
bzr revid: odo@openerp.com-20101215154433-v16938z982mlifmz
2010-12-15 16:44:33 +01:00
Olivier Dony 2d89b7a153 [I18N] all: re-exported translation templates after latest translation improvements
bzr revid: odo@openerp.com-20101215150748-ypwfuhqk5o7f3g48
2010-12-15 16:07:48 +01:00
Olivier Dony 97ea0b97a3 [IMP] translate: _( ) should always use ir.translation OSV, no fallback to direct DB access needed
bzr revid: odo@openerp.com-20101215132128-1pxzjrde0bpu5smg
2010-12-15 14:21:28 +01:00
Olivier Dony 96075073d1 [FIX] ir.translation: typo in previous commit, sorry
bzr revid: odo@openerp.com-20101215121143-f1hgn5cp92alzdvx
2010-12-15 13:11:43 +01:00
Olivier Dony 650490d61d [IMP] ir.translation,tools.translate._(): cleanup and speedup if translations via _()
- Removed expensive inspect.stack() (courtesy of xrg)
- Improved heuristics for detection of context/lang and cursor
- Switch to using ir.translation when possible instead of direct DB hit to benefit from cache
- Cleanup

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

bzr revid: odo@openerp.com-20101215114019-psrsu998inw6cksu
2010-12-15 12:40:19 +01:00
OpenERP d3e8448875 [FIX] orm: fixed translations for inherited views when the parent view uses a different model.
This fixes for instance the Next and Skip buttons in the Reconfigure shortcut menu.

bzr revid: openerp@vmt-hp4520s-20101215112537-lrp6tphs9qu4b9dq
2010-12-15 12:25:37 +01:00
Harry (OpenERP) 516dc572c4 [FIX] openerp-buildfail-1-4433: use orm method instead of sql query in action_done of stock.move object in stock module
bzr revid: hmo@tinyerp.com-20101215075648-v709es1gkjiqqio8
2010-12-15 13:26:48 +05:30
Launchpad Translations on behalf of openerp 9b10499abe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215043854-s3j1x291m7kl3dig
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215052125-i0y5f9gpuhsjreax
2010-12-15 05:21:25 +00:00
uco (OpenERP) 63ace6bb80 [MERGE]
bzr revid: uco@tinyerp.com-20101215051143-g5qmevkmic66q0ip
2010-12-15 10:41:43 +05:30
P. Christeas 84a3e9da63 [MERGE] base,res.users: cleanup uid cache when removing/disabling user (test incl.)...
+ fix regression with menu 
+ some minor cleanup

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

bzr revid: odo@openerp.com-20101214193304-928za9xrkmt8yi9b
2010-12-14 20:33:04 +01:00
qdp-launchpad@tinyerp.com 16620a3fff [FIX] stock: fixed the proposal of journal on returned shipment
bzr revid: qdp-launchpad@tinyerp.com-20101214163426-59umaqtxwrojigfx
2010-12-14 17:34:26 +01:00