- Aug 07, 2014
-
-
Richard Mathot authored
-
Thibault Delavallée authored
[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.
-
Thibault Delavallée authored
[FIX] crm: fixed day_open and day_close computation (conditional store + be sure that date_open and date_closed fields are set)
-
Thibault Delavallée authored
[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.
-
- Aug 06, 2014
-
-
Olivier Dony authored
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.
-
Christophe Simonis authored
+ correct tests
-
Raphael Collet authored
This avoids code duplication between methods, and keeps backward compatibility with existing code overriding _name_search().
-
Raphael Collet authored
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.
-
Christophe Simonis authored
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.
-
Daniel Dico authored
Added a record of im_livechat.channel in website_livechat data
-
Mohammed Shekha authored
Singleton object was required while access model properties, but search returns multiple results and hence caused traceback while accessing record.property
-
Fekete Mihai authored
-
Raphael Collet authored
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.
-
Richard Mathot authored
(partial revert of 44a5268c)
-
Raphael Collet authored
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.
-
Thibault Delavallée authored
[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.
-
- Aug 05, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
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
-
Denis Ledoux authored
opw-611106, when clicking quickly Sales > Opportunities than Sales > Leads.
-
Raphael Collet authored
This makes the patching mechanism more flexible, and enables patching BaseModel, for instance. This should fix #1501.
-
Chirag Dodiya authored
(rebase of #1534)
-
Cecile Tonglet authored
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.
-
Raphael Collet authored
- 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)
-
Cédric Snauwaert authored
Mandatory since we changed the structure of the dom since 8.0.
-
Wolfgang Taferner authored
Makes ordering transitions easier and more deterministic. (Rebase of #1564)
-
Quentin De Paoli authored
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
-
Florian Hatat authored
Changing .po files to avoid to retranslate existing terms. Fixes #1328
-
Jay Patel authored
[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.
-
Raphael Collet authored
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.
-
Jitendra Prajapati authored
[FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components
-
Mahendra Barad authored
-
Martin Trigaux authored
-
- Aug 04, 2014
-
-
Denis Ledoux authored
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
-
Christophe Simonis authored
-
Olivier Dony authored
See #1527
-
Denis Ledoux authored
Some domains have not been altered according to this rename
-
Denis Ledoux authored
-
Martin Trigaux authored
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)
-
Denis Ledoux authored
-
Denis Ledoux authored
-