odoo/odoo.git
9 years ago[FIX] mail: compose wizard: fixed default_get overrides not correctly managing the...
Thibault Delavallée [Wed, 6 Aug 2014 12:29:48 +0000 (14:29 +0200)]
[FIX] mail: compose wizard: fixed default_get overrides not correctly managing the received field_list + improved custom call to default_get to correctly manage its in and out values.

9 years ago[FIX] crm: fixed day_open and day_close computation (conditional store + be sure...
Thibault Delavallée [Wed, 6 Aug 2014 11:00:06 +0000 (13:00 +0200)]
[FIX] crm: fixed day_open and day_close computation (conditional store + be sure that date_open and date_closed fields are set)

9 years ago[FIX] project_issue, resource: fixed computation of hours / days to open (assign...
Thibault Delavallée [Wed, 6 Aug 2014 09:36:54 +0000 (11:36 +0200)]
[FIX] project_issue, resource: fixed computation of hours / days to open (assign) or close an issue. Those fields now have a conditional store, because they were not recomputed even when changing date_open and date_closed. Changing the stage now correctly changes the date_closed. Also added some fixes in resource module, the date was not correctly taken into account when computing the number of working hours between two dates.

9 years ago[FIX] orm: _compute_related: ensure prefetch is done in batch
Olivier Dony [Wed, 6 Aug 2014 16:48:35 +0000 (18:48 +0200)]
[FIX] orm: _compute_related: ensure prefetch is done in batch

Due to the use of a sudo env, the records
were being added to the sudo cache one by
one instead of all at once. This meant the
prefetching was not able to load all
records at once, leading to prohibitive
times when processing thousands of
records.

9 years ago[FIX] web: make search by `id` possible.
Christophe Simonis [Wed, 6 Aug 2014 15:27:27 +0000 (17:27 +0200)]
[FIX] web: make search by `id` possible.

+ correct tests

9 years ago[IMP] models: name_search() should call _name_search()
Raphael Collet [Wed, 6 Aug 2014 09:40:03 +0000 (11:40 +0200)]
[IMP] models: name_search() should call _name_search()

This avoids code duplication between methods, and keeps backward compatibility
with existing code overriding _name_search().

9 years ago[IMP] fields: add mechanism to extend a selection field
Raphael Collet [Thu, 10 Jul 2014 20:04:03 +0000 (22:04 +0200)]
[IMP] fields: add mechanism to extend a selection field

If a selection field is defined by a list as selection, such as:

    state = fields.Selection([('a', 'A'), ('b', 'B')])

one can extend it by inheritance by redefining the field, as:

    state = fields.Selection(selection_add=[('c', 'C')])

The result is that the selection field will have the list
[('a', 'A'), ('b', 'B'), ('c', 'C')] as selection.

9 years ago[FIX] Allow search on `_inherits` fields.
Christophe Simonis [Wed, 6 Aug 2014 12:59:57 +0000 (14:59 +0200)]
[FIX] Allow search on `_inherits` fields.

As `_inherits` fields are now handled via `related`
fields (not stored, obviously), a new descriptor
`searchable` has been added to `fields_get()` result
to indicated if the field is searchable or not.

9 years ago[FIX] website_livechat: reference of demo data was preventing to install the module
Daniel Dico [Sat, 2 Aug 2014 08:03:11 +0000 (04:03 -0400)]
[FIX] website_livechat: reference of demo data was preventing to install the module

Added a record of im_livechat.channel in website_livechat data

9 years ago[FIX] Exporting of res.partner works again
Mohammed Shekha [Wed, 6 Aug 2014 09:40:46 +0000 (15:10 +0530)]
[FIX] Exporting of res.partner works again

Singleton object was required while access model properties, but search returns multiple results and hence caused traceback while accessing record.property

9 years ago[FIX] stock: typo when selecting inventory on single product
Fekete Mihai [Wed, 6 Aug 2014 09:36:13 +0000 (11:36 +0200)]
[FIX] stock: typo when selecting inventory on single product

9 years ago[FIX] base: fixes #1167, change password wizard (wrong default value)
Raphael Collet [Wed, 6 Aug 2014 09:20:38 +0000 (11:20 +0200)]
[FIX] base: fixes #1167, change password wizard (wrong default value)

The one2many field 'user_ids' was initialized with an incorrect value for the
inverse field 'wizard_id', using a res.users id. The latter was causing a
MissingError exception. The fix is simply to not define explicitly the inverse
field in the one2many.

Also did a small cleanup of the code of the wizard.

9 years ago[FIX] project_issue: reviewer_id doesn(t exist
Richard Mathot [Wed, 6 Aug 2014 08:28:16 +0000 (10:28 +0200)]
[FIX] project_issue: reviewer_id doesn(t exist

(partial revert of 44a5268c00443cfb0664d7679d93772422a7403)

9 years ago[FIX] fields: convert_to_cache() on *2many fields must take record's current value
Raphael Collet [Wed, 9 Jul 2014 15:06:29 +0000 (17:06 +0200)]
[FIX] fields: convert_to_cache() on *2many fields must take record's current value

The existing code was buggy when writing on *2many fields with a list of
commands: the value was converted for the cache, but taking an empty recordset
as the current value of the field.

9 years ago[FIX] hr_contract: count the number of contracts of an employee as superuser_id as...
Thibault Delavallée [Tue, 5 Aug 2014 12:49:52 +0000 (14:49 +0200)]
[FIX] hr_contract: count the number of contracts of an employee as superuser_id as this field is required in the form view. However no data is displayed, and no data about the contracts are leaked, so no security holes.

9 years ago[MERGE] forward port of branch saas-5 up to 7d7f6fe
Denis Ledoux [Tue, 5 Aug 2014 14:04:58 +0000 (16:04 +0200)]
[MERGE] forward port of branch saas-5 up to 7d7f6fe

9 years ago[FIX] purchase: now allow 'can be purchased' to be checked even if not variant
Denis Ledoux [Tue, 5 Aug 2014 14:01:55 +0000 (16:01 +0200)]
[FIX] purchase: now allow 'can be purchased' to be checked even if not variant

Before, the field purchase_ok was set as readonly on the product form if the product wasn't a variant, to avoid users to set all the products variants associated to the product template to be set as purchase able in one action.

We now consider that this can be done by the end user

9 years ago[FIX] web_kanban: parent can be undefined in some cases
Denis Ledoux [Tue, 5 Aug 2014 13:44:57 +0000 (15:44 +0200)]
[FIX] web_kanban: parent can be undefined in some cases

opw-611106, when clicking quickly Sales > Opportunities than Sales > Leads.

9 years ago[IMP] models: turn _patch_method() and _revert_method() into class methods
Raphael Collet [Tue, 5 Aug 2014 12:50:44 +0000 (14:50 +0200)]
[IMP] models: turn _patch_method() and _revert_method() into class methods

This makes the patching mechanism more flexible, and enables patching BaseModel,
for instance. This should fix #1501.

9 years ago[FIX] account: prevent crash onchange company_id
cod-odoo [Mon, 28 Jul 2014 10:40:46 +0000 (16:10 +0530)]
[FIX] account: prevent crash onchange company_id

(rebase of #1534)

9 years ago[IMP] Do not create FK when destination model is _auto=False
Samus CTO [Tue, 5 Aug 2014 09:34:19 +0000 (11:34 +0200)]
[IMP] Do not create FK when destination model is _auto=False

It is not useful to try to create foreign keys when the destination model is
a PostgreSQL view for example.
We already do this kind of verifications but ir.actions and transient models
but did not for _auto.

9 years ago[IMP] base/res_users: improve reading/writing of reified group fields
Raphael Collet [Mon, 4 Aug 2014 09:37:16 +0000 (11:37 +0200)]
[IMP] base/res_users: improve reading/writing of reified group fields

- simplify the code by removing unused cases
- do not modify input argument 'value' of create/write
- do not call BaseModel.read() with reified group fields (this causes warnings)

9 years ago[FIX] web: tooltip container set to body in all case
Cedric Snauwaert [Tue, 5 Aug 2014 11:55:18 +0000 (13:55 +0200)]
[FIX] web: tooltip container set to body in all case

Mandatory since we changed the structure of the dom since 8.0.

9 years ago[IMP] workflow: add sequence for ordering workflow transitions (split/join mode espec...
Wolfgang Taferner [Mon, 4 Aug 2014 14:07:25 +0000 (16:07 +0200)]
[IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR)

Makes ordering transitions easier and more deterministic.

(Rebase of #1564)

9 years agoMerge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco
qdp-odoo [Tue, 5 Aug 2014 09:48:49 +0000 (11:48 +0200)]
Merge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco

[FIX] account: fix unexpected invalidation of field account_invoice.reconciled

9 years ago[FIX] mrp: Fix spelling error on 'manufacturing'
Florian Hatat [Mon, 4 Aug 2014 08:25:00 +0000 (10:25 +0200)]
[FIX] mrp: Fix spelling error on 'manufacturing'

Changing .po files to avoid to retranslate existing terms.
Fixes #1328

9 years ago[FIX] website_forum: when a user posting a new answer or question does not have a...
Jay Patel [Thu, 10 Jul 2014 10:14:51 +0000 (15:44 +0530)]
[FIX] website_forum: when a user posting a new answer or question does not have a valid email address, redirect to the user's profile instead of crashing when trying to send notifications.

9 years ago[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Raphael Collet [Tue, 5 Aug 2014 08:01:07 +0000 (10:01 +0200)]
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled

Problem: the field account_invoice.reconciled was invalidated by a workflow
signal sent from the compute method of the field. The purpose of the signal was
to re-open the invoice when the account move lines were no longer reconciled,
for instance after cancelling a reconciliation.

Solution: modify the workflow such that it makes an automatic transition from
'paid' to 're-open' when the condition 'not reconciled' is met. This works
because the field 'reconciled' is stored, and each recomputation forces a
reevaluation the workflow. The signal to re-open the invoice is thus no longer
necessary.

9 years ago[FIX] sale_stock: invoice createde from picking was not using the prive list from...
Jitendra Prajapati [Mon, 7 Jul 2014 10:04:01 +0000 (15:34 +0530)]
[FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components

9 years ago[FIX] website_blog: fixed mobile css for the blog footer
Mahendra barad [Mon, 4 Aug 2014 13:38:09 +0000 (19:08 +0530)]
[FIX] website_blog: fixed mobile css for the blog footer

9 years ago[FIX] account: method should return browse records, not set
Martin Trigaux [Tue, 5 Aug 2014 07:30:14 +0000 (09:30 +0200)]
[FIX] account: method should return browse records, not set

9 years ago[FIX] website: use SUPERUSER_ID to browse company for res_company
Denis Ledoux [Mon, 4 Aug 2014 19:08:18 +0000 (21:08 +0200)]
[FIX] website: use SUPERUSER_ID to browse company for res_company

In a multi-company environment,
if the user signed in was not working in the company displayed by the website,
he couldn't browse the website

9 years ago[FIX] account: correct v8 version of map_tax() method of account.fiscal.postion
Christophe Simonis [Mon, 4 Aug 2014 17:41:43 +0000 (19:41 +0200)]
[FIX] account: correct v8 version of map_tax() method of account.fiscal.postion

9 years ago[IMP] base: improved doc for `states` attribute of fields
Olivier Dony [Mon, 4 Aug 2014 16:19:47 +0000 (18:19 +0200)]
[IMP] base: improved doc for `states` attribute of fields

See #1527

9 years ago[FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Denis Ledoux [Mon, 4 Aug 2014 16:12:29 +0000 (18:12 +0200)]
[FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id

Some domains have not been altered according to this rename

9 years ago[MERGE] forward port of branch saas-5 up to 655a5b9
Denis Ledoux [Mon, 4 Aug 2014 14:56:10 +0000 (16:56 +0200)]
[MERGE] forward port of branch saas-5 up to 655a5b9

9 years ago[FIX] mrp: better selection of bom
Martin Trigaux [Mon, 4 Aug 2014 12:22:54 +0000 (14:22 +0200)]
[FIX] mrp: better selection of bom

When searching for a bom based on a product.product, the method used to return any bom linked to the template (so searching for bom for variant A could return bom for variant B if both share the same product.template).
This will allow to return bom not linked to a variant without returning the one of another variant (opw 609358)

9 years ago[MERGE] forward port of branch saas-4 up to 8c0c743
Denis Ledoux [Mon, 4 Aug 2014 14:14:31 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-4 up to 8c0c743

9 years ago[MERGE] forward port of branch saas-3 up to ebf317a
Denis Ledoux [Mon, 4 Aug 2014 14:14:05 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-3 up to ebf317a

9 years ago[MERGE] forward port of branch 7.0 up to e07bc5d
Denis Ledoux [Mon, 4 Aug 2014 14:10:06 +0000 (16:10 +0200)]
[MERGE] forward port of branch 7.0 up to e07bc5d

9 years agoMerge pull request #1563 from odoo-dev/saas-4-sale-report-validity-date-sle
sle-odoo [Mon, 4 Aug 2014 14:09:40 +0000 (16:09 +0200)]
Merge pull request #1563 from odoo-dev/saas-4-sale-report-validity-date-sle

website_quote: renamed validity date to expiry date & adapted the sale order report to display the expiry date in website_quote module instead of sale module

9 years ago[FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com
Christophe Simonis [Mon, 4 Aug 2014 14:00:33 +0000 (16:00 +0200)]
[FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com

9 years ago[ADD] res_partner: test case for fix rev 4a278809741d4e961ac13d3477a046d43b32cfa7
Denis Ledoux [Mon, 4 Aug 2014 13:54:56 +0000 (15:54 +0200)]
[ADD] res_partner: test case for fix rev 4a278809741d4e961ac13d3477a046d43b32cfa7

9 years ago[FIX] purchase: fix test merge_order (check on date_order was not correct)
Raphael Collet [Mon, 4 Aug 2014 09:20:03 +0000 (11:20 +0200)]
[FIX] purchase: fix test merge_order (check on date_order was not correct)

9 years ago[FIX] models: default_get() shall not return a dict as a many2one value
Raphael Collet [Mon, 4 Aug 2014 09:12:39 +0000 (11:12 +0200)]
[FIX] models: default_get() shall not return a dict as a many2one value

When a new record is returned as the value for a many2one on a new record, the
method Many2one.convert_to_write() now returns a NewID, and default_get() then
discards that value from its result. This makes it consistent with its former
behavior.

Manual rebase of #1547

9 years ago[REF] website_quote: displayed string of validity_date field changed from 'Validity...
Simon Lejeune [Mon, 4 Aug 2014 13:49:16 +0000 (15:49 +0200)]
[REF] website_quote: displayed string of validity_date field changed from 'Validity Date' to 'Expiry Date'

9 years ago[FIX] survey: missing timezone conversions
dhr-odoo [Tue, 10 Jun 2014 08:56:08 +0000 (14:26 +0530)]
[FIX] survey: missing timezone conversions

As the survey hardcode lot's of views and reports in python, we do not beneficiate from automatic timezone conversions in the webclient.
Hopefully this is fixed in v8 after refactoring of the survey module. opw 608786

9 years ago[FIX] module loading: manual x2x fields can now refer to manual models
Raphael Collet [Mon, 4 Aug 2014 09:45:11 +0000 (11:45 +0200)]
[FIX] module loading: manual x2x fields can now refer to manual models

The fix consists in this: when setting up models, ignore manual fields that
refer to unknown models if all models have not been loaded yet.

9 years ago[REF] mail: same_thread field changed into no_auto_thread, its contrary, to avoid...
Thibault Delavallée [Mon, 4 Aug 2014 11:02:42 +0000 (13:02 +0200)]
[REF] mail: same_thread field changed into no_auto_thread, its contrary, to avoid migration issues (adding a 'always False' column is easier than an 'always True').

9 years ago[FIX] sale/website_quote: inherit the sale order report to show the validity date
Simon Lejeune [Mon, 4 Aug 2014 12:45:38 +0000 (14:45 +0200)]
[FIX] sale/website_quote: inherit the sale order report to show the validity date

9 years agoMerge pull request #1428 from odoo-dev/sass-5-fixes-chm
Christophe Matthieu [Mon, 4 Aug 2014 12:43:54 +0000 (14:43 +0200)]
Merge pull request #1428 from odoo-dev/sass-5-fixes-chm

[FIX] website_sale and point_of_sale fixes

9 years ago[FIX] mrp: duplicated find bom buttons
Martin Trigaux [Mon, 4 Aug 2014 09:42:40 +0000 (11:42 +0200)]
[FIX] mrp: duplicated find bom buttons

The product_id field is not required on a mrp.bom (while product_tmpl_id is). When searching for BOMs linked to a product.product, we should display the one specific to this product and the ones linked to the template (but not linked to another variant).

9 years ago[FIX] procurement: missing variable
Martin Trigaux [Mon, 4 Aug 2014 10:14:11 +0000 (12:14 +0200)]
[FIX] procurement: missing variable

scheduler_cron_id was not initialised so the scheduler always crashed (with just info message)

9 years ago[FIX] website: encode param for seo search, else multi words will not work.
Jeremy Kersten [Mon, 4 Aug 2014 12:41:55 +0000 (14:41 +0200)]
[FIX] website: encode param for seo search, else multi words will not work.

9 years ago[FIX] res_partner: commercial partner sync
Denis Ledoux [Mon, 4 Aug 2014 12:34:08 +0000 (14:34 +0200)]
[FIX] res_partner: commercial partner sync

On child partner creation of a parent partner, the commercial_partner_id is not computed (and stored) in the create method.
Therefore, we should compute the commercial_partner_id before trying to sync his data

9 years ago[FIX] website: use internal route for SEO suggest keyword, old server is down
Jeremy Kersten [Mon, 4 Aug 2014 10:25:59 +0000 (12:25 +0200)]
[FIX] website: use internal route for SEO suggest keyword, old server is down

9 years ago[FIX] gamification: prevent traceback in goals history
cod-odoo [Fri, 1 Aug 2014 04:40:03 +0000 (10:10 +0530)]
[FIX] gamification: prevent traceback in goals history

Closes #1536

9 years ago[FIX] im_char: correct display over kanban view
rba-odoo [Wed, 30 Jul 2014 07:15:00 +0000 (12:45 +0530)]
[FIX] im_char: correct display over kanban view

9 years ago[FIX] payment*: add the customer state to payment (paypal) transactions
Denis Ledoux [Mon, 4 Aug 2014 09:05:01 +0000 (11:05 +0200)]
[FIX] payment*: add the customer state to payment (paypal) transactions

9 years ago[FIX] payment_paypal: paypal IPN, receiver_id is not always passed
Denis Ledoux [Mon, 4 Aug 2014 08:25:59 +0000 (10:25 +0200)]
[FIX] payment_paypal: paypal IPN, receiver_id is not always passed

The method  _paypal_form_get_invalid_parameters checks that the params passed by the paypal feedback coroborate with the transaction requested by Odoo.

It looks like the 'receiver_id' is not always passed by the paypal feedback. Therefore, we check this param only if it is available in the paypal feeback.

This issue had as side-effect to not validate the paypal transaction, which remained 'draft' permanently.

9 years ago[IMP] openerp.api: improve documentation
Raphael Collet [Mon, 4 Aug 2014 07:49:35 +0000 (09:49 +0200)]
[IMP] openerp.api: improve documentation

9 years ago[MERGE] Forward-port saas-5 up to 37ba23d
Olivier Dony [Sat, 2 Aug 2014 18:42:19 +0000 (20:42 +0200)]
[MERGE] Forward-port saas-5 up to 37ba23d

9 years ago[MERGE] Forward-port saas-3 up to b6acdc4
Olivier Dony [Sat, 2 Aug 2014 18:35:51 +0000 (20:35 +0200)]
[MERGE] Forward-port saas-3 up to b6acdc4

9 years ago[MERGE] Forward-port 7.0 up to 2493395
Olivier Dony [Sat, 2 Aug 2014 18:34:44 +0000 (20:34 +0200)]
[MERGE] Forward-port 7.0 up to 2493395

9 years ago[FIX] product_visible_discount: no crash when no pricelist passed or product without...
Olivier Dony [Sun, 3 Aug 2014 18:12:45 +0000 (20:12 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company

Fixes an error introduced in f6fb2b6

9 years ago[FIX] product_visible_discount: no crash when no pricelist passed or product without...
Olivier Dony [Sat, 2 Aug 2014 01:32:09 +0000 (03:32 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company

Fixes an error introduced in f6fb2b6

9 years ago[MERGE] Forward-port saas-3 up to 7273474
Olivier Dony [Fri, 1 Aug 2014 21:14:59 +0000 (23:14 +0200)]
[MERGE] Forward-port saas-3 up to 7273474

9 years ago[MERGE] Forward-port saas-3 up to fc92027
Olivier Dony [Fri, 1 Aug 2014 21:10:29 +0000 (23:10 +0200)]
[MERGE] Forward-port saas-3 up to fc92027

9 years ago[FIX] website: OpenERP->Odoo in website footer
Olivier Dony [Fri, 1 Aug 2014 21:04:42 +0000 (23:04 +0200)]
[FIX] website: OpenERP->Odoo in website footer

9 years ago[MERGE] Forward-port 7.0 up to 9411a2da
Olivier Dony [Fri, 1 Aug 2014 21:01:57 +0000 (23:01 +0200)]
[MERGE] Forward-port 7.0 up to 9411a2da

9 years ago[FIX] Model.load(): extra error checking while importing data
Olivier Dony [Fri, 1 Aug 2014 20:42:01 +0000 (22:42 +0200)]
[FIX] Model.load(): extra error checking while importing data

If any missing or partially incorrect values cause
an exception other than a psycopg2 error, we should
still catch it, rollback that record and report
the error, rather than letting bubble and fail
without any feedback to the user.

Fixes #1485

9 years ago[FIX] account: res.partner: limit access to "total_invoiced" field to group "group_ac...
Christophe Simonis [Fri, 1 Aug 2014 15:29:20 +0000 (17:29 +0200)]
[FIX] account: res.partner: limit access to "total_invoiced" field to group "group_account_invoice". Use SUPERUSER_ID to access data

9 years ago[FIX] website_sale: everytime you want to change both billing & delivery address...
Christophe Matthieu [Fri, 1 Aug 2014 15:11:20 +0000 (17:11 +0200)]
[FIX] website_sale: everytime you want to change both billing & delivery address, any change creates duplicates in the backend

9 years ago[IMP] base: show possible titles for companies (opw 608243)
Martin Trigaux [Fri, 1 Aug 2014 15:07:56 +0000 (17:07 +0200)]
[IMP] base: show possible titles for companies (opw 608243)

9 years ago[FIX] calendar: onchange_dates: protect against void dates (for example when creating...
Thibault Delavallée [Fri, 1 Aug 2014 11:48:33 +0000 (13:48 +0200)]
[FIX] calendar: onchange_dates: protect against void dates (for example when creating a meeting through the form view)

9 years ago[FIX] product_visible_discount: multicurrency pricelists
Martin Trigaux [Fri, 1 Aug 2014 10:43:31 +0000 (12:43 +0200)]
[FIX] product_visible_discount: multicurrency pricelists

When we compute the discount of a product to display (result of product_id_change), we compare prices in the currency of the product while we expect prices in the currency of the pricelist. opw 606188

9 years ago[FIX] orm: set default before removing magic fields
dhr-odoo [Wed, 9 Jul 2014 07:23:36 +0000 (12:53 +0530)]
[FIX] orm: set default before removing magic fields

When a record is created, the magic fields (id, create_date,...) are first removed from the vals as the user should not set a value for these.
However if a value for this is given in default value (e.g. defined in an ir.value), the creation would crash (sql error : column specified more than once) as the magic column would be added again.

9 years ago[FIX] website: update url in the footer
Julien Legros [Fri, 1 Aug 2014 13:33:58 +0000 (15:33 +0200)]
[FIX] website: update url in the footer

9 years ago[FIX] website: slug: fallback to positive ID when slug appears to contain a missing...
Olivier Dony [Fri, 1 Aug 2014 08:50:25 +0000 (10:50 +0200)]
[FIX] website: slug: fallback to positive ID when slug appears to contain a missing negative ID

In some rare cases database records have negative IDs,
so the slug URL could look like /foo--20. This could
be mistaken for a slug ending with a `-` and a positive ID.
The latter is not supposed to happned as final hyphens
are stripped by slugify, but has been used in the past
and may be used in old links.

9 years ago[FIX] web: multiple opened modal need fixing since bootstrap lib update
Cedric Snauwaert [Fri, 1 Aug 2014 12:53:48 +0000 (14:53 +0200)]
[FIX] web: multiple opened modal need fixing since bootstrap lib update

9 years ago[FIX] website_sale: confirm sale order on payment_confirmation
Denis Ledoux [Fri, 1 Aug 2014 12:48:16 +0000 (14:48 +0200)]
[FIX] website_sale: confirm sale order on payment_confirmation

Same behavior than in saas-5

9 years ago[MERGE] Foward-port saas-5 up to ee4df1e
Olivier Dony [Fri, 1 Aug 2014 12:24:07 +0000 (14:24 +0200)]
[MERGE] Foward-port saas-5 up to ee4df1e

9 years ago[FIX] mass_mailing: possibility to subscribe again to a mailing list
Denis Ledoux [Fri, 1 Aug 2014 12:20:55 +0000 (14:20 +0200)]
[FIX] mass_mailing: possibility to subscribe again to a mailing list

It was not possible to subscribe again to a mailing list once unsubscribed

9 years ago[FIX] mail: bad display of join button on mail groups.
Thibault Delavallée [Fri, 1 Aug 2014 11:29:55 +0000 (13:29 +0200)]
[FIX] mail: bad display of join button on mail groups.

9 years ago[MERGE] Forward-port saas-4 up to 8b15482
Olivier Dony [Fri, 1 Aug 2014 11:06:49 +0000 (13:06 +0200)]
[MERGE] Forward-port saas-4 up to 8b15482

9 years ago[MERGE] Forward-port saas-3 up to e79a367
Olivier Dony [Fri, 1 Aug 2014 10:54:30 +0000 (12:54 +0200)]
[MERGE] Forward-port saas-3 up to e79a367

9 years ago[FIX] orm.search_count: ignore `limit`, `offset` and most importantly `order`
Olivier Dony [Fri, 1 Aug 2014 10:34:41 +0000 (12:34 +0200)]
[FIX] orm.search_count: ignore `limit`, `offset` and most importantly `order`

These parameters are (or should be) irrelevant for
a search_count(), and they could actually break the
result or make it significantly slower (e.g applying
`order` on large tables).
This fixes a performance regression introduced by
0f43032b.

We could also raise an error offset/limit are
passed in combination with count, but that seems
unnecessary.

Also switched to "SELECT count(1)" for the count
query, as it is simpler and just as fast.
We'd get the same perf with * or any constant value,
as in "SELECT count('me in')", but let's keep it
simple ;-)

9 years ago[FIX] website: the media video create by the media editor is not display in firefox...
Christophe Matthieu [Fri, 1 Aug 2014 09:54:39 +0000 (11:54 +0200)]
[FIX] website: the media video create by the media editor is not display in firefox. change the css to display the video and add z-index to the div for edit mode

9 years ago[FIX] web: remove unneeded overflow-y on modal-body class
Cedric Snauwaert [Thu, 31 Jul 2014 14:09:50 +0000 (16:09 +0200)]
[FIX] web: remove unneeded overflow-y on modal-body class

Will fix problem where opened dropdown list were hidden behind the modal footer

9 years ago[FIX] mass_mailing: allow to add a user/email to a specific mailing list and not...
Jeremy Kersten [Fri, 1 Aug 2014 09:25:41 +0000 (11:25 +0200)]
[FIX] mass_mailing: allow to add a user/email to a specific mailing list and not always the last as previously.

9 years ago[FIX] event: registration and confirmation template now have a domain on event.regist...
Thibault Delavallée [Fri, 1 Aug 2014 08:11:36 +0000 (10:11 +0200)]
[FIX] event: registration and confirmation template now have a domain on event.registration.
Otherwise all templates are displayed and this will lead to some issues.

Also added a description on event.registration, because currently its
displayed name is Email Thread.

9 years ago[FIX] account: avoid to propagate context in send by email button
Denis Ledoux [Fri, 1 Aug 2014 08:05:56 +0000 (10:05 +0200)]
[FIX] account: avoid to propagate context in send by email button

There is no reason to propagate the context in those buttons.

Besides, it leads to issues concerning the email template, rendering the wrong res_id because the active_id was wrongly propagated

9 years ago[FIX] mail: message-id not parsed properly in message_route
Anaël Closson [Fri, 20 Jun 2014 11:13:23 +0000 (13:13 +0200)]
[FIX] mail: message-id not parsed properly in message_route

Same as for rev 4bad513, the references were not correctly parsed, added missing regex

9 years ago[FIX] crm: base_partner_merge, search with lowercase for name,email
Denis Ledoux [Thu, 31 Jul 2014 17:38:00 +0000 (19:38 +0200)]
[FIX] crm: base_partner_merge, search with lowercase for name,email

and without spaces for vat

9 years ago[MERGE] forward port of branch 7.0 up to 7c5bf67a5f9378fe4ae01eeffff24889f7bdcdc5
Denis Ledoux [Thu, 31 Jul 2014 16:17:48 +0000 (18:17 +0200)]
[MERGE] forward port of branch 7.0 up to 7c5bf67a5f9378fe4ae01eeffff24889f7bdcdc5

9 years ago[FIX] account: unit arg of on_change_unit_amount can be False
Denis Ledoux [Thu, 31 Jul 2014 16:15:41 +0000 (18:15 +0200)]
[FIX] account: unit arg of on_change_unit_amount can be False

9 years ago[MERGE] forward port of branch 7.0 up to cd31cbf556cc11950ce6188041cf5c2fcd89e0f8
Denis Ledoux [Thu, 31 Jul 2014 16:06:57 +0000 (18:06 +0200)]
[MERGE] forward port of branch 7.0 up to cd31cbf556cc11950ce6188041cf5c2fcd89e0f8

9 years ago[FIX] account: on_change_unit_amount do not reset uom to default
Denis Ledoux [Thu, 31 Jul 2014 16:05:17 +0000 (18:05 +0200)]
[FIX] account: on_change_unit_amount do not reset uom to default

9 years ago[FIX] web: fix tooltip that were stuck visible
Cedric Snauwaert [Mon, 28 Jul 2014 15:07:47 +0000 (17:07 +0200)]
[FIX] web: fix tooltip that were stuck visible

tooltip stuck visible should be removed on click + remove tooltip container except for modal in order to prevent them for staying visible in some rare occasion

9 years ago[FIX] point_of_sale: On product form : push on button 'Set a Custom Ean' on tab infor...
Christophe Matthieu [Thu, 31 Jul 2014 15:21:26 +0000 (17:21 +0200)]
[FIX] point_of_sale: On product form : push on button 'Set a Custom Ean' on tab information raise an exception => Use a record action and clean python files