odoo/odoo.git
9 years ago[MERGE] forward port of branch saas-4 up to fa07bc8
Christophe Simonis [Wed, 30 Jul 2014 18:30:14 +0000 (20:30 +0200)]
[MERGE] forward port of branch saas-4 up to fa07bc8

9 years ago[MERGE] forward port of branch saas-3 up to 310d3fe
Christophe Simonis [Wed, 30 Jul 2014 17:09:33 +0000 (19:09 +0200)]
[MERGE] forward port of branch saas-3 up to 310d3fe

9 years ago[MERGE] forward port of branch 7.0 up to 39f3e40
Christophe Simonis [Wed, 30 Jul 2014 16:55:31 +0000 (18:55 +0200)]
[MERGE] forward port of branch 7.0 up to 39f3e40

9 years ago[FIX] sale: copy_quotation must propagate the context
Guewen Baconnier [Wed, 9 Jul 2014 09:39:58 +0000 (11:39 +0200)]
[FIX] sale: copy_quotation must propagate the context

9 years agoPassed default type while creating document page category from document page
dhr-odoo [Mon, 7 Jul 2014 12:38:12 +0000 (18:08 +0530)]
Passed default type while creating document page category from document page

9 years ago[FIX] project_long_term: avoid bad duplication of phases
Martin Trigaux [Wed, 30 Jul 2014 13:27:58 +0000 (15:27 +0200)]
[FIX] project_long_term: avoid bad duplication of phases

When we duplicate a project, the related phases need to be duplicated as well but keeping references between each other.
e.g. 'project 1' with 'phase A' follwed by 'phase B' should become 'project 1 (copy)' with 'phase A (copy)' followed by 'phase B (copy)'.
Fixing bug lp:1212860, opw 607062

9 years ago[FIX] account_voucher: avoid trying unreconcile a move twice
Ravi Gohil [Thu, 10 Jul 2014 11:39:15 +0000 (17:09 +0530)]
[FIX] account_voucher: avoid trying unreconcile a move twice

When we cancel a voucher, we may be trying to unlink a reconciliation that was already removed on another move (just looking at the version in cache). In such cases, the unlink would fail with traceback. opw 610287

9 years ago[FIX] sale: config, timesheet if module account_analytic_analysis
Denis Ledoux [Wed, 30 Jul 2014 13:26:43 +0000 (15:26 +0200)]
[FIX] sale: config, timesheet if module account_analytic_analysis

In Settings > Sales, the onchange_timesheet ensure that if you check timesheet, it checks module_account_analytic_analysis.

Therefore, if module_account_analytic_analysis is installed, timesheet should be checked by default
Until now, it worked "luckily", because the onchange_timesheet of the field module_account_analytic_analysis was triggered before the onchange_timesheet of the timesheet field. Nevertheless, we shouldn't trust the onchange calls order.

9 years ago[FIX] website: do not restore page views
Christophe Simonis [Wed, 30 Jul 2014 13:10:22 +0000 (15:10 +0200)]
[FIX] website: do not restore page views

9 years ago[FIX] web: fix multiple modal closing (e.g. set defaults)
Cedric Snauwaert [Tue, 29 Jul 2014 14:07:26 +0000 (16:07 +0200)]
[FIX] web: fix multiple modal closing (e.g. set defaults)

move call trigger('closing') after the modal('hide') call to prevent element being destroyed before we could do that call leaving a backdrop visible

9 years ago[FIX] stock: partial deliveries switch on delivered picking
Lionel Sausin (Numérigraphe) [Fri, 25 Jul 2014 09:54:36 +0000 (11:54 +0200)]
[FIX] stock: partial deliveries switch on delivered picking

Users don't care for the backorder picking precisely because they can't process it, whereas they may have to do some more things on the picking they processed: invoice it, print delivery orders or transportation stickers..
Refresh the browse record after changing the name to avoid the need to rebrowse.
Fixes #1372

9 years ago[FIX] mail: reset of default_type in context
StefanRijnhart [Tue, 29 Jul 2014 10:17:38 +0000 (12:17 +0200)]
[FIX] mail: reset of default_type in context

When creating a new message, we need to reset the default_type key to avoid context propagation (e.g. invoice menu).
However we used to compare the key in context (char) with the list of selections (tuple) so it was never matching and always reset.

