- May 26, 2016
-
-
Christophe Simonis authored
-
Martin Trigaux authored
Give the same as access rights to the employee as for the public user. This patch is needed to allow a user to access the partner form. Same for portal. The list of grades in not a confidential information. Fixes #7719
-
Ondřej Kuzník authored
This is a fix for f04f4099, which only prevented the workers from being spawned in Prefork mode, while the socket was still being bound to - this is a problem when starting a worker-only server as it cannot coexist with the XMLRPC server on the same machine. Closes #1828
-
65HQqp5QTq8QwA3f authored
Closes #9521
-
rocksolidsolutions authored
Closes #12182
-
Martin Trigaux authored
Could get a definition with a model only
-
Martin Trigaux authored
UserError was defined in version 9, not 8
-
- May 25, 2016
-
-
Jeremy Kersten authored
-
Denis Ledoux authored
When sending a notification email to an event attendee for an all day event, the timezone must be ignored as the `start` and `stop` datetime are stored as the day date + '00:00:00'. If the timezone is applied, for users being in a negative timezone (such as an American timezone), the day displayed would be the day just before. opw-677019
-
Goffin Simon authored
When a user wrote a wrong value in char_domain field it should raise a warning message instead of a traceback. Backport of b3a88b6e opw:676783
-
Martin Trigaux authored
Prevent selecting wrong field or models or computed fields Fixes #8545
-
Joren Van Onder authored
The get_recursive_parent function seemingly depended on the ordering of the rule_categories recordset which happens to work fine in most cases because all data first defines the parent before defining the children rule categories. But if you happen to do it the other way around it won't work and it will infinitely call itself because: if rule_categories[0].parent_id: rule_categories = rule_categories[0].parent_id | rule_categories won't change the value of rule_categories[0]. opw-673222 (loosely related)
-
- May 24, 2016
-
-
Goffin Simon authored
Used case: -Create several customer invoices and validate them -Register a payment without any partner_id and in a bank statement for an amount a bit lower than the total of the invoice (the difference is the paypal fees) -Reconcile the invoices with the payment and create a write-off for the paypal fees -When you close the bank statement, check the journal items, the paypal fees are automatically assigned with a partner. Fix: -When creating the account move line for the fee, if all the account move lines linked to the move are for different partners then you cannot determine the partner of the fee. opw:674822
-
- May 23, 2016
-
-
Christophe Simonis authored
-
Martin Trigaux authored
This reverts commit d780f947. Did not work due to the size=3 on name field that strips the code to the first three letters only (removing the " (copy)" part). Copying a currency has a few business cases as the rates are not copied. As can not increase the size of a field in stable, remove the method that had no effect. Fixes #11036
-
- May 22, 2016
-
-
Odoo Translation Bot authored
-
- May 20, 2016
-
-
Leandro Ezequiel Baldi authored
Closes #12110
-
- May 19, 2016
-
-
Martin Trigaux authored
Closes #9386, opw-677958
-
Goffin Simon authored
Introduced by fac04424
-
Martin Trigaux authored
The widget selection only shows the first 120 results. The selection was most likely set to avoid creating new entries but it can be done with an option tag. This allows to use the search on many2one fields. opw-677908
-
- May 18, 2016
-
-
Goffin Simon authored
Used case: If you add a user which has no acces on a model(ex:purchase.order) as follower on a record of this model. When someone responded by email on this record, and when a message is sent on this record, an exception is raised at the connection of the user added as a follower. Fix: To have the rights to read the message, a read notification for this follower must be added to all parents of this message. Closes #11902 opw:676699
-
- May 17, 2016
-
-
Goffin Simon authored
Like in "view_bank_statement_form" when a line is linked to a journal entry, this line must be in readonly. opw:676344
-
Christophe Simonis authored
-
Jeremy Kersten authored
-
Christophe Simonis authored
-
Sylvain GARANCHER authored
The _auto_init method was overriden without keeping the return value of the super on some models. This break the new stored computed fields computation at field creation. Closes #11985 opw-677232
-
- May 15, 2016
-
-
Odoo Translation Bot authored
-
- 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
-