Commit Graph
70787 Commits
Author SHA1 Message Date
Quentin (OpenERP) 4d519be0b4 [IMP] base, res_currency: added an indirection on _current_rate() function to allow a clean overwriting
bzr revid: qdp-launchpad@openerp.com-20130507120149-p2m4ug20nfny234v
2013-05-07 14:01:49 +02:00
Christophe Simonis 01e2e03214 [MERGE] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function
bzr revid: odo@openerp.com-20130508102347-5cnvli102hgrzxml
bzr revid: chs@openerp.com-20130508120951-0r17kb14yxr4r2l2
2013-05-08 14:09:51 +02:00
Christophe Simonis 23f326328a [IMP] openerp.modules.migration: lint file; remove unused imports, reorder imports, reformat literal dict creation
bzr revid: chs@openerp.com-20130508105056-v4arz8d2kem5sngi
2013-05-08 12:50:56 +02:00
Christophe Simonis 4897f1740e [FIX] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function
bzr revid: chs@openerp.com-20130508104658-d2553vdx0etiuhpk
2013-05-08 12:46:58 +02:00
Antony Lesuisse 4c579fe55e [IMP] request add registry_cr helper
bzr revid: al@openerp.com-20130507182521-seuuzkd6uvuxc9xo
2013-05-07 20:25:21 +02:00
Olivier Dony aafd2a7fca [FIX] mail: fix typos + wrong URL links + wrong translation marks in mail signature
bzr revid: odo@openerp.com-20130507175432-kslh1hl7w6ule5fq
2013-05-07 19:54:32 +02:00
Olivier Dony 325f710360 [FIX] account: split the actions to open analytic accounts, as context is not compatible
The same action was erroneously used in two incompatible
cases: once for openining the list of analytic accounts
from a partner form view (requires a special context
with a client-side `active_id` variable) and the second
one for the main Analytic Account menu item (which
cannot have `active_id` in the context - it would crash).

The fix includes setting an empty ({}) context explicitly
on the original action to be sure the incorrect context
is removed upon update.


The error was introduced at rev.8685
revid:qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b

bzr revid: odo@openerp.com-20130507165113-67lam91046t56ky8
2013-05-07 18:51:13 +02:00
Olivier Dony 54ad990e48 [MERGE] Forward-port of 7.0 bugfixes up to rev.4970
revision-id: odo@openerp.com-20130507104025-em6w03pcxeq92az9

bzr revid: odo@openerp.com-20130507112024-p3cukmwp7d8xm2e0
2013-05-07 13:20:24 +02:00
Olivier Dony 82e4bb826a [FIX] ir.ui.menu: safer eval of action contexts when computing needaction
Unchecked eval of a context may fail for various reasons,
such as the use of client-side variables like `active_id`

bzr revid: odo@openerp.com-20130507104025-em6w03pcxeq92az9
2013-05-07 12:40:25 +02:00
Quentin (OpenERP) 0d21c3eba3 [IMP] modules loading: log as INFO test files because, if they are logged as TEST, the loading statement get lost in the mass of real TEST logs in case there are a lot of test files (more visible that way) + there are no reason to special case these files
bzr revid: qdp-launchpad@openerp.com-20130507092422-co9w0qug8k9zw16n
2013-05-07 11:24:22 +02:00
Quentin (OpenERP) 966631d383 [MERGE] account_voucher: fixes related to multi currency. All problems related to multi currency should now be completely solved :-)
bzr revid: qdp-launchpad@openerp.com-20130507085124-0eocvbmg9u8khq20
2013-05-07 10:51:24 +02:00
Olivier Dony dc37c9ffcf [FIX] tools.safe_eval: inconsistent indentation
bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3
2013-05-07 10:49:19 +02:00
Quentin (OpenERP) a87bf67e9d [FIX] account_voucher: using a new partner for the new yaml test to avoid interferences in the other yaml tests
bzr revid: qdp-launchpad@openerp.com-20130507070006-4rnvkdkk09ri3k63
2013-05-07 09:00:06 +02:00
Quentin (OpenERP) 205d8c40e8 [FIX] account: mandatory company_id not present in the config wizard if already configured for this company, and thus it renders the view invisible as the company_id is empty and not visible
bzr revid: qdp-launchpad@openerp.com-20130507065125-4byqfqr20w9g9xzc
2013-05-07 08:51:25 +02:00
Quentin (OpenERP) e81431007e [FIX] purchase: onchange of product now use information in the supplierinfo of the product for name and description if it exists
bzr revid: qdp-launchpad@openerp.com-20130507064945-o0ma2jxjp6dukceg
2013-05-07 08:49:45 +02:00
Launchpad Translations on behalf of openerp f97d0b48e5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130507061422-tcgcyx0a27csccjw
2013-05-07 06:14:22 +00:00
Thibault Delavallée 43d0ce4d65 [MERGE] [FIX] mail: locate current menu using a safer method + check case
bzr revid: tde@openerp.com-20130506153045-mneydacxxugxn95p
2013-05-06 17:30:45 +02:00
Thibault Delavallée 5c3972fd02 [MERGE] [FIX] mail: locate current menu using a safer method + check case
bzr revid: tde@openerp.com-20130506153023-8o1fl4jhunf3ks1p
2013-05-06 17:30:23 +02:00
Quentin (OpenERP) 40dd6d7559 [FIX] account_voucher: replaced xml ids in new yaml test to avoid confusion in yaml import that is breaking the test
bzr revid: qdp-launchpad@openerp.com-20130506152338-4oev9dt0op7op6xe
2013-05-06 17:23:38 +02:00
Christophe Matthieu 9ed71ecf76 [FIX] Remove invite email when validating an invoice. Fixed in 7 but lost when merging into trunk/saas.
bzr revid: chm@openerp.com-20130506135653-7e8nukr68s9255oq
2013-05-06 15:56:53 +02:00
Olivier Dony ce57acd302 [FIX] do_load_needaction: properly reject falsy menu_ids
bzr revid: odo@openerp.com-20130506135031-4y9qydjc67rugq60
2013-05-06 15:50:31 +02:00
Quentin (OpenERP) 5db4dd71c3 [FIX] account_voucher: fixed new yaml test
bzr revid: qdp-launchpad@openerp.com-20130506134804-sdudzoyecjhkdr6b
2013-05-06 15:48:04 +02:00
Olivier Dony aa68659e47 [FIX] mail: locate current menu using a safer method + check undefined case
bzr revid: odo@openerp.com-20130506133915-punpieubdyu1nxgl
2013-05-06 15:39:15 +02:00
Olivier Dony da8670411a [MERGE] Forward-port of 7.0 fixes up to rev.4968
revision-id: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw

