- May 13, 2016
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
- May 12, 2016
-
-
Alexis de Lattre authored
-
Christophe Simonis authored
-
Christophe Simonis authored
Also use a `set()` to avoid processing assets multiple times when creating moves from lines
-
Goffin Simon authored
Steps to reproduce: -go to runbot 8.0 and connect -go into human ressources/job positions -pass into list view and click on the first item -click on the url to open this record into the website (website_published) -go back (back into the browser) -you're now into the form view again and then next step is to click on the button "next" to access the following record -click on the url of website_published Before the fix: wrong record, this is the previous one that is into the href After the fix: correct record with the correct id into the href Closes #11800 opw:675832
-
Goffin Simon authored
Used case: -Configure admin as multi-company user -Create 2 fiscal positions (one for company "Odoo BE" and one for company "Odoo US") -Set admin on company "Odoo BE" -On supplier (Asustek) configure fiscal position Odoo BE -Set admin on company "Odoo US" -On supplier (Asustek) configure fiscal position Odoo US -Configure a product (Laptop E5023) with: *route "Buy" *supplier (Asustek) without company *reordering rules (min qty: 20, max qty: 40) -Set admin on company "Odoo BE" -Run scheduler via the cron Behavior before the fix: -Fiscal position on the created PO is the fiscal position for "Odoo BE" (and PO is for the company "Odoo US") Behavior after the fix: -Fiscal position on the create PO is the fiscal position for "Odoo US". Closes #11537 opw:673288
-
Christophe Simonis authored
-
Nicolas Seinlet authored
When recomputing stored function fields, the `write` may trigger a cache invalidation which lead to a recompute of all the recordset values, even the ones already saved in database.
-
Nicolas Seinlet authored
- Only invalidate cache for fields and records we modify - Rewrite query to be more efficient - Avoid o2m commands to be more efficient; write directly on reverse m2o
-
Nicolas Seinlet authored
With new api, this call is not wanted anymore. The cache is cleared automatically, no need to clear the whole cache; that's a little bit overkill and reduce performances.
-
Nicolas Martinelli authored
When a PO is copied, the date planned of the order lines should be recomputed based on the order date. opw-675480
-
- May 11, 2016
-
-
Martin Trigaux authored
-
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
-
Goffin Simon authored
When creating an customer invoice with a product linked to a deferred revenue category, the account used in the invoice line must be the account_asset_id. When creating an vendor bill with a product linked to an asset category, the account used in the invoice line must be the account_depreciation_id. Inspired from 0287c1e1 opw:677098
-
Goffin Simon authored
When creating an invoice from a SO or PO with a line containing a product with a deferred revenue type or an asset type, this information is not copied in the related invoice line. Inspired from 564fda4d opw:677098
-
- 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
-
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
-
Christophe Simonis authored
-
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
-
-
Christophe Simonis authored
-
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
-
Nicolas Martinelli authored
An OFX file can contain more than one account. Therefore, we need to loop over all the included accounts, otherwise statements will be missed. opw-673814
-
Christophe Simonis authored
-
- May 01, 2016
-
-
Odoo Translation Bot authored
-