- Mar 14, 2019
-
-
Nicolas Martinelli authored
With the demo data: - Go to Sale > Products > Products, search for 'Customizable Desk' - Click on 'Configure Variants' - For variant 'Legs: Steel', add all attribute values for the 'Conference Chair' - Create a SO, add a line with 'Configure Product' - Select the 'Customizable Desk' with 'Legs: Steel', add Boom boom, traceback at template rendering at `first_possible_combination[variant_id_index] == value_id` This is because the `parent_combination` is not taken into account when evaluating `_is_add_to_cart_possible`. closes odoo/odoo#31496 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Nicolas Martinelli authored
With the demo data: - Go to Sale > Products > Products, search for 'Customizable Desk' - Click on 'Configure Variants' - For variant 'Legs: Steel', remove the attribute values for the 'Conference Chair' - Create a SO, add a line with 'Configure Product' - Select the 'Customizable Desk' with 'Legs: Steel', add The 'Conference Chair' is displayed in the 'Available Options', while it shouldn't. The methods `_get_own_attribute_exclusions` and `_get_parent_attribute_exclusions` compute the exclusions based on the attribute values. Since there is no values in our case, the exclusion is not taken into account. We add a specific case to search for exclusions without values. opw-1945460
-
- Mar 13, 2019
-
-
goran.kliska authored
closes odoo/odoo#31824 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Christophe Monniez authored
Since #26134 the po files are compared with pot content when loading a translation. If a term is found multiple times in a po file, the terms that does not exists in the pot files are ignored. If the pot files does not exists, the unicity constraint leads to an error. Closes #31583 closes odoo/odoo#31823 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Mar 11, 2019
-
-
XavierDo authored
We don't want to notify inactive followers, especially in the case of oddobot that was considered as a inactive partner in _notify_compute_recipients. The computed recipient data for odoobot are (pid:2 active:False pshare:True notif:None) It was considered as a partner and notified by email. This fix simply removes inactive partner from partner to notify. closes odoo/odoo#31734 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
-
- Mar 12, 2019
-
-
Priyanka Kakadiya authored
Before this commit the flow of using wishlist with dynamic attributes was not tested, and it also wasn't tested when combinations were not possible. Those cases are now tested too. closes #29859 PR: #31752 task-1920065 Signed-off-by:
Sébastien Theys <seb-odoo@users.noreply.github.com>
-
Jorge Pinna Puissant authored
In the portal, when the client signature is asked (for a SO for example). Before this commit, the client could send the form without really signing the document. Now, a warning is shown if the form is not signed. opw-1943702 closes odoo/odoo#31768 Signed-off-by:
Sébastien Theys <seb-odoo@users.noreply.github.com> Co-authored-by:
Sébastien Theys <seb@odoo.com>
-
Nans Lefebvre authored
Suppose that a payment transaction cannot be reconciled for any reason. Then _cron_post_process_after_done will try to process it every 10 minutes until the end of time. Moreover, if the user takes some manual action before _cron_post_process_after_done, even if in principle it would have been able to go through, then it is likely to fail, e.g. on invoice_open. Meaning that a transaction that could have been processed will become an undead transaction. To avoid that situation we set an arbitrary retry_limit_date set to 2 days, which seems a reasonnable compromise. It gives some time for the transaction to go through, but not exaggeratedly so. opw 1945953 closes odoo/odoo#31791 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
-
Martin Trigaux authored
This makes the assets to be recomputed everytime somebody with a different language load the page. closes odoo/odoo#31782 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
Sébastien Theys authored
When there is an optional product for which the quantity is set to 0 because there is no stock available, the cart update would raise because it tried to read the order line even though it was deleted above. Now we apply the logic only if the order_line actually exists. Part of task 1950712 closes odoo/odoo#31779 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
Nicolas Martinelli authored
- Set company currency as VND and Enable the Multi-currency with USD - Create Pricelists for VND & USD, set them as 'Selectable' - Without being logged, go to eCommerce - Select the USD pricelist - Open a product page The price has zero decimals, while it should have 2. When the product page is opened, a RPC call is performed on `get_combination_info_website`: https://github.com/odoo/odoo/blob/7612f2c55cd4795b109a3b3dc3099f280ce99a7f/addons/sale/static/src/js/product_configurator_mixin.js#L71 When the response is received, the price is updated in: https://github.com/odoo/odoo/blob/7612f2c55cd4795b109a3b3dc3099f280ce99a7f/addons/sale/static/src/js/product_configurator_mixin.js#L472 However, `_priceToStr` uses the decimal precision of `product.currency_id.decimal_places`: https://github.com/odoo/odoo/blob/7612f2c55cd4795b109a3b3dc3099f280ce99a7f/addons/sale/static/src/js/product_configurator_mixin.js#L543 This is incorrect: it should be the currency of the website, not the curency of the product. opw-1947140 closes odoo/odoo#31770 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
RomainLibert authored
Closes: #31733 closes odoo/odoo#31773 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
- Mar 11, 2019
-
-
Johan Demaret Rivarola authored
Sequentially previewing and paying two sale orders was causing a redirection issue. Instead of being redirect to the SO preview (/my/orders/<:order_id>), the user was redirected to /payment/process. The issue was due to processed transactions not being removed from the session. opw-1948288 Closes #31741 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
-
- Mar 07, 2019
-
-
Luis González authored
When journals of type bank are created, default accounts are also created, and an account code is automatically generated. However, the number of possible automatic account codes is very limited, because only 100 different codes may be generated, and the error message "Cannot generate an unused account code" is shown. To solve the above, the number of possible account codes is raised up to 10,000 different possibilities. closes odoo/odoo#31681 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Mar 11, 2019
-
-
Jorge Pinna Puissant authored
When register a payment, and choosing a payment acquired. Before this commit, the payment post process had to wait until a cron run (every 10 minutes). Now, The post process is executed instantly after the payment, if the payment is not yet done, the post process will be executed in the next cron run. Co-authored-by:
Toufik Benjaa <tbe@odoo.com> opw-1928834 closes odoo/odoo#31732 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Martin Trigaux authored
vals may be an empty dict This may happen a write is done on a computed field, the call to _write will be empty (still needed to update write_uid/date). Before this commit, all fields were read in the read call. This was unecessary and may produce acess-rights errors or other side effect (e.g. in odoo/enterprise#3778 the technical field ticket_count was read, even if not present in the view or the write call) Only compute old_values on the fields that are modified Fixes odoo/enterprise#3778 opw-1949911 closes odoo/odoo#31737 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
- Mar 10, 2019
-
-
Elmeri Niemelä authored
closes odoo/odoo#31728 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Mar 11, 2019
-
-
ypapouin authored
closes odoo/odoo#31725 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Mar 08, 2019
-
-
Nans Lefebvre authored
If the content is too long, it overflows badly. Since the height is fixed, the flex doesn't work well. opw 1924145 closes odoo/odoo#31717 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Mar 11, 2019
-
-
VysakhMenon authored
closes odoo/odoo#31611 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Alex Tuyls authored
In case company is not set on the model related to the template, we should not try to retrieve it when creating the associated partner. Fine-tuning of a46138cb opw-1947334 closes odoo/odoo#31607 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Feb 27, 2019
-
-
Raphael Collet authored
Install Invoicing (account) and uninstall it. It results to a an error because some views required by `payment.acquirer` are deleted before the acquirers. The problem is due to the way copied views are deleted, since 1388b7f0 they are removed before the module uninstallation. The related commit faced a similar problem where copied views were deleted too late during a module uninstallation. The two problems are revealing that the copied views have to be removed as part of the module uninstallation, more precisely after all records refering to them has been deleted but before the schemas has been cleaned. opw-1943286 closes odoo/odoo#31443 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
- Mar 07, 2019
-
-
Romain Derie authored
Before this commit: The `if` condition doing a `View._views_get` was supposed to be a sort of 'hack' for when the error occured in a child view (as the template raised would be the parent, not the broken child). But since we refactored that part to use etree, it was actually going into that condition for every error even if the error was in the called template. Proof is, we only set `editable` in that if condition, meaning going in the else would actually prevent to show reset template. Indeed the following code would always be true: et = etree.fromstring(view.with_context(inherit_branding=False).read_combined(['arch'])['arch']) node = et.find(exception.path.replace('/templates/t/', './')) as read_combined returns all the view hierarchy DOM Note: We could not fix this by checking exception.path against `arch` as we could have false positive (eg the child view replace the <p> element by another <p> element which is broken, then the path would be found in the parent view even if the error was in the child view). closes odoo/odoo#31515 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Mar 10, 2019
-
-
Odoo Translation Bot authored
-
- Mar 08, 2019
-
-
Christophe Simonis authored
Since 8da3750c, logger does not need to be muted anymore. This reverts commit f5889303. closes odoo/odoo#31720 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Nicolas Lempereur authored
In saas-11.3 "Is a Landed Cost" (landed_cost_ok) was moved from the product accounting tab, to the inventory tab. The inventory tab is only shown for product not of type service, but the field should be shown when product is of type service, consu or product. With this changeset, "Is a Landed Cost" is displayed in the top and "Split Method" is hidden: to specify the split method, this needs to be done from products in Inventory > Configuration > Landed Cost Types, or by the list view of cost lines when creating a landed cost. opw-1949329 closes #31714 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Swapnesh Shah authored
The button was referencing an image that no longer exists since 2015 closes odoo/odoo#29813 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Nicolas Lempereur authored
The filter parent_res_name was already in the original search view so the duplicated one was not needed and caused to have two times the filter in the search view with possible different behavior. opw-1949559 closes #31707 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Damon Liu authored
closes odoo/odoo#31694 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Mar 07, 2019
-
-
Luis González authored
Commit 6af6da5c introduced a duplicated term to the file .pot, which causes the following error when trying to re-load translations: ``` ON CONFLICT DO UPDATE command cannot affect row a second time HINT: Ensure that no rows proposed for insertion within the same command have duplicate constrained values. ``` This commit removes on eof the duplicates, leaving only the valid one. ``` ``` closes odoo/odoo#31683 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Mar 08, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
Since 8da3750c, logger does not need to be muted anymore. This reverts commits c3764265 and 1693a27f.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Jairo Llopis authored
Reverts 2b1d3ff8 introduced in 10.0 via It was relatively useful in Odoo 10.0 because in Python 2 the exception was missing a root cause traceback. But Python 3 includes exception chaining by default, so it comes for free. See [PEP3134](https://legacy.python.org/dev/peps/pep-3134/ ) On top of being redundant in P3, it can also break some testcases by causing an extra ERROR log entry, even when the final exception is expected and caught. So it's simpler to remove it. closes odoo/odoo#31699 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
Romain Derie authored
Authorize.Net is phasing out the MD5 based hash use for transaction response verification in favor of the SHA-512 based hash utilizing a Signature Key. Instead of hashing with md5 the transaction key, it is now required to hash the signature key (binary format) with SHA-512. Support for MD5 will be dropped the 7th March 2019 for sandbox environment and the 28th March 2019 for production environment, initially planned for the 14th. Note that as of February 11, 2019 authorize removed the ability to configure or update MD5 Hash setting in the Merchant Interface. Merchants who had this setting configured have been emailed/contacted. opw-1943030 Usefull links: https://developer.authorize.net/support/hash_upgrade/ https://support.authorize.net/s/article/What-is-a-Signature-Key https://support.authorize.net/s/article/MD5-Hash-End-of-Life-Signature-Key-Replacement https://support.authorize.net/s/article/Do-I-need-to-upgrade-my-transaction-fingerprint-from-HMAC-MD5-to-HMAC-SHA512-and-how closes odoo/odoo#31642 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
- Mar 07, 2019
-
-
cristinamartinrod authored
The text was in a value tag, making it untranslatable Closes odoo/odoo#30774 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Pedro M. Baeza authored
Include cristinamartinrod in CLA of Tecnativa Needed for odoo/odoo#30774
-