odoo/odoo.git
10 years ago[WIP] sitemap
Fabien Meghazi [Thu, 15 May 2014 14:58:16 +0000 (16:58 +0200)]
[WIP] sitemap

10 years ago[IMP] mail: notifications: when having more than 500 followers to mail
Thibault Delavallée [Thu, 15 May 2014 12:13:33 +0000 (14:13 +0200)]
[IMP] mail: notifications: when having more than 500 followers to mail
use the email queue instead of directly sending notification emails.

10 years ago[FIX] website_crm_partner_assign: fix import issues
Martin Trigaux [Thu, 15 May 2014 09:36:08 +0000 (11:36 +0200)]
[FIX] website_crm_partner_assign: fix import issues

10 years ago[ADD] website_forum: adding the 'Newest' filter on the forum to sort by create date
Martin Trigaux [Thu, 15 May 2014 09:23:11 +0000 (11:23 +0200)]
[ADD] website_forum: adding the 'Newest' filter on the forum to sort by create date

10 years ago[FIX] website_forum: execute the change of number of views in SQL instead of using...
Martin Trigaux [Thu, 15 May 2014 08:57:51 +0000 (10:57 +0200)]
[FIX] website_forum: execute the change of number of views in SQL instead of using the orm

Using sql will be faster (doing a write in a read is never a good idea for performances) and will not update the write_date (which is used for the last activity filter)

10 years ago[FIX] website_forum: fixed issues with images in question / answers, now limited
Thibault Delavallée [Thu, 15 May 2014 09:38:00 +0000 (11:38 +0200)]
[FIX] website_forum: fixed issues with images in question / answers, now limited
in width + auto height. Improved rule for img-avatar to avoid being overriden
by the default img rule.

10 years ago[FIX] website_forum: fixed link to edit a question
Thibault Delavallée [Thu, 15 May 2014 09:27:14 +0000 (11:27 +0200)]
[FIX] website_forum: fixed link to edit a question

10 years ago[FIX] website_crm_partner assign import
Antony Lesuisse [Thu, 15 May 2014 09:25:33 +0000 (11:25 +0200)]
[FIX] website_crm_partner assign import

10 years ago[REM] temporary disable sitemap
Fabien Meghazi [Thu, 15 May 2014 08:25:18 +0000 (10:25 +0200)]
[REM] temporary disable sitemap

10 years ago[FIX] website_membership support negative ids
Antony Lesuisse [Thu, 15 May 2014 07:54:13 +0000 (09:54 +0200)]
[FIX] website_membership support negative ids

10 years ago[FIX] website_partner remove controller, add support for negative ids
Antony Lesuisse [Wed, 14 May 2014 22:43:38 +0000 (00:43 +0200)]
[FIX] website_partner remove controller, add support for negative ids

10 years ago[FIX] account_analytic_analysis: recurring invoices, product_id_change wasnt returnin...
Denis Ledoux [Wed, 14 May 2014 21:51:18 +0000 (23:51 +0200)]
[FIX] account_analytic_analysis: recurring invoices, product_id_change wasnt returning the price get from the pricelist

10 years ago[FIX] account_analysis_account: Keep price_unit to 0.0 if passed
Denis Ledoux [Wed, 14 May 2014 19:36:34 +0000 (21:36 +0200)]
[FIX] account_analysis_account: Keep price_unit to 0.0 if passed

10 years ago[FIX] website_forum: fixed commit 9426: values were badly computed for the link_butto...
Thibault Delavallée [Wed, 14 May 2014 16:36:58 +0000 (18:36 +0200)]
[FIX] website_forum: fixed commit 9426: values were badly computed for the link_button template
leading to most buttons being buggy on the forum.

10 years ago[FIX] website_forum: display it as some kind of table for better display
Martin Trigaux [Wed, 14 May 2014 16:31:16 +0000 (18:31 +0200)]
[FIX] website_forum: display it as some kind of table for better display

10 years ago[REV] Revert lazy sitemap
Fabien Meghazi [Wed, 14 May 2014 15:11:16 +0000 (17:11 +0200)]
[REV] Revert lazy sitemap