bzr revid: odo@openerp.com-20130506132823-zn54tcevfltkgjnf
2013-05-06 15:28:23 +02:00
Christophe Simonis 2c4e370b76 [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update
bzr revid: chs@openerp.com-20130506103054-kb91drgkbj3z5799
2013-05-06 12:30:54 +02:00
Quentin (OpenERP) 92d11a471e [ADD] account_voucher: new test for specific payment_rate specified on the voucher
bzr revid: qdp-launchpad@openerp.com-20130506100708-g2jwb3rlozqjsfmp
2013-05-06 12:07:08 +02:00
Christophe Matthieu 356d18a097 [FIX] An invite email to follow invoice is send to the customer before the real invoice. patch: remove invoice_validate method content of portal_sale
bzr revid: chm@openerp.com-20130506094955-eppzx3fflb3g887j
2013-05-06 11:49:55 +02:00
Launchpad Translations on behalf of openerp a7a4f33d0f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063416-maq2j295cuj0d2j4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060435-zyumznnykvw92bfg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051425-9uhm1n0nmvyus33i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051533-veqndxlj87s13tnp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130502060901-j2v1cs2l31in4q6t
bzr revid: launchpad_translations_on_behalf_of_openerp-20130503062950-h0ojr1tlzqx5nu76
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071101-jh8a9d3cb8gcz34e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130505060428-4qacudpyuiez39b3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063544-ggq3rpht7nsoinxs
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071108-g8u3u06xpp3g4sks
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063552-lwxw1ldh3mbflzqf
2013-05-06 06:35:52 +00:00
Quentin (OpenERP) 5c7c59b3c7 [ ] empty commit to trigger a build in runbot
bzr revid: qdp-launchpad@openerp.com-20130503142802-xrzfahin53zqkirm
2013-05-03 16:28:02 +02:00
Quentin (OpenERP) 71530a3a9b [FIX] sale: invoice sale order line fix (Added missing import statement)
bzr revid: qdp-launchpad@openerp.com-20130503133032-q8ijb3hzj4gj9f12
2013-05-03 15:30:32 +02:00
Cedric Snauwaert a1ab6be4df [FIX]sale wizard: missing import and local variable to call worflow action
bzr revid: csn@openerp.com-20130503124345-f1cvr6wps0d9bcu8
2013-05-03 14:43:45 +02:00
Quentin (OpenERP) e02c15ed61 [FIX] account_voucher: typo
bzr revid: qdp-launchpad@openerp.com-20130503115711-bm693r6yjjsvspz5
2013-05-03 13:57:11 +02:00
Olivier Dony 6c3b3ea380 [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3915
revision-id: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97

bzr revid: odo@openerp.com-20130503102451-nynkrrpldrafyv3i
2013-05-03 12:24:51 +02:00
Olivier Dony f6f575543f [FIX] need_action: avoid reloading needaction counters when there is no menu
- guard do_load_needaction to prevent exceptions when
  there is no menu to load
- avoid calling do_load_needaction where there is no
  menu to reload in the first place

bzr revid: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97
2013-05-03 12:22:48 +02:00
Cedric Snauwaert b1f452fd24 [FIX]crm: change default filter when clicking on opportunities from sale's team kanban view.
Should display user opportunities instead of new/pending one.

bzr revid: csn@openerp.com-20130503075020-gbww4xfwl20cmjbv
2013-05-03 09:50:20 +02:00
Quentin (OpenERP) 709fc0ca29 [FIX] account_voucher: complete fixing of vouchers in multi-currency.
*uniformized the computation in multi-currency in order to always use res_currency.compute()
*make sure to pass the right conversion rate to _current_rate() function using the context if it is specified on the voucher and, in this function, used the info from the context instead of the computed one if relevant. (This involves an ugly overwriting of the 'rate' field that will disappear in trunk: to stay backward compatible and avoid any update of 'base' module it has to be done this way).
*replace the currency_id field on the voucher by a fields.function (was a fields.related) in order to always have a currency, even if it's a voucher in the company currency. (makes the treatment easier and more consistent. Less error prone)
*misc code reaftoring

bzr revid: qdp-launchpad@openerp.com-20130502225937-ya45q2wvgqy7zo1c
2013-05-03 00:59:37 +02:00
Christophe Simonis ce42a31ec8 [IMP] new version number pattern
use a pattern that can be parsed and compared as beeing between 7.0 and 8.0.
This is needed to allow successive migration scripts.
NOTE: do not backport the version_info change to trunk version

bzr revid: chs@openerp.com-20130502135404-ajnwqceovug01u5u
2013-05-02 15:54:04 +02:00
Christophe Simonis f2cb09ab08 [FIX] web: serie agnostic version number
bzr revid: chs@openerp.com-20130502130435-oms438v8s57e9ghd
2013-05-02 15:04:35 +02:00
Fabien Meghazi 31c3555f94 [FIX] force module paths to be bytestrings
Backport trunk Revision:
3729 revid:chm@openerp.com-20130502122806-1i9h8v0cvhb6p63q


The http controllers handler crashes when there are non-ascii chars in the url path.

`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path `module` which is converted to ascii.
force `module` to be bytestrings

bzr revid: fme@openerp.com-20130502123657-f2sg50fq3216lh7d
2013-05-02 14:36:57 +02:00
Launchpad Translations on behalf of openerp a20b482a50 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051536-3ahyusc1ror0o9fn
2013-05-01 05:15:36 +00:00
Cedric Snauwaert 8f96d0d177 [FIX]project: fix domain in order not to see all stages in task views
bzr revid: csn@openerp.com-20130430143529-3dk22kinb2vo2rvy
2013-04-30 16:35:29 +02:00
Christophe Simonis 6dc9530261 [IMP] new version number pattern
bzr revid: chs@openerp.com-20130430142938-1wwwhrnmv1r58pe3
2013-04-30 16:29:38 +02:00
Christophe Simonis a6f724c919 [IMP] parse_version: ignore saas~ componants
bzr revid: chs@openerp.com-20130430142037-zuxzk8vy9td89pv1
2013-04-30 16:20:37 +02:00
Thibault Delavallée 1592434daa [MERGE] [FIX] mail: fixed a change introduced at revision 9080 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.
bzr revid: tde@openerp.com-20130430112158-8m8z0fclla3h2ds6
2013-04-30 13:21:58 +02:00
Olivier Dony ba5710962e [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay
2013-04-30 12:33:37 +02:00
Thibault Delavallée 5ab5c4b730 [FIX] mail: fixed a change introduced at revision 3911 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.
bzr revid: tde@openerp.com-20130430100747-9fcrbdbso1v0prgg
2013-04-30 12:07:47 +02:00
niv-openerp 7c160b8a72 [FIX] optimization necessary in some cases when kanban views can take more that 10 seconds to load
bzr revid: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o
2013-04-30 11:48:43 +02:00
Launchpad Translations on behalf of openerp 6970e5e041 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130430063704-q6sk7sup4c1ej18w
2013-04-30 06:37:04 +00:00
Olivier Dony 9c08e12962 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o
2013-04-29 17:14:10 +02:00
Cedric Snauwaert 609636d857 [FIX]hr_timesheet: fix mistake introduced in commit 8631
revid:tde@openerp.com-20130318121439-xyl34r9tdut6t19c
missing ' '

bzr revid: csn@openerp.com-20130429133515-uvmhhmnf0qgbb0ee
2013-04-29 15:35:15 +02:00