9 years agoMerge pull request #1391 from savoirfairelinux/7.0-translate-trans_generate_debug_print
xmo-odoo [Tue, 29 Jul 2014 11:51:48 +0000 (13:51 +0200)]
Merge pull request #1391 from savoirfairelinux/7.0-translate-trans_generate_debug_print

[FIX] translate: Fix debug print when parse path list to translate.

9 years ago[MERGE] forward port of branch 7.0 up to bbb8d8f25a7a81c26965aa76b5085961a13132d6
Denis Ledoux [Tue, 29 Jul 2014 09:42:10 +0000 (11:42 +0200)]
[MERGE] forward port of branch 7.0 up to bbb8d8f25a7a81c26965aa76b5085961a13132d6

9 years ago[MERGE] forward port of branch 7.0 up to 767d2ea9a63ceb6d8473766f52eb06f69b281ca1
Denis Ledoux [Tue, 29 Jul 2014 09:35:19 +0000 (11:35 +0200)]
[MERGE] forward port of branch 7.0 up to 767d2ea9a63ceb6d8473766f52eb06f69b281ca1

9 years ago[MERGE] forward port of branch 7.0 up to b91a75f7eff85edd5d51a91d10d6e3be8a409030
Denis Ledoux [Tue, 29 Jul 2014 08:42:50 +0000 (10:42 +0200)]
[MERGE] forward port of branch 7.0 up to b91a75f7eff85edd5d51a91d10d6e3be8a409030

Conflicts:
addons/base_vat/base_vat.py
openerp/tools/safe_eval.py

9 years ago[FIX] website_event: display unconfirmed events too
Denis Ledoux [Mon, 28 Jul 2014 17:34:12 +0000 (19:34 +0200)]
[FIX] website_event: display unconfirmed events too

9 years ago[FIX] web: on refresh, do search_read with fields passed
Denis Ledoux [Mon, 28 Jul 2014 17:02:11 +0000 (19:02 +0200)]
[FIX] web: on refresh, do search_read with fields passed

9 years ago[IMP] base_vat: differenciate VIES and classical VAT error
Ravi Gohil [Fri, 25 Jul 2014 07:15:40 +0000 (12:45 +0530)]
[IMP] base_vat: differenciate VIES and classical VAT error

Display a different error message so that users are aware if the test failed with VIES enabled or not (opw 609823)

9 years ago[IMP] website_crm: allow to specify a view_from and view_callback for a form. That...
Jeremy Kersten [Mon, 28 Jul 2014 12:41:48 +0000 (14:41 +0200)]
[IMP] website_crm: allow to specify a view_from and view_callback for a form. That will allow to redirect the user on another thanks page depending form the form. We add also a preRenderThanks method with allow to updates the values used by the thanks page rendering.

9 years agoRevert 3dec090 "[FIX] ir_values: fallback when no condition"
Martin Trigaux [Mon, 28 Jul 2014 12:35:44 +0000 (14:35 +0200)]
Revert 3dec090 "[FIX] ir_values: fallback when no condition"

An ir.value without condition should not match when searching with a condition.
When a field with change_default on it is modified, the method get_defaults is called with the new value. This means that manually modifying a field with this trigger would put back the default value (opw 611193).

9 years ago[FIX] account: no journal items on consolidation accounts
Humberto Arocha [Thu, 10 Jul 2014 19:55:01 +0000 (15:25 -0430)]
[FIX] account: no journal items on consolidation accounts

As for the view accounts, the consolidation accounts should not allow to create journal items.
Fixes #1090

9 years ago[FIX] stock: backport of rev 0a6d63b
Martin Trigaux [Mon, 28 Jul 2014 07:35:25 +0000 (09:35 +0200)]
[FIX] stock: backport of rev 0a6d63b

9 years ago[FIX] translate: Fix debug print when parse path list to translate.
Mathieu Benoit [Fri, 25 Jul 2014 20:17:29 +0000 (16:17 -0400)]
[FIX] translate: Fix debug print when parse path list to translate.

9 years ago[FIX] survey: display comments in results
Richard Mathot [Fri, 25 Jul 2014 12:48:57 +0000 (14:48 +0200)]
[FIX] survey: display comments in results