10 years ago[FIX] website_forum: fix controllers losing paging and query params, allow to see...
Olivier Dony [Wed, 14 May 2014 14:32:54 +0000 (16:32 +0200)]
[FIX] website_forum: fix controllers losing paging and query params, allow to see own profile even without karma, add avatar controller to make the images public

10 years ago[IMP] website: refactor website_image controller (and placeholder), move to model...
Olivier Dony [Wed, 14 May 2014 14:32:36 +0000 (16:32 +0200)]
[IMP] website: refactor website_image controller (and placeholder), move to model to make it reusable

It is "almost" reusable because it still depends on the global `request` variable,
this could be solved by making it an explicit parameter.

10 years ago[FIX] gamification: avoid sending reports for non-reported challenges
Martin Trigaux [Wed, 14 May 2014 14:15:18 +0000 (16:15 +0200)]
[FIX] gamification: avoid sending reports for non-reported challenges

10 years ago[FIX] website_blog: display blog posts in anti-chronological order
Richard Mathot (OpenERP) [Wed, 14 May 2014 14:11:46 +0000 (16:11 +0200)]
[FIX] website_blog: display blog posts in anti-chronological order

10 years ago[FIX] lazy sitemap with generators
Fabien Meghazi [Wed, 14 May 2014 13:48:51 +0000 (15:48 +0200)]
[FIX] lazy sitemap with generators

10 years ago[IMP] gamification: avoid fetching function field while we could reuse the cache...
Martin Trigaux [Wed, 14 May 2014 13:41:38 +0000 (15:41 +0200)]
[IMP] gamification: avoid fetching function field while we could reuse the cache system of the browse records (avoid memory errors when updating a large number of records)

10 years ago[FIX] survey route that is only accessed with POST verb
Fabien Meghazi [Wed, 14 May 2014 11:58:34 +0000 (13:58 +0200)]
[FIX] survey route that is only accessed with POST verb

10 years ago[FIX] google maps controller should be for POST only
Fabien Meghazi [Wed, 14 May 2014 11:44:14 +0000 (13:44 +0200)]
[FIX] google maps controller should be for POST only

10 years ago[MERGE] sitemap backport, merge trunk from 9438 til 9440
Fabien Meghazi [Wed, 14 May 2014 10:44:38 +0000 (12:44 +0200)]
[MERGE] sitemap backport, merge trunk from 9438 til 9440

merge from 9438 revid:fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4 til 9440 revid:fp@tinyerp.com-20140511143314-nzn1239l00arbxjq

10 years ago[FIX] broken routes for pages
Fabien Meghazi [Wed, 14 May 2014 10:11:24 +0000 (12:11 +0200)]
[FIX] broken routes for pages

10 years agoForward-port of latest saas-3, up to revision 9456 (yep I missed one commit)
Martin Trigaux [Wed, 14 May 2014 09:01:36 +0000 (11:01 +0200)]
Forward-port of latest saas-3, up to revision 9456 (yep I missed one commit)

10 years ago[FIX] gamification: make sure than a cron running more than once a day will not repor...
Martin Trigaux [Wed, 14 May 2014 08:59:20 +0000 (10:59 +0200)]
[FIX] gamification: make sure than a cron running more than once a day will not report the progress more than once

