- May 11, 2016
-
-
Andreas Stauder authored
Closes #4722
-
Goffin Simon authored
When "Filter by Periods" is choosen in the wizard, the right periods must be set in ctx to filter the account moves according to the right periods opw:674593
-
Olivier Dony authored
Backport of 8423a0df Clear the cache/environment in addition to rolling back the cursor, in order to retry the transaction with fresh data, not partially stale data.
-
- May 10, 2016
-
-
Denis Ledoux authored
If a user syncs his calendar with Google, and a second user is created in the database by copying this first user, the Google information of the first user was copied (The Google account to sync, the token to use, the last syncrhonization date, ...), which is obviously wrong. On calendar syncrhonization, which can be done manually or automatically with the according cron, all events of the first user were created a second time, as a second user synchronized the same Google Calendar. opw-674141
-
- May 09, 2016
-
-
Denis Ledoux authored
The default account value set for purchases invoices lines for product of type Service was wrong: It used the stock account, which is wrong as a Service as no stock. Instead, it should left the product expense account, as usual. opw-676110
-
Martin Trigaux authored
Was having content of website_quote
-
Raphael Collet authored
Invalidate the cache of a x2many field when any of the fields appearing in its domain is modified. Use the invalidation triggers mechanism for that purpose.
-
Denis Ledoux authored
When a Google user was invited to one occurrence of a recurring event, but not to the recurring event itself (and the other occurrences, therefore), and the user owner of the recurring event did not sync his calendar in Odoo, the event occurrence could not be synced in Odoo, because it attempted to attach it to the parent/main recurring event, which was not present in Odoo. In such a case, Odoo now syncs the event occurrence as a simple classic event. In addition, if the owner of the event sync his calendar with Odoo afterwards, or if the user is invited later to the main/parent recurring event and then sync again his calendar, it then attach the event occurrence that was previously synced to this main event, to avoid events duplication. opw-676535
-
Nicolas Lempereur authored
When clicking on save several time when editing a view form it can be saved several times which can be an issue for one to many. The normal happenstance when saving should be as follow: -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons But when clicking several time, it could become: -> save (click) -> wait write result -> received write result -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons This commit only reinstate the saving feature once the form is reloaded. closes #11926 opw-671793 note: no need to forward-port
-
- May 08, 2016
-
-
Odoo Translation Bot authored
-
- May 06, 2016
-
-
Nicolas Lempereur authored
closes #11951 fixes #11602 opw-673857
-
- May 05, 2016
-
-
Olivier Dony authored
-
Olivier Dony authored
Backport of 7d732b10 Fixes #979
-
Olivier Dony authored
The user performing reconciliations may not always have the right to update the corresponding partners, for example if a partner is also a system user. Doing it as super-user after verifying that the user is indeed allowed to reconcile journal items works around the problem. Fixes #11931
-
- May 04, 2016
-
-
Adrien Peiffer (ACSONE) authored
Closes #11916
-
Adrien Peiffer (ACSONE) authored
[FIX] account: A negative amount with sale taxes on bank statement line must be considered as a refund. Courtesy of Adrien Peiffer (ACSONE). PR #11877
-
- May 03, 2016
-
-
Goffin Simon authored
When creating a new lot from an incoming picking transfer, the product_id is written in the context. opw:674608
-
- May 02, 2016
-
-
Holger Brunn authored
Without the proper decorator, the method is matched as `cr_ui_context`. This is because the `guess` mechanism expects a name `res_id` instead of `record_id`. For stability reason it is better to add the decorator than modify the signature of the method. Closes #11735
-
Frederik Kramer authored
Changes due to changes in the legal form of the company Closes #11759
-
- May 01, 2016
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- Apr 29, 2016
-
-
Raphael Collet authored
This case corresponds to searches like `[(field, 'ilike', name)]` where `field` is a many2many field. The domain processing performs a `name_search` on the field's comodel, then makes the relation match the returned record ids. Problem: the call to `name_search` uses the default limit (100), and this makes the search return less results than expected. Make the search complete by forcing `limit=None`.
-
Raphael Collet authored
This case corresponds to searches like `[(field, 'ilike', name)]` where `field` is a many2many field. The domain processing performs a `name_search` on the field's comodel, then makes the relation match the returned record ids. Problem: the call to `name_search` uses the default limit (100), and this makes the search return less results than expected. Make the search complete by forcing `limit=None`.
-
- Apr 28, 2016
-
-
Raphael Collet authored
When traversing relational fields as superuser, you end up with a recordset for which only a subset is accessible to the current user. An earlier fix to this issue completely dropped the `related_sudo` feature; change its implementation to keep the feature.
-
- Apr 26, 2016
-
-
Stefan Rijnhart authored
Non-stored new API computed fields are only defined in _fields but not in _columns, and they were never exported within translation files. Closes #9081
-
Christophe Simonis authored
Handle the case of immutable (tuple) domain leafs.
-
Goffin Simon authored
When creating assets from invoice lines, the system must check that assets have not already been created for the related invoice. If assets already exist then these assets have to be removed. Used case: - In the purchase journal, tick "allow canceling entries" - On a supplier invoice line, set an asset category - validate the invoice - cancel the invoice - set to draft - validate the invoice Before the fix: the asset is created twice. After the fix: the asset is created once. opw:674674
-
Nicolas Martinelli authored
The pricelist field is not a mandatory field on the partner. A default value is usually defined for any new partner created. However, if the pricelist is manually removed from the partner, errors (tracebacks) will occur in the eCommerce when no pricelist is found. We cannot make the field mandatory, as it could potentially break the workflow of some users which are not using eCommerce. Therefore, we simply log an error message to help debugging. opw-673453
-
- Apr 25, 2016
-
-
Ludwik Trammer authored
Closes #11815
-
Denis Ledoux authored
On the `res.company` model, the fields `name`, `phone`, `email`, `website`, `vat` are related field on the `partner_id` of the company. When creating a new company, the partner associated to the company is created automatically, it's handled in the overrided `create` method of the model, but it forgots the values `phone`, `email`, `website`, `vat` at the moment the partner is being created. opw-675526
-
- Apr 24, 2016
-
-
Odoo Translation Bot authored
-
- Apr 22, 2016
-
-
Raphael Collet authored
This fixes the case where the lines of a one2many field are modified several times by onchange methods: instead of retrieving the most recent updates, we merge them with former updates. This solution was written as an improvement of a proposal made by Alexis Delattre and Sébastien Beau as #11620.
-
Martin Trigaux authored
When writting a value on a translatable field in a different language than English, the submitted *raw* value was saved in the database. This could cause the following issues: - empty value (provided as `False` by the web client) saved as the string 'false' in the translations table - no encoding or sanitization convertion - ignore size parameter on the translatable field Process the submitted translation through symbol_set method to clean it before storing it blindly in the database. This allows to convert `False` into `''` for empty value and fixes #10862
-
Adrien Peiffer (ACSONE) authored
[FIX] account: Allow to select sale taxes in bank statement reconciliation process. Courtesy of adrienpeiffer. PR #11673
-
Levent Karakas authored
attribute string is translatable on a search filter, not name (which is used as fallback label Closes #10419
-
Levent Karakas authored
Do not match with source Closes #11789
-
- Apr 21, 2016
-
-
Denis Ledoux authored
This revision corrects a regression introduced by 8395f0d2: the possibility to call `ir.qweb.field.datetime`.`value_to_html` with a datetime string directly, instead of calling `ir.qweb.field.datetime`.`record_to_html` (which call `value_to_html` as well). opw-675427
-
Denis Ledoux authored
The dates of an event on the website was always within the user timezone. If not signed in, it was within the public user timezone (which is quite not user-friendly to change) For this purpose, we weed get the context from the record (the context used when using `record.with_context`), and therefore the QWeb field `ir.qweb.field.datetime` is slightly altered, to use the context from the record. opw-675427
-
Goffin Simon authored
From af614946 Allow to compute the depreciation when the asset is in state: draft
-
Denis Ledoux authored
The above string was not translated, when creating a new discussion group, in the group message input placeholder. opw-673712
-