9 years ago[FIX] hr_holidays: do not allow reduce remaining leaves
Denis Ledoux [Fri, 25 Jul 2014 12:45:48 +0000 (14:45 +0200)]
[FIX] hr_holidays: do not allow reduce remaining leaves

In the Employee form, a remaining legal leaves field is available, which shows remaining validated leaves from allocation requests
As this is not allowed to delete a validated allocation requets, it shouldn't be possible to reduce the validated remaining leaves of an employee.
To reduce the remaining leaves of an employee, the user should cancel and remove the allocation request

9 years ago[FIX] survey: correct counting of finished answers
Richard Mathot [Fri, 25 Jul 2014 11:47:09 +0000 (13:47 +0200)]
[FIX] survey: correct counting of finished answers

9 years ago[FIX] survey: comments are properly recorded now
Richard Mathot [Fri, 25 Jul 2014 10:29:15 +0000 (12:29 +0200)]
[FIX] survey: comments are properly recorded now

9 years ago[DOC] survey: retroengineering
Richard Mathot [Wed, 16 Jul 2014 14:49:00 +0000 (16:49 +0200)]
[DOC] survey: retroengineering

A bit of commenting in order to help future debugging and unf**king of
the survey reporting tool.

9 years ago[FIX] survey: remove duplicate browse record
Richard Mathot [Wed, 16 Jul 2014 14:24:48 +0000 (16:24 +0200)]
[FIX] survey: remove duplicate browse record

The `prepare_result` dict shouldn't keep a browse record of a survey, as it
is explicitely passed to the template by the controller
`survey_reporting`

9 years ago[FIX] survey: minor view fixes
Richard Mathot [Wed, 16 Jul 2014 12:50:19 +0000 (14:50 +0200)]
[FIX] survey: minor view fixes

9 years ago[ADD] sale: validity date in sale order report
Ravish [Fri, 25 Jul 2014 10:11:21 +0000 (15:41 +0530)]
[ADD] sale: validity date in sale order report

9 years ago[ADD] safe_eval: UNPACK_SEQUENCE and Exception
Denis Ledoux [Fri, 25 Jul 2014 11:00:17 +0000 (13:00 +0200)]
[ADD] safe_eval: UNPACK_SEQUENCE and Exception

Allowing UNPACK_SEQUENCE allows the use of the "multi" assignation:
a, b = [1,2]
for a,b in items

9 years ago[FIX] ir_fields: allow accent on selection import
Denis Ledoux [Fri, 25 Jul 2014 09:53:30 +0000 (11:53 +0200)]
[FIX] ir_fields: allow accent on selection import

If the selection label (not value) had accents, it wasn't possible to import it using the label having accents

9 years ago[ADD] base_vat: add VAT validation for Peruvian localization.
dsabrinarg [Fri, 25 Jul 2014 03:31:12 +0000 (22:31 -0500)]
[ADD] base_vat: add VAT validation for Peruvian localization.

9 years ago[FIX] website_membership: access rules fixes
Martin Trigaux [Fri, 25 Jul 2014 08:57:30 +0000 (10:57 +0200)]
[FIX] website_membership: access rules fixes

When searching on memberships, we use domain clauses in the format 'partner.x = y' where partner is a many2one to res.partner. The object res.partner has strict security rules for public users and this search will return zero result if not done with SUPERUSER_ID.
In addition, we need to access the list of products (membership_ids) in the domain to be sure we will retrieve only published membership (otherwise it would crash in the sort below).

9 years ago[FIX] website: iframe to google maps need the trailing slash, otherwise the path...
Martin Trigaux [Fri, 25 Jul 2014 07:47:13 +0000 (09:47 +0200)]
[FIX] website: iframe to google maps need the trailing slash, otherwise the path and the id are not separated (e.g.: '/members42')

9 years ago[FIX] stock: do not set user_id on prepare_invoice_group
Denis Ledoux [Thu, 24 Jul 2014 18:42:21 +0000 (20:42 +0200)]
[FIX] stock: do not set user_id on prepare_invoice_group

The user_id is already set by the prepare_invoice method, which is called before the prepare_invoice_group (the user_id is already set, thus)
Besides, _prepare_invoice is overriden in sale_stock, to set the picking sale order salesman as user_id, and, without this correct, grouping invoicse by partner re-set the user_id to uid, which is wrong.

