Commit Graph

74775 Commits

Author SHA1 Message Date
Christophe Simonis 9a775cd3f5 [MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748-x4jnibwyab4gam23
bzr revid: chs@openerp.com-20131021141431-5bdk9waai17julkb
2013-10-21 16:14:31 +02:00
Olivier Dony 6a3683f116 [FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update
Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.
      
As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).

[1] addons 7.0 rev 9515 rev-id: odo@openerp.com-20131010114424-atzr3bl9e9diir2g

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

bzr revid: odo@openerp.com-20131021124748-x4jnibwyab4gam23
2013-10-21 14:47:48 +02:00
Martin Trigaux 6ba45e5cbf [FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3
bzr revid: mat@openerp.com-20131021095735-yz9pb5pphfdgl44j
2013-10-21 11:57:35 +02:00
Launchpad Translations on behalf of openerp 16fd47c3e1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019052801-ouw53m70o0eabxnv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050509-ar8koyz20p82rdjq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131021045723-bkmqoimoalwb3lzq
2013-10-21 04:57:23 +00:00
Launchpad Translations on behalf of openerp 03436bd521 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019045915-qsravpk1h784kxxf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131021043617-dqegufnc6us9o3n6
2013-10-21 04:36:17 +00: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
Thibault Delavallée 62e88a16e4 [FIX] mail: mail_mail: fixed url embedded in notification emails.
When having emails not linked to a notification (mail.notification = False)
the link is generated without any clue about the source record.
However we can try to use model and res_id defined on the mail_mail record
to correctly format a link.

Added support of model and res_id in message_redirect_action. This method
now can redirect based on a message_id, or based on model / res_id.

bzr revid: tde@openerp.com-20131018144924-j4f22hen3lsua7cb
2013-10-18 16:49:24 +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
Martin Trigaux 1a9297aaed [FIX] account: correct test on closing fiscal year to fail with error message and set the test to the previous year instead of next year (makes more sense)
bzr revid: mat@openerp.com-20131018140424-yyfc561nisym2gem
2013-10-18 16:04:24 +02:00
Martin Trigaux 7d3e01bea3 [FIX] account: go green test\!, also set the test to previous year
bzr revid: mat@openerp.com-20131018135925-x2n1yw96973srmk1
2013-10-18 15:59:25 +02:00
Martin Trigaux 6f2f0b17ed [TEST] test with failing test
bzr revid: mat@openerp.com-20131018134613-27lsl5vln5yu26pa
2013-10-18 15:46:13 +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 ebeeae0ed4 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018134149-yveqfs6tqwnjo6xt
2013-10-18 15:41:49 +02:00
Martin Trigaux f6bb462172 [FIX] account: correct test with valid error message
bzr revid: mat@openerp.com-20131018134058-wpuyqnhb3xtshqs8
2013-10-18 15:40:58 +02:00
Denis Ledoux f2e561afec [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 8960 rev-id: dle@openerp.com-20131018125818-1k168nlo2ferj25w
bzr revid: dle@openerp.com-20131018131007-etdut0wpjqhnexz2
2013-10-18 15:10:07 +02:00
Denis Ledoux a7e05f1af4 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8793 rev-id: dle@openerp.com-20131018124037-v3501acvv4fh1077
bzr revid: dle@openerp.com-20131018125818-1k168nlo2ferj25w
2013-10-18 14:58:18 +02:00
niv-openerp 7636d71dfc [FIX] potential bug in server-side web framework, now forbids users to call method when not authentified
bzr revid: nicolas.vanhoren@openerp.com-20131018125727-qtkzkiwkhw4z78kr
2013-10-18 14:57:27 +02:00
Martin Trigaux 10b09c13c7 [IMP] account: set test on closing account invoice on previous year instead of next one
bzr revid: mat@openerp.com-20131018124342-yccp0ftebmug4aco
2013-10-18 14:43:42 +02:00
Denis Ledoux 83ff86efe7 [FIX]account: test account_fiscalyear_close, the test was triggering the workflow with the 7.0 way, (due to the forward port of 7.0 bugfixes)
bzr revid: dle@openerp.com-20131018124037-v3501acvv4fh1077
2013-10-18 14:40:37 +02:00
Denis Ledoux c348a2f4cd [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 3747 rev-id: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131018123253-pvf2tg747vflfp6x
2013-10-18 14:32: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
niv-openerp 04e9c7a19f Removed small usage of openerp.http
bzr revid: nicolas.vanhoren@openerp.com-20131018121243-o1ua7s85x75fwyuq
2013-10-18 14:12:43 +02:00
Denis Ledoux 1a555475cc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9529 rev-id: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
bzr revid: dle@openerp.com-20131018121236-zp221von16vekthp
2013-10-18 14:12:36 +02:00
niv-openerp bf25c5ce8f merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131018120648-jtowyzes1zgm98dn
2013-10-18 14:06:48 +02:00
niv-openerp 5408aa8701 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131018120618-0o7hsq6pb7b4zw37
2013-10-18 14:06:18 +02:00
Martin Trigaux e66a4b9e2d [FIX] mrp_repair: use action_done to validate a operation componenents when ending a repair
This allows to generate journal entries in case of real time stock evaluation (opw 599170)

bzr revid: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
2013-10-18 14:04:28 +02:00
Martin Trigaux 44bc4f3151 [FIX] mrp_repair: use action_done to validate a operation componenents when ending a repair
bzr revid: mat@openerp.com-20131018114400-f1iaoynu1vlq325o
2013-10-18 13:44:00 +02:00
niv-openerp 53491703c3 [MERGE] website-al improvements to web addon
bzr revid: nicolas.vanhoren@openerp.com-20131018104302-ltt3dt0xqa0csoc3
2013-10-18 12:43:02 +02:00
niv-openerp 67a9fee553 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103820-a0sklx6hyx3hx93e
2013-10-18 12:38:20 +02:00
niv-openerp e080294dc0 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103631-vennug4iy21zhp3x
2013-10-18 12:36:31 +02:00
niv-openerp 5696282656 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103501-sns9zca0nmpm9efn
2013-10-18 12:35:01 +02:00
Christophe Simonis 3853f642ff [FIX] web: correct StatusField widget to use dropdown menu
bzr revid: chs@openerp.com-20131018094336-3s8s3uggs60jwkl0
2013-10-18 11:43:36 +02:00
Christophe Simonis 685c4f4d4c [FIX] dropdown menu: compute document width *before* showing the dropdown menu
bzr revid: chs@openerp.com-20131018093307-plgk3y4qugv4o784
2013-10-18 11:33:07 +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
Launchpad Translations on behalf of openerp afe290b844 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018061129-4wcyxayj6darv5op
2013-10-18 06:11:29 +00:00
Launchpad Translations on behalf of openerp 954f9ea511 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131016043744-ndoaph0q8ii4w005
bzr revid: launchpad_translations_on_behalf_of_openerp-20131017053322-jq2sy3zx8arizsue
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018055154-vsi79g8qo0a613ya
2013-10-18 05:51:54 +00:00
Denis Ledoux f0c49f88d0 [FIX]google_spreadsheet: was checking if module auth_crypt was installed, to decide to display popup in the spreadsheet to ask the credentials. Now it only check if the password is empty (works for auth_crypt module and ldap module).
bzr revid: dle@openerp.com-20131017143409-m783tf5ozmotlld2
2013-10-17 16:34:09 +02:00
Denis Ledoux 8bc3ffd234 [FIX]google_drive: permission granted for anyone with the link has been set to readonly, and add write permission to current user (email) only
bzr revid: dle@openerp.com-20131017142545-81ab6xbqi5nb6c06
2013-10-17 16:25:45 +02:00
Denis Ledoux af9b8590b5 [FIX]google_drive: when create a document in drive, add the permission 'writer' to 'anyone with the link'. Hence, anyone that can see the attachement, can edit the document
bzr revid: dle@openerp.com-20131017134744-nr9g21rhebtpkq4s
2013-10-17 15:47:44 +02:00
Thibault Delavallée 438b06ef13 [FIX] mail: followers widget: wrong default value when calling read_followers_data, should be a list, not a dict
bzr revid: tde@openerp.com-20131017131634-b1j9evzgu9q837i8
2013-10-17 15:16:34 +02:00
Denis Ledoux d15798786a [FIX]project_issue: add onchange_partner_id which was inherited before with base_stage, but the inheritance has been removed
bzr revid: dle@openerp.com-20131017121013-mtzvjogi2hxgfcpq
2013-10-17 14:10:13 +02:00
Martin Trigaux 20f63f6e36 [FIX] procurement: avoid getting loop of state change when a procurement is stuck in an exception and retried by the scheduler (opw 598606)
bzr revid: mat@openerp.com-20131017113736-inell5fxydr71xyk
2013-10-17 13:37:36 +02:00
Martin Trigaux b60da2a9a3 [IMP] procurement: track only once the change of state to exception and confirmed
bzr revid: mat@openerp.com-20131017113521-5u2k9glb3o7cnmmk
2013-10-17 13:35:21 +02:00
Thibault Delavallée d52f335ff9 [FIX] project_issue: onchange_partner_id does not take any email_from anymore in parameter.
Removed from the view.

bzr revid: tde@openerp.com-20131017113503-hw02unqai9ytoee3
2013-10-17 13:35:03 +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
Martin Trigaux b98f935d27 revert change of workflow
bzr revid: mat@openerp.com-20131017104426-260y7v0113q8iue9
2013-10-17 12:44:26 +02:00
Thibault Delavallée 3333c5c329 [IMP] data_export: when exporting on active_domain instead of
selected ids, display a message to tell the user what
he is doing.

bzr revid: tde@openerp.com-20131017094457-q1b7j3927eeoy4fo
2013-10-17 11:44:57 +02:00
Thibault Delavallée eb98ba3fd6 [FIX] list_view: when composing the active_domain
in list view because of the list header being checked,
also take into account the current action domain;

bzr revid: tde@openerp.com-20131017094355-murxot4rqirw3g68
2013-10-17 11:43:55 +02:00
Thibault Delavallée 6495fcf883 [IMP] mail: mail.compose.message: when working on an active_domain
due to list view header being checked, display
an info in the mass mailing wizard to warn the
user he is about to mail all records matching
its search filter, not only the selected ids.

bzr revid: tde@openerp.com-20131017093830-cvxihr3zwohos9ol
2013-10-17 11:38:30 +02:00