10 years agoForward-port of latest saas-3, up to revision 9455 (rev-id mat@openerp.com-2014051408...
Martin Trigaux [Wed, 14 May 2014 08:37:54 +0000 (10:37 +0200)]
Forward-port of latest saas-3, up to revision 9455 (rev-id mat@openerp.com-20140514080416-m4t23y0rxx2ot7y6)

10 years ago[MERGE][FIX] survey: Prevent template crashing while there are no data for the survey
Richard Mathot (OpenERP) [Wed, 14 May 2014 08:10:35 +0000 (10:10 +0200)]
[MERGE][FIX] survey: Prevent template crashing while there are no data for the survey

10 years agoForward-port of latest 7.0, up to rev. 10046 (rev-id: launchpad_translations_on_behal...
Martin Trigaux [Wed, 14 May 2014 08:04:16 +0000 (10:04 +0200)]
Forward-port of latest 7.0, up to rev. 10046 (rev-id: launchpad_translations_on_behalf_of_openerp-20140514062049-vjclnuxlkbto0tsj)

10 years ago[FIX] survey: Prevent template crashing while there are no data for the survey
Richard Mathot (OpenERP) [Wed, 14 May 2014 07:47:25 +0000 (09:47 +0200)]
[FIX] survey: Prevent template crashing while there are no data for the survey

10 years ago[MERGE] upstream
Fabien Meghazi [Wed, 14 May 2014 07:27:20 +0000 (09:27 +0200)]
[MERGE] upstream

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 14 May 2014 06:20:49 +0000 (06:20 +0000)]
Launchpad automatic translations update.

10 years ago[FIX] website_membership: correct view and controller
Christophe Simonis [Tue, 13 May 2014 16:52:37 +0000 (18:52 +0200)]
[FIX] website_membership: correct view and controller

10 years ago[FIX] sale_stock: when checkign the available quantity, do not include uom as it...
Martin Trigaux [Tue, 13 May 2014 15:02:13 +0000 (17:02 +0200)]
[FIX] sale_stock: when checkign the available quantity, do not include uom as it is already present in the context and will be included in the computation of product_obj.virtual_available (opw 607150)

fixing error message that does not match chosen units when not enough stock

10 years ago[FIX] website_forum: restrict a bunch of controllers to POST-only, convert a few...
Xavier Morel [Tue, 13 May 2014 14:57:12 +0000 (16:57 +0200)]
[FIX] website_forum: restrict a bunch of controllers to POST-only, convert a few more links to buttons

10 years ago[MERGE] sitemap backport, merge trunk from 9438 til 9440
Fabien Meghazi [Tue, 13 May 2014 14:38:31 +0000 (16:38 +0200)]
[MERGE] sitemap backport, merge trunk from 9438 til 9440

merge from 9438 revid:fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4 til 9440 revid:fp@tinyerp.com-20140511143314-nzn1239l00arbxjq

10 years ago[FIX] crm: make days to close and days to open simple calendar delta
Martin Trigaux [Tue, 13 May 2014 14:09:26 +0000 (16:09 +0200)]
[FIX] crm: make days to close and days to open simple calendar delta

When computing the duration to close or to open a lead, do not use some kind of complex computation with working days. It does not make sense to use the number of intervals with the number of days. The computation was incorrect and very slow.
Replaced by simple calendar delta.

10 years ago[MERGE] upstream
Fabien Meghazi [Tue, 13 May 2014 14:00:27 +0000 (16:00 +0200)]
[MERGE] upstream

10 years ago[FIX] sale_stock: error message does not match chosen units when not enough stock.
Anael Closson [Tue, 13 May 2014 12:19:45 +0000 (14:19 +0200)]
[FIX] sale_stock: error message does not match chosen units when not enough stock.

10 years ago[FIX] sale_stock: new product uom is done twice in sale order line on change - opw...
Anael Closson [Tue, 13 May 2014 12:00:06 +0000 (14:00 +0200)]
[FIX] sale_stock: new product uom is done twice in sale order line on change - opw 607150
[FIX] sale_stock: comparing stock and sale order line qty is always done with default uom rounding precision

10 years ago[FIX] sale: sale report view, wrong domain
Denis Ledoux [Tue, 13 May 2014 08:15:01 +0000 (10:15 +0200)]
[FIX] sale: sale report view, wrong domain

Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 13 May 2014 06:28:52 +0000 (06:28 +0000)]
Launchpad automatic translations update.

10 years ago[FIX] website_{customer,partner,crm_partner_assign}: correct views and controllers
Christophe Simonis [Mon, 12 May 2014 17:51:21 +0000 (19:51 +0200)]
[FIX] website_{customer,partner,crm_partner_assign}: correct views and controllers

10 years ago[FIX] website_blog: fix broken change cover wizard
Martin Trigaux [Tue, 13 May 2014 10:31:57 +0000 (12:31 +0200)]
[FIX] website_blog: fix broken change cover wizard

10 years ago[FIX] website_forum: replace deprecated country by country_id
Xavier Morel [Tue, 13 May 2014 10:15:23 +0000 (12:15 +0200)]
[FIX] website_forum: replace deprecated country by country_id

10 years ago[FIX] various website modules, re-enable crawler tests
Xavier Morel [Tue, 13 May 2014 09:42:05 +0000 (11:42 +0200)]
[FIX] various website modules, re-enable crawler tests

