Commit Graph

84965 Commits

Author SHA1 Message Date
Christophe Simonis 1091b24a0c [MERGE] forward port of branch saas-3 up to revid 9450 chs@openerp.com-20140507153348-g2qw61dkxvps13br
bzr revid: chs@openerp.com-20140507160023-8wwqlbf3bv7yqe67
2014-05-07 18:00:23 +02:00
Christophe Simonis 1953aa442f [MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br
2014-05-07 17:33:48 +02:00
Christophe Simonis 643871c20f [FIX] website_forum: set config parameter via dedicated function
bzr revid: chs@openerp.com-20140507134127-xmp9kza1mvy37jf1
2014-05-07 15:41:27 +02:00
Martin Trigaux e0fb0a6434 [FIX] account: when creating partial reconcilation after unreconciliating one invoice, make sure we create this partial reconcilation only if we have at least two lines
bzr revid: mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
2014-05-07 15:35:52 +02:00
Kersten Jeremy ada19d175d [FIX] POS - Write the state to Paid before the create_picking. It's allow to stay in a valid state in workflow. And let the current stock picking out to 'Ready for delivery'
bzr revid: jke@openerp.com-20140507120144-m177kqxa3fbfl37r
2014-05-07 14:01:44 +02:00
Martin Trigaux 5bfc8cdfdc [FIX] warning: make blocking warning actually doing something (opw 607380)
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way to forbid creating a record that uses this partner/product but it is not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507113940-d8iynfl1lcskht63
2014-05-07 13:39:40 +02:00
Thibault Delavallée 0f9917c9a3 [FIX] service: wrapper: fixed context fetching. Indeed call_kw set its context
in kwargs of kwargs, leading to a kwargception.

bzr revid: tde@openerp.com-20140507110637-qlj1rj8lrcpkejf6
2014-05-07 13:06:37 +02:00
Martin Trigaux 95ba80f174 [FIX] warning: make blocking warning actually doing something (opw 607380)
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9
2014-05-07 12:25:50 +02:00
Denis Ledoux 883f695b67 [FIX] auth_oauth: missing field body in formview
The body is the field used to actually display the 'log in with ...'
As not shown in the view, when adding a new provider, this field was empty and therefore wasnt visible on the login form...

bzr revid: dle@openerp.com-20140507102414-vz7ur7zvh4ptuk2e
2014-05-07 12:24:14 +02:00
Martin Trigaux fd50793820 [IMP] gamification: avoid subscription hacks and send directly relevant messages to followers of the challenge, remove the goals of users not matching the user domain anymore
bzr revid: mat@openerp.com-20140507095616-1xvetgj4qel7iqii
2014-05-07 11:56:16 +02:00
Denis Ledoux d1bba709b4 [FIX] account_analytic_analysis: recurring invoices, map_tax and map_account methods of fiscal position model expect a browse record
bzr revid: dle@openerp.com-20140506153459-0vv6rcttihl628l3
2014-05-06 17:34:59 +02:00
Thibault Delavallée 0295b34c9b [MERGE] [FIX] website_forum: batch of fixes :
- fixed reopen link that was broken (python code appearing)
- fixed close link that was leading to a 500 error due to post -> question
- fixed link to question author, was redirecting to the current user
- fixed displayed number of questions in the forum, now displaying actual question
number, not number of displayed questions in the page
- improved guidelines: added link back to the forum
- fixed tags display: now by posts_count desc, unused tags are not shown
- users are now displayed by desc karma
- converting a comment as an answer does not allow to create a new answer if another
one by uid is already present, it just moves the comment
- display tag name in 'filter' bar when filtering on a tag
- display active tag in a blue color
- order answers: correct first, then most upvoted

bzr revid: tde@openerp.com-20140506150145-c1uvlaqtyvkjcwea
2014-05-06 17:01:45 +02:00
Martin Trigaux 3cf7488b45 [REF] gamification: performance improvements when running with a large number of users
- gamification.goal do not depends of mail.thread anymore (message posting and fields tracking was slow)
- check reward works in batch mode
- fix update method that did not reset variable in loop
- when the cron is running commit after each goal definition update

bzr revid: mat@openerp.com-20140506145623-476s3q3vxoybya77
2014-05-06 16:56:23 +02:00
Martin Trigaux 3fa2751855 [FIX] name_get returns tuple
bzr revid: mat@openerp.com-20140506143834-od28gkhbpbhsgde4
2014-05-06 16:38:34 +02:00
Martin Trigaux 3cdb9803d4 [IMP] unsubscribing at each cron run is overkill
bzr revid: mat@openerp.com-20140506135953-3hssq2lycvy1c3df
2014-05-06 15:59:53 +02:00
Martin Trigaux 687d675de5 [FIX] gamification: using batch mode to check rewards
bzr revid: mat@openerp.com-20140506134805-4nsurv82cg9anfvm
2014-05-06 15:48:05 +02:00
Thibault Delavallée 69ec02b2d4 [FIX] website_forum: more fixes :
- display tag name in 'filter' bar when filtering on a tag
- display active tag in a blue color
- order answers: correct first, then most upvoted

bzr revid: tde@openerp.com-20140506123001-fz5gt6i9zw6ondcu
2014-05-06 14:30:01 +02:00
Denis Ledoux fbbefe43c0 [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
bzr revid: dle@openerp.com-20140506121755-15gj3h43oqof6xx9
2014-05-06 14:17:55 +02:00
Denis Ledoux b882dd7109 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5294 revid:odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
bzr revid: dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
2014-05-06 14:16:27 +02:00
Martin Trigaux 409bf269d3 [FIX] gamification: be sure that not challenge get subscribers depending of the report_message_frequency
bzr revid: mat@openerp.com-20140506115245-ktuxhcsml466ym6u
2014-05-06 13:52:45 +02:00
Martin Trigaux a233e26f71 [IMP] gamification: commit for each goal definition in cron
bzr revid: mat@openerp.com-20140506113831-iut3aqbwfwbnertv
2014-05-06 13:38:31 +02:00
Martin Trigaux 697dcae728 [IMP] gamification: move write in goal update inside the first loop to be able to group the computation by definition (and potentially apply intermediate commits)
bzr revid: mat@openerp.com-20140506112109-z4rsx5umet5x6n26
2014-05-06 13:21:09 +02:00
Martin Trigaux ccf4d142b0 [FIX] gamification: avoid recomputing every goal for every challenge
bzr revid: mat@openerp.com-20140506102942-obopc9j5a2136cxh
2014-05-06 12:29:42 +02:00
Martin Trigaux bde55baaa9 [IMP] gamification: performance improvement on the goal computation
Removing the inheritance to mail.thread will avoid posting message at creation and other tracking mechanism at each write. Updating a challenge with a large number of users will be significantly faster.

bzr revid: mat@openerp.com-20140506093716-xvpe1n2ase2zix0v
2014-05-06 11:37:16 +02:00
Denis Ledoux ae6a0fcb73 [FIX] account_analytic_analysis: split _prepare_invoice into two methods, one for the 'generic' data for invoices (customers, fiscal position, etc) and one for generate the recurring invoice line, so they can be reused in other methods
bzr revid: dle@openerp.com-20140506090649-141s4io4329ybu69
2014-05-06 11:06:49 +02:00
Denis Ledoux 6b26a3896b [FIX] website_sale: manifest typo
bzr revid: dle@openerp.com-20140506075126-mv6g869aqdl1yt5g
2014-05-06 09:51:26 +02:00
Launchpad Translations on behalf of openerp 5f5fd653db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072715-4m7kz3factf743c9
2014-05-06 07:27:15 +00:00
Thibault Delavallée 55479a4cc2 [FIX] website_forum: new batch of fixes :
- fixed reopen link that was broken (python code appearing)
- fixed close link that was leading to a 500 error due to post -> question
- fixed link to question author, was redirecting to the current user
- fixed displayed number of questions in the forum, now displaying actual question
number, not number of displayed questions in the page
- improved guidelines: added link back to the forum
- fixed tags display: now by posts_count desc, unused tags are not shown
- users are now displayed by desc karma
- converting a comment as an answer does not allow to create a new answer if another
one by uid is already present, it just moves the comment

bzr revid: tde@openerp.com-20140505154523-6dld9sfm0nc0oulu
2014-05-05 17:45:23 +02:00
chm@openerp.com 3f032f3f97 [FIX] website editor: background image
bzr revid: chm@openerp.com-20140505150722-gwewelvu3uv6joen
2014-05-05 17:07:22 +02:00
Thibault Delavallée 80c77d0355 [FIX] web: view_form: fixed effective_readonly behavior of the
binary multi files widget. The option to add an attachment should
be available only in edit mode.

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

bzr revid: tde@openerp.com-20140505145138-x9iwzp74ha2q0bp2
2014-05-05 16:51:38 +02:00
Thibault Delavallée 272b71b2a0 [MERGE] [FIX] res_partner: fixed bad display of address in form view in IE9.
lp bug: https://launchpad.net/bugs/1293523 fixed

bzr revid: tde@openerp.com-20140505145031-xgvti78aqspr5170
2014-05-05 16:50:31 +02:00
Denis Ledoux 41e6840169 [FIX] account_analytic_analysis: recurring invoices, prepare_invoice method actually prepare the invoice, without creating it. _recurring_create_invoice return value is the list of created invoices ids
bzr revid: dle@openerp.com-20140505130226-ylcycmzmj0hm35w6
2014-05-05 15:02:26 +02:00
Denis Ledoux 4f1dbde8d5 [FIX] mail: attachments present for first recipient, but not for the others
attachments should be an array and not a generator [x for x in y] instead of (x for x in y)

bzr revid: dle@openerp.com-20140505123852-kjc6z0npiot9c54l
2014-05-05 14:38:52 +02:00
Martin Trigaux 5e406734ab [FIX] module: do not crash in case of not found module
bzr revid: mat@openerp.com-20140505121840-f84u36mng3p1gstn
2014-05-05 14:18:40 +02:00
Martin Trigaux fab9da65d9 [MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the reference to other employees (opw 607313)
bzr revid: mat@openerp.com-20140505101313-5y72gs2xpgokhxl1
2014-05-05 12:13:13 +02:00
Jacques-Etienne Baudoux a918e89995 [FIX] mail: change copy call to copy_data to avoid resending email during duplication (opw 607295)
bzr revid: mat@openerp.com-20140505094329-vr7h4c92i43ezob4
2014-05-05 11:43:29 +02:00
Olivier Dony 2f7ac6838d [MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy of Stefan Rijnhart (Therp)
bzr revid: odo@openerp.com-20140505075129-hv4evrdw5v7crtmw
2014-05-05 09:51:29 +02:00
Olivier Dony 188930bb01 [FIX] convert: gracefully ignore missing XML IDs when processing <delete> tags + warn in log
bzr revid: odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
2014-05-05 09:46:36 +02:00
Launchpad Translations on behalf of openerp f426972e37 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070138-uuemdpfseyysxlvs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064550-9r0c2t3tr8dp1hwu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140501063929-ta3t6lhed5dpdz9a
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064608-1zwt52snc5pg5kfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062721-dgb7m6o6ge2btumg
2014-05-04 06:27:21 +00:00
Denis Ledoux ce88158381 [FIX] crm: typo, interrests to interest
bzr revid: dle@openerp.com-20140502145823-vtkqkd7njqf31682
2014-05-02 16:58:23 +02:00
Olivier Dony 61d2122987 [FIX] mail.mail: avoid prefetching attachment data in memory while processing mail queue, could fail due to memory limit
Specifically when there are many emails in the queue, prefetching
all their attachments at once when processing the first one
could fail, so not even one mail would be sent.

Added explicit logging when an email triggers a MemoryError,
as well as logging when each email is successfully sent.

bzr revid: odo@openerp.com-20140502144431-r3brgagl4gel4wmt
2014-05-02 16:44:31 +02:00
Simon Lejeune 5f708d1a21 [MERGE][FIX] Report: more consistency when using get_action by passing ids only when they are used, report_invoice: more place to display taxes and correct display of the fiscal position
bzr revid: sle@openerp.com-20140502135223-nvd2eegoye3gscxo
2014-05-02 15:52:23 +02:00
Denis Ledoux deb091ea64 [FIX] website: missing acl for manage website menu
bzr revid: dle@openerp.com-20140502134135-zp05ecbpcj8inftc
2014-05-02 15:41:35 +02:00
Simon Lejeune 139c35800f [FIX] account report_invoice: display the unit of measure in the same cell as the quantity
bzr revid: sle@openerp.com-20140502131706-cepyft5y0essj0zr
2014-05-02 15:17:06 +02:00
Simon Lejeune 66f5bbcf67 [FIX] account report_invoice: more space to display the taxes, right field to display the fiscal position
bzr revid: sle@openerp.com-20140502130340-22dyefrmj4kqrzdb
2014-05-02 15:03:40 +02:00
Simon Lejeune 7ad6d7a150 [FIX] Report: usage of ids in get_action more consistent: only pass them when they are useful, else pass an empty list
bzr revid: sle@openerp.com-20140502130310-106au0jsza0b3nwe
2014-05-02 15:03:10 +02:00
Kersten Jeremy df80f78393 [FIX] Webiste google Map - don't force http
bzr revid: jke@openerp.com-20140502123407-ojyzpf2dynewo7u0
2014-05-02 14:34:07 +02:00
Denis Ledoux 03b03d0476 [FIX] crm: in order the mark as lost action to work, the dead stage has to be folded
bzr revid: dle@openerp.com-20140502101525-bzyjpz7jbr1njobl
2014-05-02 12:15:25 +02:00
Antony Lesuisse 434c3c455e [FIX] free chs who was stuck in a 2010 spacetime continuum
bzr revid: al@openerp.com-20140501214501-dnt6qjxvqa8tm58o
2014-05-01 23:45:01 +02:00
Antony Lesuisse 9efc4c4db2 [FIX] report_webkit missing dependency on report
bzr revid: al@openerp.com-20140501161108-50yidx30rm6z7d10
2014-05-01 18:11:08 +02:00