9 years ago[FIX] project: remove state field from task analys
Denis Ledoux [Thu, 24 Jul 2014 17:41:15 +0000 (19:41 +0200)]
[FIX] project: remove state field from task analys

The state has been replaced by stage_id in the view, so the state is no longer used
Moreover, when doing an advanced search, the field state is visible and if used -> Traceback (because not available in the report sql table)
opw-609984

9 years ago[FIX] website: catch exception on destroy of ckeditor to allow the modifications...
Jeremy Kersten [Thu, 24 Jul 2014 16:12:32 +0000 (18:12 +0200)]
[FIX] website: catch exception on destroy of ckeditor to allow the modifications to be saved anyway

9 years ago[IMP] account: do not offer closed analytic accounts on invoices
Yannick Vaucher [Thu, 24 Jul 2014 10:21:34 +0000 (12:21 +0200)]
[IMP] account: do not offer closed analytic accounts on invoices

lp:1223922, opw 609656

9 years ago[FIX] ir_attachment: _filestore cache ignore uid
Denis Ledoux [Thu, 24 Jul 2014 09:53:57 +0000 (11:53 +0200)]
[FIX] ir_attachment: _filestore cache ignore uid

replace ormcache_context by ormcache: use the context in the cache key is useless
set skiparg=3 (default skiparg=2) so the uid is not used in the cache key: the filestore path is the same for all database users

9 years ago[FIX] website_sale: fix error in tracking_last_order which was using the field is_del...
Jeremy Kersten [Thu, 24 Jul 2014 09:07:46 +0000 (11:07 +0200)]
[FIX] website_sale: fix error in tracking_last_order which was using the field is_delivery from module delivery

9 years ago[FIX] purchase_analytic_plans: keep reference to analytic distribution
Ravi Gohil [Mon, 9 Jun 2014 07:17:54 +0000 (12:47 +0530)]
[FIX] purchase_analytic_plans: keep reference to analytic distribution

Purchase orders created with invoice policy 'Based on incoming shipments' were not keeping the reference to the account analytic distribution when invoiced. opw 607577

9 years agoMerge pull request #1340 from odoo-dev/saas-3-fix-website-snippet-button-css-chm
Christophe Matthieu [Thu, 24 Jul 2014 07:35:04 +0000 (09:35 +0200)]
Merge pull request #1340 from odoo-dev/saas-3-fix-website-snippet-button-css-chm

[FIX] website.snippet: display snippet editor button inline insead of 2 lines for the small boxes

9 years ago[FIX] gamification: why is there a button here ? do you need a button ? I don't think...
Martin Trigaux [Thu, 24 Jul 2014 06:50:48 +0000 (08:50 +0200)]
[FIX] gamification: why is there a button here ? do you need a button ? I don't think so...

9 years ago[FIX] website_blog: Add sanitize=False on content of blog to allow writer/author...
Jeremy Kersten [Wed, 23 Jul 2014 15:10:02 +0000 (17:10 +0200)]
[FIX] website_blog: Add sanitize=False on content of blog to allow writer/author to insert some tricky code like form or JS

9 years ago[FIX] website.snippet: display snippet editor button inline insead of 2 lines for...
Christophe Matthieu [Wed, 23 Jul 2014 14:21:53 +0000 (16:21 +0200)]
[FIX] website.snippet: display snippet editor button inline insead of 2 lines for the small boxes

9 years agoMerge pull request #1337 from odoo-dev/saas-5-fix-product-taxes-view-chm
Christophe Matthieu [Wed, 23 Jul 2014 14:25:39 +0000 (16:25 +0200)]
Merge pull request #1337 from odoo-dev/saas-5-fix-product-taxes-view-chm

[FIX] account:  the 'Customer taxes' field on the product is readonly when my product doesn't have any variant

9 years ago[MERGE] forward port of branch 7.0 up to 67cca3f
Martin Trigaux [Wed, 23 Jul 2014 14:23:22 +0000 (16:23 +0200)]
[MERGE] forward port of branch 7.0 up to 67cca3f