* fix crawler to discard URL fragments before deduplicating and crawling
* fix website_forum links which should not be links (either because their urls
  are JSON-RPC methods or because their urls are side-effecting
* remove stray print statements
* side-improvements (simplifications) to some methods

10 years ago[IMP] website_event_track: simplify event_agenda
Xavier Morel [Tue, 13 May 2014 08:49:24 +0000 (10:49 +0200)]
[IMP] website_event_track: simplify event_agenda

10 years ago[IMP] email_template simplified form view: add link to website
Thibault Delavallée [Tue, 13 May 2014 08:35:09 +0000 (10:35 +0200)]
[IMP] email_template simplified form view: add link to website

10 years ago[MERGE][FIX] website_event_track: display days in chronological order
Richard Mathot (OpenERP) [Tue, 13 May 2014 08:01:00 +0000 (10:01 +0200)]
[MERGE][FIX] website_event_track: display days in chronological order

10 years ago[FIX] website_crm, website_event_sale: remove stray prints
Xavier Morel [Tue, 13 May 2014 07:56:28 +0000 (09:56 +0200)]
[FIX] website_crm, website_event_sale: remove stray prints

also do some trivial cleanup/simplification of website_crm while at it:

* Initialize a dict directly via literal
* Use straightforward dict copy instead of whatever that convoluted crap was
* Use gencomp for set creation
* Lift a pair of keysets to the original dict creation

10 years ago[FIX] website_event_track: display days in chronological order
Richard Mathot (OpenERP) [Tue, 13 May 2014 07:28:03 +0000 (09:28 +0200)]
[FIX] website_event_track: display days in chronological order

10 years ago[FIX] website_forum links which should not be, post-install crawler
Xavier Morel [Mon, 12 May 2014 16:34:55 +0000 (18:34 +0200)]
[FIX] website_forum links which should not be, post-install crawler

* move URLs of purely-JS-hook <a> to data-href so the crawler does not try to
  access them (they're JSON-RPC endpoints...)
* replace side-effecting links (...) by styled buttons
* fix crawler to not take fragments in account when deduplicating and
  navigating URLs

10 years ago[MERGE][FIX] URL generation in blog template
Richard Mathot (OpenERP) [Mon, 12 May 2014 14:38:49 +0000 (16:38 +0200)]
[MERGE][FIX] URL generation in blog template

10 years ago[FIX] URL generation in blog template
Richard Mathot (OpenERP) [Mon, 12 May 2014 14:20:48 +0000 (16:20 +0200)]
[FIX] URL generation in blog template

10 years ago[FIX] gamification: correct name of ir.rule fixing bad copy-paste saas-3
Martin Trigaux [Mon, 12 May 2014 08:50:41 +0000 (10:50 +0200)]
[FIX] gamification: correct name of ir.rule fixing bad copy-paste

bzr revid: mat@openerp.com-20140512085041-b0euexzgxgvb30oe

10 years ago[FIX] crm: The get_formview_id method does not expect a model arg anymore
Denis Ledoux [Mon, 12 May 2014 07:59:19 +0000 (09:59 +0200)]
[FIX] crm: The get_formview_id method does not expect a model arg anymore

bzr revid: dle@openerp.com-20140512075919-ewldirr5ejd5py13

10 years ago[ADD] hw_escpos: TM-T20II printer added in supported device list
Denis Ledoux [Mon, 12 May 2014 07:41:50 +0000 (09:41 +0200)]
[ADD] hw_escpos: TM-T20II printer added in supported device list

bzr revid: dle@openerp.com-20140512074150-9wepj7andgwrgj7x

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 11 May 2014 07:08:41 +0000 (07:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2

10 years ago[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)
Fabien Meghazi [Fri, 9 May 2014 16:44:08 +0000 (18:44 +0200)]
[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)

bzr revid: fme@openerp.com-20140509164408-rtml4brrhpiv4zz9

10 years ago[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)
Fabien Meghazi [Fri, 9 May 2014 16:43:38 +0000 (18:43 +0200)]
[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)

bzr revid: fme@openerp.com-20140509164338-gnz7p3qxt8etrh5w

10 years ago[IMP] dumb code
Fabien Meghazi [Fri, 9 May 2014 15:18:55 +0000 (17:18 +0200)]
[IMP] dumb code

bzr revid: fme@openerp.com-20140509151855-7v4hp08qvmac1u2d

10 years ago[MERGE] upsteam
Fabien Meghazi [Fri, 9 May 2014 14:46:08 +0000 (16:46 +0200)]
[MERGE] upsteam

bzr revid: fme@openerp.com-20140509144608-btah4s8zorzon2jo

10 years ago[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)
Fabien Meghazi [Fri, 9 May 2014 14:11:06 +0000 (16:11 +0200)]
[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)

bzr revid: fme@openerp.com-20140509141106-vbokuh0prptxavvg

10 years ago[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)
Fabien Meghazi [Fri, 9 May 2014 14:10:24 +0000 (16:10 +0200)]
[MOV] ir.ui.view#write() forced noupdate moved in `website` (RTE only)

bzr revid: fme@openerp.com-20140509141024-xa9mawoye3o8e6c1

10 years ago[MERGE] [ADD] mass_mailing: add a snippet to allow subscribing to a contact list...
Thibault Delavallée [Fri, 9 May 2014 13:50:51 +0000 (15:50 +0200)]
[MERGE] [ADD] mass_mailing: add a snippet to allow subscribing to a contact list (newsletter). Also cleaned the wording of the snippet allowing to subscribe do a discussion group to avoid confusion.

bzr revid: tde@openerp.com-20140509135051-tt1blzojwtpt86lr

10 years ago[FIX] website_forum: correct the 'Editor' goal definition, the field author_id on...
Martin Trigaux [Fri, 9 May 2014 13:44:34 +0000 (15:44 +0200)]
[FIX] website_forum: correct the 'Editor' goal definition, the field author_id on a mail_message is a m2o to res.partner and not res.users

bzr revid: mat@openerp.com-20140509134434-6u2ft2gyv0hcryxq

10 years ago[IMP] subscribe to group / newsletter widgets: wording cleaning
Thibault Delavallée [Fri, 9 May 2014 13:21:56 +0000 (15:21 +0200)]
[IMP] subscribe to group / newsletter widgets: wording cleaning

bzr revid: tde@openerp.com-20140509132156-qbmop9au07cllgkk

10 years ago[FIX] gamification: avoid challenge to be initialised at the target limit (e.g. set...
Martin Trigaux [Fri, 9 May 2014 13:18:39 +0000 (15:18 +0200)]
[FIX] gamification: avoid challenge to be initialised at the target limit (e.g. set your company data goal has a target of 0) and make sure we will compute the goal at least once

bzr revid: mat@openerp.com-20140509131839-lm5zt696sif1krvx

10 years ago[FIX] Kanban / Modal - Close the backdrop from dialog when we open the dialog for...
Kersten Jeremy [Fri, 9 May 2014 13:12:03 +0000 (15:12 +0200)]
[FIX] Kanban / Modal - Close the backdrop from dialog when we open the dialog for add a new column in kanban view. This bug was introduced since with use bootstrap modal

bzr revid: jke@openerp.com-20140509131203-4gy3nhlj0v6fk7zv

10 years ago[FIX] ir_values: try to evaluate the given expression before saving it in pickle...
Martin Trigaux [Fri, 9 May 2014 13:04:12 +0000 (15:04 +0200)]
[FIX] ir_values: try to evaluate the given expression before saving it in pickle form (opw 607398)

The value_unpickled given by xml data is usualy already evaluated but when it is given by the web client, a str is recieved by the method (as the field is a text field). In the later case, we need to evaluate the field before storing to be correctly evaluated as a default value.

bzr revid: mat@openerp.com-20140509130412-ki211x7qdccdnv5w

10 years ago[IMP] mass_mailing: added newsletter as mailing list data + imported contact still...
Thibault Delavallée [Fri, 9 May 2014 12:53:58 +0000 (14:53 +0200)]
[IMP] mass_mailing: added newsletter as mailing list data + imported contact still demo data

bzr revid: tde@openerp.com-20140509125358-2kjc462ttrnxmpxm

10 years ago[IMP] website_mail: rename newsletter mail group to discussion group
Thibault Delavallée [Fri, 9 May 2014 12:51:18 +0000 (14:51 +0200)]
[IMP] website_mail: rename newsletter mail group to discussion group
to avoid confusion with mass mailing mailing lists and newsletters.

bzr revid: tde@openerp.com-20140509125118-obvdjkgreyiez8k9

10 years ago[MERGE] Sync with upstream (saas-4)
Thibault Delavallée [Fri, 9 May 2014 12:47:11 +0000 (14:47 +0200)]
[MERGE] Sync with upstream (saas-4)

bzr revid: tde@openerp.com-20140507090057-24hacfi1jxs6ob5g
bzr revid: tde@openerp.com-20140509124711-v82rqm57nyc0jlcm

10 years ago[FIX] Event - Don't update the context but a copy when we recompute dates with the...
Kersten Jeremy [Fri, 9 May 2014 12:31:21 +0000 (14:31 +0200)]
[FIX] Event - Don't update the context but a copy when we recompute dates with the timezone specified for the event.

bzr revid: jke@openerp.com-20140509123121-xchv133t7gh0e5nh

10 years ago[FIX] Event - Allow to specify the timezone from the event and use it in template...
Kersten Jeremy [Fri, 9 May 2014 12:18:27 +0000 (14:18 +0200)]
[FIX] Event - Allow to specify the timezone from the event and use it in template mail.

bzr revid: jke@openerp.com-20140509121827-3ngkf93jhduobcoa

10 years ago[FIX]modal: when closing a modal, focus previous one to allow several escape hit key
Cedric Snauwaert [Fri, 9 May 2014 09:48:36 +0000 (11:48 +0200)]
[FIX]modal: when closing a modal, focus previous one to allow several escape hit key

bzr revid: csn@openerp.com-20140509094836-yhncaqp60od67w7k

10 years ago[FIX] analytic: should not set mutable objects in method declaration (python gotcha)
Martin Trigaux [Fri, 9 May 2014 09:33:04 +0000 (11:33 +0200)]
[FIX] analytic: should not set mutable objects in method declaration (python gotcha)

bzr revid: mat@openerp.com-20140509093304-ao8ttky1trgz22ao

10 years ago[FIX] product: when duplicating a product, keep the language in the context
Martin Trigaux [Thu, 8 May 2014 15:32:36 +0000 (17:32 +0200)]
[FIX] product: when duplicating a product, keep the language in the context

At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.

The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product

bzr revid: mat@openerp.com-20140508153236-00gxvxenh8fy03km

10 years ago[FIX] product: when duplicating a product, keep the language in the context
Martin Trigaux [Thu, 8 May 2014 13:49:37 +0000 (15:49 +0200)]
[FIX] product: when duplicating a product, keep the language in the context

At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.

The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product

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

bzr revid: mat@openerp.com-20140508134937-7cbja3vsv311z5j4

10 years ago[FIX] hr_holidays: better display of leave counter (opw 605016)
Martin Trigaux [Thu, 8 May 2014 12:49:46 +0000 (14:49 +0200)]
[FIX] hr_holidays: better display of leave counter (opw 605016)

The number of leave requests left is based on the employee_id key in the context, when displaying the status of an hr.holidays we don't have the information in the name_get of the hr.holidays.status.
The fallback on the number of employees is done with the uid but we can not rely on it as well as the name_get on m2o field is done with superuser_id.

bzr revid: mat@openerp.com-20140508124946-ttyr84iajg9q6l0y

10 years ago[MERGE] [FIX] document_page: allow other users than administrator to create menu...
Martin Trigaux [Thu, 8 May 2014 09:31:29 +0000 (11:31 +0200)]
[MERGE] [FIX] document_page: allow other users than administrator to create menu to a static page

Due to a global rule on ir.values (which is created when creating a ir.ui.menu), we need to execute the action as super user.

bzr revid: mat@openerp.com-20140508093129-tzkqpizpwr7vv0zu

10 years ago[FIX] account_analytic_analysis: revert method signature change made at rev 9277
Martin Trigaux [Thu, 8 May 2014 08:39:48 +0000 (10:39 +0200)]
[FIX] account_analytic_analysis: revert method signature change made at rev 9277

The additional parameters were made to avoid overwriting values when changing of template.
As we can not add parameters in only one module, we overwrite values only for not saved records.
This mitigates the overwrite while not changing the API.

bzr revid: mat@openerp.com-20140508083948-gkk7d1250a8znhlt

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 8 May 2014 06:32:51 +0000 (06:32 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140508063251-ztdomqygi2izm2o3

10 years ago[FIX] mail: correct code indentation introduced during previous forward-port
Christophe Simonis [Wed, 7 May 2014 16:42:07 +0000 (18:42 +0200)]
[FIX] mail: correct code indentation introduced during previous forward-port

bzr revid: chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1

10 years ago[MERGE] forward port of branch saas-3 up to revid 9450 chs@openerp.com-20140507153348...
Christophe Simonis [Wed, 7 May 2014 16:00:23 +0000 (18:00 +0200)]
[MERGE] forward port of branch saas-3 up to revid 9450 chs@openerp.com-20140507153348-g2qw61dkxvps13br

bzr revid: chs@openerp.com-20140507160023-8wwqlbf3bv7yqe67

10 years ago[FIX] Graph - Add context in fields_get to have the right translation in col_header...
Kersten Jeremy [Wed, 7 May 2014 15:47:58 +0000 (17:47 +0200)]
[FIX] Graph - Add context in fields_get to have the right translation in col_header and other places where terms was not translate.

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

bzr revid: jke@openerp.com-20140507154758-0vkq9rywjyl55f5w

10 years ago[MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552...
Christophe Simonis [Wed, 7 May 2014 15:33:48 +0000 (17:33 +0200)]
[MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi

bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br

10 years ago[FIX] website_forum: set config parameter via dedicated function
Christophe Simonis [Wed, 7 May 2014 13:41:27 +0000 (15:41 +0200)]
[FIX] website_forum: set config parameter via dedicated function

bzr revid: chs@openerp.com-20140507134127-xmp9kza1mvy37jf1

10 years ago[FIX] account: when creating partial reconcilation after unreconciliating one invoice...
Martin Trigaux [Wed, 7 May 2014 13:35:52 +0000 (15:35 +0200)]
[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

10 years ago[FIX] document_page: Menu for document page can only be created by superuser. (Mainte...
Ravi Gohil (OpenERP) [Wed, 7 May 2014 13:32:22 +0000 (19:02 +0530)]
[FIX] document_page: Menu for document page can only be created by superuser. (Maintenance Case: 607160)

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

bzr revid: rgo@tinyerp.com-20140507133222-qql3j1ttqk33une5

10 years ago[FIX] POS - Write the state to Paid before the create_picking. It's allow to stay...
Kersten Jeremy [Wed, 7 May 2014 12:01:44 +0000 (14:01 +0200)]
[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

10 years ago[FIX] warning: make blocking warning actually doing something (opw 607380)
Martin Trigaux [Wed, 7 May 2014 11:39:40 +0000 (13:39 +0200)]
[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

10 years ago[FIX] service: wrapper: fixed context fetching. Indeed call_kw set its context
Thibault Delavallée [Wed, 7 May 2014 11:06:37 +0000 (13:06 +0200)]
[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

10 years ago[FIX] warning: make blocking warning actually doing something (opw 607380)
Martin Trigaux [Wed, 7 May 2014 10:25:50 +0000 (12:25 +0200)]
[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

10 years ago[FIX] auth_oauth: missing field body in formview
Denis Ledoux [Wed, 7 May 2014 10:24:14 +0000 (12:24 +0200)]
[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

10 years ago[IMP] gamification: avoid subscription hacks and send directly relevant messages...
Martin Trigaux [Wed, 7 May 2014 09:56:16 +0000 (11:56 +0200)]
[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

10 years ago[IMP] website_mail, mass_mailing: icon in editor for the snippets + renaming
Thibault Delavallée [Wed, 7 May 2014 09:00:29 +0000 (11:00 +0200)]
[IMP] website_mail, mass_mailing: icon in editor for the snippets + renaming

bzr revid: tde@openerp.com-20140507090029-fh312buk013t1gdp

10 years ago[FIX] account_analytic_analysis: recurring invoices, map_tax and map_account methods...
Denis Ledoux [Tue, 6 May 2014 15:34:59 +0000 (17:34 +0200)]
[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