- Jun 06, 2016
-
-
Denis Ledoux authored
The test `test_balanced_exchanges_gain_loss` failed on Jun 6, because it created a specific rate for today's date at midnight (e.g. on Jun 6, 201x-06-06 00:00:00) for the test purpose, but a rate is created in the demo data for Jun 6 midnight exactly: `base.rateUSDbis`, making the test confused about which rate to use. We solve this by making the test use the rate `base.rateUSDbis`, modifying the rate for its own need, instead of creating a new rate.
-
Denis Ledoux authored
This is similar to revision 54140331 opw-673716
-
- Jun 05, 2016
-
-
Odoo Translation Bot authored
-
- Jun 02, 2016
-
-
Adrien Peiffer (ACSONE) authored
-
Martin Trigaux authored
HTML content should be escaped before being sanitized. Any content (link, image, code,...) that is acceptable in usual mail.message but should not be interprated when posted on a comment of the forum. Fixes #3737
-
Denis Ledoux authored
If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739
-
Christophe Simonis authored
-
Jairo Llopis authored
When subscribing a user to a mailing list, the `mail.mass_mailing.contact` created is processed to identify it's name and email from the address (method `get_name_email` called in `add_to_list` and `name_create`). For a better consistency, the search of existing contacts should also be done using the method `get_name_email`. This avoids that subscribing twice `Example <example@example.com>` fails to detect duplicates and creates two subscriptions. Closes #12265
-
- Jun 01, 2016
-
-
Jeremy Kersten authored
xml template was using color name, because color index was empty. It works in English, but once translated (in french e.g.) we have background-color:noir Fix #12251
-
Odoo Translation Bot authored
-
- May 30, 2016
-
-
Ronald Portier authored
The field generation is most of the time following the pattern `field_<table name>_<field name>` but in case of name clash (e.g. res.partner.category - id and res.partner - category_id), the id of ir.model.field is added at the end of the external id during the field creation. The more flexible way to link to an ir.model.field is to use the syntax `search=[('model', '=', <model>), ('name', '=', <field name>)]` to avoid errors as in #12192 when the "first" external id no longer exists. Fixes #12192 Closes #12198
-
Nicolas Martinelli authored
opw-675480
-
aetna-softwares authored
Closes #12214
-
Olivier Dony authored
By default, when reading a m2m field, entries that are deactivated in the destination table are not included. This behavior is desirable in some cases (e.g. for "tags" or "categories", but not for entries that significantly impact other field values in the parent record, such as taxes. The problem is rather obvious: when displaying a paid invoice that used taxes that are now deactivated, the taxes are hidden while they still affect the computed amount. And after cancelling + resetting to draft, the tax is not taken into account anymore, while still being linked. Forcing the field-level (python) domain to include both active and inactive entries solves the problem: - when reading, displaying and recomputing values, deactivated taxes will be included. - when trying to pick a tax, deactivated entries will still be ignored, as expected. This commit applies the technique to all m2m fields that refer to taxes. Fixes #12066 opw-677751
-
David Arnold authored
Closes #11755
-
Ronald Portier authored
To have consistent email in author and signer key. Also update list of contributors as Stefan is no longer working for Therp BV. Closes #12202
-
- May 29, 2016
-
-
Odoo Translation Bot authored
-
- May 27, 2016
-
-
Jeremy Kersten authored
close #11999
-
Kinner Vachhani authored
'foo %s bar' % 'alice' if False else 'bob' returns 'bob', not 'foo bob bar' The previous strings returns '>=' when the direction is future while it should be 'COALESCE(l.date_maturity,l.date) >= %s' Fixes #10654 Closes #10695
-
Nicolas Martinelli authored
The key 'PAYIDSUB' should be added in the list of SHA-OUT keys., otherwise the signature is wrong. opw-678718
-
Jeremy Kersten authored
Close #11202
-
Joren Van Onder authored
9f0120d7 solved this issue already, but it was only applied to POS orderlines. There is other data on the report (eg. payments, taxes, ...) that should also correctly respect the user time zone as well. opw-678748
-
- May 26, 2016
-
-
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
-
-
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
-