9 years ago[IMP] website_crm - add kwargs into create_lead function. That allow to get some...
Jeremy Kersten [Wed, 23 Jul 2014 13:43:59 +0000 (15:43 +0200)]
[IMP] website_crm - add kwargs into create_lead function. That allow to get some fields which will be already join in the description from values to custom the behavior from create_lead function

9 years ago[FIX] account: the 'Customer taxes' field on the product is readonly when my product...
Christophe Matthieu [Wed, 23 Jul 2014 13:37:15 +0000 (15:37 +0200)]
[FIX] account:  the 'Customer taxes' field on the product is readonly when my product doesn't have any variant

9 years ago[FIX] mail: display translated model name at record creation
Sandy Carter [Tue, 15 Jul 2014 20:17:36 +0000 (16:17 -0400)]
[FIX] mail: display translated model name at record creation

When a record is created, if it inherits from mail.thread, a message 'OBJECT created' is posted. 'created' is translated but the name of the model wasn't.
This fix uses the name of the linked ir.model which is already a translatable field.
lp:1262000, opw 611043

9 years ago[MERGE] forward port of branch saas-4 up to 5739aebfb1711bb94c2f94bfb03ec12f17e9430d
Denis Ledoux [Wed, 23 Jul 2014 11:16:59 +0000 (13:16 +0200)]
[MERGE] forward port of branch saas-4 up to 5739aebfb1711bb94c2f94bfb03ec12f17e9430d

9 years ago[FIX] web: correct rev 680f955
Martin Trigaux [Wed, 23 Jul 2014 10:19:51 +0000 (12:19 +0200)]
[FIX] web: correct rev 680f955

Missing backport of commit f652402 for buffered dataset
Again, should not be forwardported

9 years ago[MERGE] forward port of branch saas-3 up to 474eae9a43ad7860f11f1d3c1cb8c587eeb98412
Denis Ledoux [Wed, 23 Jul 2014 10:14:14 +0000 (12:14 +0200)]
[MERGE] forward port of branch saas-3 up to 474eae9a43ad7860f11f1d3c1cb8c587eeb98412

9 years ago[FIX] website_sale: translated terms payment status
Denis Ledoux [Wed, 23 Jul 2014 10:00:09 +0000 (12:00 +0200)]
[FIX] website_sale: translated terms payment status

Payment status (website_sale confirmation page) inject a status message, which was not set to be translatable. It should be the case.

9 years ago[IMP] website_crm: allow creation of the lead to be overrided. That avoid people...
Jeremy Kersten [Wed, 23 Jul 2014 09:15:07 +0000 (11:15 +0200)]
[IMP] website_crm: allow creation of the lead to be overrided. That avoid people to rewrite all the routine of the form if they want to change the default behavior at lead creation when form is submitted.

9 years ago[FIX] stock: wrong target table and function for lot_ids in stock.move
qdp-odoo [Wed, 23 Jul 2014 07:48:05 +0000 (09:48 +0200)]
[FIX] stock: wrong target table and function for lot_ids in stock.move

9 years ago[FIX] stock: allow same serial number for different products
Hardik Ansodariya [Wed, 23 Jul 2014 08:03:40 +0000 (10:03 +0200)]
[FIX] stock: allow same serial number for different products

Bug lp:1222289, opw 597639

9 years ago[FIX] website_sale: _rec_name product.attribute.line
Denis Ledoux [Wed, 23 Jul 2014 06:56:36 +0000 (08:56 +0200)]
[FIX] website_sale: _rec_name product.attribute.line

Set the _rec_name for product.attribute.line model, as its column name wasn't defined, and therefore search on it wasn't possible (For instance, do an advanced search on product.product with "Product Attributes" "Contains" "Something" wasn't possible).

9 years ago[FIX] website_sale_delivery: avoid selecting unavailable delivery method
Martin Trigaux [Tue, 22 Jul 2014 14:15:01 +0000 (16:15 +0200)]
[FIX] website_sale_delivery: avoid selecting unavailable delivery method

If somebody selects a delivery method not matching any criteria, the server would crash (500 for the user). This is due to error raised in get_price_from_picking which is triggered by the function field 'price' on the 'delivery.carrier' object.
To avoid this, add field 'available' on the carrier that will be False when no delivery gird is found or when the error is raised. In this case, the delivery choice is disabled. opw 610210

9 years ago[FIX] delivery: use unit of measure and not unit of stock to compute price of delivery
Martin Trigaux [Tue, 22 Jul 2014 14:38:52 +0000 (16:38 +0200)]
[FIX] delivery: use unit of measure and not unit of stock to compute price of delivery

The computation expects uom and it was wrongly passing uos qunatities.

9 years ago[MERGE] forward port of branch 7.0 up to 680f955
Martin Trigaux [Tue, 22 Jul 2014 11:39:15 +0000 (13:39 +0200)]
[MERGE] forward port of branch 7.0 up to 680f955

9 years ago[FIX] web: reload after wizard when record has been removed cause exception
Anaël Closson [Wed, 28 May 2014 14:01:47 +0000 (16:01 +0200)]
[FIX] web: reload after wizard when record has been removed cause exception

If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.

9 years ago[FIX] project : do not show canceled projects in task
Dhs-odoo [Mon, 14 Jul 2014 09:53:39 +0000 (15:23 +0530)]
[FIX] project : do not show canceled projects in task

fixes #938, opw 610318

9 years ago[FIX] hr_attendance: typo introduced at rev 1c9e8ba077b296ec9c334800915fbbf76c81310c
Richard Mathot [Tue, 22 Jul 2014 08:03:16 +0000 (10:03 +0200)]
[FIX] hr_attendance: typo introduced at rev 1c9e8ba077b296ec9c334800915fbbf76c81310c

9 years ago[FIX] sale: only propose services for pay advances
Denis Ledoux [Fri, 18 Jul 2014 15:26:48 +0000 (17:26 +0200)]
[FIX] sale: only propose services for pay advances

When creating an invoice from a sale order, if the user choose to invoice a fixed price (deposit), he has the possibility to choose an advance product. As described in the help message, this product should be a service product. Therefore, we add a domain so only services are displayed in the dropdown list

9 years ago[FIX] account: better error message when regenarating opening entries (opw 606923)
Martin Trigaux [Wed, 4 Jun 2014 14:33:58 +0000 (16:33 +0200)]
[FIX] account: better error message when regenarating opening entries (opw 606923)

If we try to generate twice entries on the same fiscal year, we can get completly unrelated errors ("You can only reconcile journal items with the same partner").
With this, we make sure people will first cancel the entries before regeneraing the entries.

9 years ago[FIX] sale: do not propagate context on send email
Denis Ledoux [Fri, 18 Jul 2014 14:49:45 +0000 (16:49 +0200)]
[FIX] sale: do not propagate context on send email

Otherwise, active_id, active_ids, active_model params are propagated, and it leads to inconsistencies.
For instances, go to Sales > Customers, choose a customer which has quotations.
On the form, hit the "Quotations and sales" Button
Choose a quotation. Hit the "send by email" button.
The template preview should be displayed correctly. Now send the email, than
 - Either, you have no traceback: The email sent is the email of another quotation, the quotation having as id the id of the partner you chose
 - Either, you have a traceback: There is no quotation having as id the id of the partner you chose.

9 years ago[FIX] procurement: avoid to run multiple scheduler
Denis Ledoux [Fri, 18 Jul 2014 11:56:42 +0000 (13:56 +0200)]
[FIX] procurement: avoid to run multiple scheduler

Avoid to run the procurement scheduler multiple times in the same time, otherwise, they tend to interfere with each others

9 years ago[FIX] crm : propagate the lead_id when scheldule other phone calls
Jérome Maes [Fri, 18 Jul 2014 11:02:07 +0000 (13:02 +0200)]
[FIX] crm : propagate the lead_id when scheldule other phone calls

9 years ago[FIX] hr_timesheet: handle case when has never signed in
Oliver Laurent [Fri, 18 Jul 2014 09:53:19 +0000 (11:53 +0200)]
[FIX] hr_timesheet: handle case when has never signed in

The search may return zero results if an employee has never signed in. In this case the browse would have failed.

9 years ago[FIX] hr_timesheet: missing '&' in domain clause
TheCloneMaster [Fri, 18 Jul 2014 05:58:44 +0000 (23:58 -0600)]
[FIX] hr_timesheet: missing '&' in domain clause

To search the contracts for payroll, the domain is constructed with three clauses. Each of these clauses needs to start with a '&' to make sure they are correctly combined with the OR clause'

9 years ago[FIX] website_forum: prevent crash when no country
Bhumi Patel [Mon, 14 Jul 2014 05:31:57 +0000 (11:01 +0530)]
[FIX] website_forum: prevent crash when no country

Closes #1171

9 years ago[FIX] website_sale: do not set t-field in option
Denis Ledoux [Thu, 17 Jul 2014 15:22:43 +0000 (17:22 +0200)]
[FIX] website_sale: do not set t-field in option

t-field in option input (select > option) is not supported

9 years ago[FIX] website_sale: make the 'Ship to a different address' always available
Martin Trigaux [Thu, 17 Jul 2014 14:09:52 +0000 (16:09 +0200)]
[FIX] website_sale: make the 'Ship to a different address' always available

In the backend the option 'Allow a different address for delivery and invoicing' will set the group sale.group_delivery_invoice_address to employees. However the public user is not an employee (and we don't want to change that) so does not get this group. As we don't have similar group mechanism for public user, we have no other choice than always displaying the option to have different address. opw 610118

9 years ago[FIX] ir_values: fallback when no condition
Martin Trigaux [Thu, 17 Jul 2014 12:22:20 +0000 (14:22 +0200)]
[FIX] ir_values: fallback when no condition

When searching for default values, if we set a condition (e.g. 'type=out_invoice'), fetch also the default values without any condition set. Thanks to the order by clause, the one with a condition have an higher priority than the one without and will not affect existing result.
This fixes default journal/currency on an invoice where the journal is retrieved in the onchange_company_id method (domain is forced). Without this patch only ir.values with a domain set will match, opw 610645

9 years ago[IMP] mail.group: set special header to disable OOF replies from MS Exchange
Olivier Dony [Thu, 17 Jul 2014 10:33:55 +0000 (12:33 +0200)]
[IMP] mail.group: set special header to disable OOF replies from MS Exchange

9 years ago[FIX] website_mail_group: slufigy group link + spellchecking
Olivier Dony [Wed, 16 Jul 2014 22:56:52 +0000 (00:56 +0200)]
[FIX] website_mail_group: slufigy group link + spellchecking

9 years ago[FIX] mail: less confusing To: header for mailing-list posts
Olivier Dony [Wed, 16 Jul 2014 22:16:12 +0000 (00:16 +0200)]
[FIX] mail: less confusing To: header for mailing-list posts

Many mail clients will replace the name in the To:
header with Me if the To: email matches the email
of the user. These users will see To: Me instead of
"Followers of ..." and usually believe this was a
private email from the sender to them.
But when replying they would reply to the whole list.

Fix this by explicitly forcing the To: to be the
mailing list address.

9 years ago[FIX] mail, website_mail: specific mailing-list footer + better unsubscribe option
Olivier Dony [Wed, 16 Jul 2014 20:51:43 +0000 (22:51 +0200)]
[FIX] mail, website_mail: specific mailing-list footer + better unsubscribe option

- remove the default footer for mail.group messages,
  replace with specific footer with archive and unsubscribe
  link
- remove the automatic addition of user signature in
  mail.group messages, as many of them will be posted
  via the mail gateway and already contain a user signature.
- make it easier to unsubscribe even when not logged in,
  as followers who have not signed up will have no
  way to login short of signing up.
- remove tests looking for user signature in mail.group posts

9 years agoMerge pull request #1206 from odoo-dev/saas-5-pricelist-controller-chm
Christophe Matthieu [Wed, 16 Jul 2014 11:01:32 +0000 (13:01 +0200)]
Merge pull request #1206 from odoo-dev/saas-5-pricelist-controller-chm

[FIX] website_sale: add shop/pricelist controller

9 years ago[FIX] website_sale: add shop/pricelist controller
Christophe Matthieu [Wed, 18 Jun 2014 16:19:01 +0000 (18:19 +0200)]
[FIX] website_sale: add shop/pricelist controller

9 years agowebsite_forum: fixed issue when voting. The method should work in batch. Previously...
Thibault Delavallée [Tue, 15 Jul 2014 14:44:55 +0000 (16:44 +0200)]
website_forum: fixed issue when voting. The method should work in batch. Previously to this implementation having one post with a vote bypassed the other posts without vote when called with several ids.

9 years ago[FIX] project_mrp: prevent crash during installation if stock is not installed; use...
Thibault Delavallée [Tue, 15 Jul 2014 10:54:38 +0000 (12:54 +0200)]
[FIX] project_mrp: prevent crash during installation if stock is not installed; use default view for product coming from the product module that is indeed in the dependencies.

9 years ago[FIX] website_forum: fixed controller creating a new forum tha was crashing.
Thibault Delavallée [Tue, 15 Jul 2014 09:15:27 +0000 (11:15 +0200)]
[FIX] website_forum: fixed controller creating a new forum tha was crashing.

9 years ago[MERGE] forward port of branch saas-4 up to de696f1
Christophe Simonis [Tue, 15 Jul 2014 08:39:08 +0000 (10:39 +0200)]
[MERGE] forward port of branch saas-4 up to de696f1

9 years ago[MERGE] forward port of branch saas-3 up to 24484c8
Christophe Simonis [Tue, 15 Jul 2014 08:38:14 +0000 (10:38 +0200)]
[MERGE] forward port of branch saas-3 up to 24484c8

9 years ago[MERGE] forward port of branch 7.0 up to 7a928b1
Christophe Simonis [Tue, 15 Jul 2014 08:36:54 +0000 (10:36 +0200)]
[MERGE] forward port of branch 7.0 up to 7a928b1

9 years ago[FIX] project: default_groups_ref expects the format module.xml_id (opw 610098)
Martin Trigaux [Mon, 14 Jul 2014 14:39:13 +0000 (16:39 +0200)]
[FIX] project: default_groups_ref expects the format module.xml_id (opw 610098)

9 years ago[FIX] website_forum: fixed karma computation, on first vote the karma was wrongly...
Thibault Delavallée [Fri, 11 Jul 2014 14:17:54 +0000 (16:17 +0200)]
[FIX] website_forum: fixed karma computation, on first vote the karma was wrongly calculated (when creating a vote, not when updating it).

9 years ago[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introd...
Thibault Delavallée [Fri, 11 Jul 2014 13:31:44 +0000 (15:31 +0200)]
[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version.

9 years ago[FIX] l10n_lu: wrong mapping of accounts to P&L financial report
Stéphane Bidoul [Mon, 23 Jun 2014 14:54:45 +0000 (16:54 +0200)]
[FIX] l10n_lu: wrong mapping of accounts to P&L financial report

Account 655 and its child 6554 were both mapped.
Fixed by unmapping 655 and mapping all its direct children.

(Manual rebase of PR #733)

9 years ago[FIX] l10n_lu: taxes (amont/aval)
Stéphane Bidoul [Mon, 23 Jun 2014 15:01:19 +0000 (17:01 +0200)]
[FIX] l10n_lu: taxes (amont/aval)

The accounts "TVA en amont" were not used by the l10n_lu chart of accounts.

Instead the accounts "TVA en aval" were used for all taxes both sale and purchase taxes.

(Manual rebase of PR #735)

9 years ago[FIX] base: make ir_attachment._filestore callable with kwargs
Christophe Simonis [Fri, 11 Jul 2014 12:58:32 +0000 (14:58 +0200)]
[FIX] base: make ir_attachment._filestore callable with kwargs

9 years ago[FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136
Martin Trigaux [Fri, 11 Jul 2014 11:57:45 +0000 (13:57 +0200)]
[FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136

Fixing calendar view errors, opw 609989

9 years ago[MERGE] Fwd-port saas-4 up to e31fd6a
Olivier Dony [Fri, 11 Jul 2014 10:00:42 +0000 (12:00 +0200)]
[MERGE] Fwd-port saas-4 up to e31fd6a

9 years ago[MERGE] Fwd-port saas-3 up to a9d2b65
Olivier Dony [Fri, 11 Jul 2014 09:53:07 +0000 (11:53 +0200)]
[MERGE] Fwd-port saas-3 up to a9d2b65

9 years ago[MERGE] Fwd-port 7.0 up to 783b9e1
Olivier Dony [Fri, 11 Jul 2014 09:51:06 +0000 (11:51 +0200)]
[MERGE] Fwd-port 7.0 up to 783b9e1