- Jul 18, 2019
-
-
Martin Trigaux authored
The terminology of the boolean_button is translated with _t(opt_terms.string_true) which can work only if the variable content is already present in the translation map. This commit adds js files that do nothing but add the terms in the translation map. This way it will be exported by babel js export and the translation will be loaded by the web client Closes odoo/odoo#34774 closes odoo/odoo#34954 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
- Jul 16, 2019
-
-
Simon Lejeune authored
opw-2027859 closes odoo/odoo#34912 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Simon Lejeune authored
should take into account inventory/production location with companies used in avco/standard at date followup of rev 67ea2646 opw-2027859
-
Simon Lejeune authored
Complete rev 67ea2646 opw-2027859
-
- Jul 18, 2019
-
-
Lucas Perais (lpe) authored
Register a payment on a vendor bill. From the menu Account > Purchase > Payment, clik to see that payment click on the smart button to see the invoices Create a new Bill Before this commit, the default type and journal of the new bill were actually the ones of a customer invoice After this commit, those defaults are the ones of a vendor bill OPW 2038786 closes odoo/odoo#34967 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
Dhawal Limbuwala authored
closes odoo/odoo#20818 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Jul 16, 2019
-
-
Lucas Perais (lpe) authored
Activate option to pay invoice on the portal Activate an acquirer with the mode: handle payments in Odoo Make an invoice for a partner Access that invoice through the route with the access_token You should not be logged in ! Try to pay, with stripe for example Before this commit, there was a cryptic error syaing that the credit card ID was invalid This was because the transaction token was created on the public user While we tried to access it as the invoice's partner After this commit, there is no error as the transaction token is on the invoice's partner OPW 2034691 closes odoo/odoo#34919 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
- Jul 15, 2019
-
-
Nicolas Lempereur authored
If "Recurring Cost Amount" is set on a frequency and the date field "Contract Expiration Date" is not set, the configuration makes no sense since we would have an infinite cost, and infinite fleet.vehicle.cost records and so on which is not possible. With this changeset, the expiration will be required if there is a recurring cost set. opw-2036071 closes #34883 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Julien Castiaux authored
Enable "eCommerce Categories" in the website shop customize menu, select a category, sort by catalog price, filter on an attribute, the category is lost. When you sort the records, the url changes from `shop/category/x` to `shop?category=x`. As the attribute form is a plain get action, the elements from the query string are lost. We include the category in an hidden input so it is used by the get. opw-2032477 closes #34603 closes odoo/odoo#34877 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Martin Trigaux authored
closes odoo/odoo#34868 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Martin Trigaux authored
-
Martin Trigaux authored
-
- Jul 10, 2019
-
-
Goffin Simon authored
Steps to reproduce the bug: - Create an invoice I - Set the invoice date in the past and add payment terms - Validate I - Create refund from I Bug: The invoice date is set as today but the due date was set in the past. opw:2033438 closes odoo/odoo#34748 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
Romain Derie authored
During checkout, the user can create a new billing (only for public user as it will create a 'normal' `res.partner`), a new shipping, edit its billing (that will edit himself) or edit its shipping address. All those cases will go through the exact same methods, public user and logged in user included. This previously led to multiple issues and multiple fixes to correctly set `company_id` and `website_id` on the address (res.partner). See 44372471 that fixed the `website_id` part. See 3a0f05f3 that fixed the multi-company behavior, but needed 2ba71140 to not modify the company of an already created partner, but was still incomplete as after that fix a logged in user would still have the admin (sudo) company instead of the website one as supposed. This commit will fix that bug and add some tests for all mentionned issues. Fixes #28853 Backport from odoo/odoo#34596 closes odoo/odoo#34689 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Romain Derie authored
When a pl promo code is applied, the code is shown in the promo code input. Before this commit, if the user clicked on "Apply" (so with the same code) it would remove the pl as it would go in the `if` condition that is supposed to handle empty code modo to reset pl. Coming from #34633 closes odoo/odoo#34734 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Jorge Pinna Puissant authored
Forward port of a8dfc7fb Before this commit, when a transaction has as status 'authorized', the transactions' confirm page gives an error : 'Oops! There was a problem with your payment.' Now, the page gives the same message as when the transaction has the status 'done' : 'Your payment was successful! It may take some time to be validated on our end.' opw-1984325
-
Martin Trigaux authored
-
Martin Trigaux authored
-
- Jul 09, 2019
-
-
tdi-odoo authored
Prevent singleton error when validating stock.picking with option cancel_backorder in case there are multiple backorders involved by displaying all the backorder's names separated by commas. opw: 20337021 closes odoo/odoo#34709 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Jul 14, 2019
-
-
Odoo Translation Bot authored
-
- Jul 11, 2019
-
-
Lucas Perais (lpe) authored
Have a Tax 24%, included Have account.voucher with a line reading: `Price: 64.93; Tax: 24% Incl` Validate the voucher Before this commit, the account.move.lines created were wrong and unbalanced as the amounts that should have been affected by the tax included haven't been After this commit, the move and its lines are correct and balanced OPW 2031751 closes odoo/odoo#34784 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
- Jul 09, 2019
-
-
Lucas Perais (lpe) authored
Before this commit, values were rounded to the unit, which was part of the former specs of the Intrastat report After this commit, we make the intrastat 2019 comply with the new spec, which is to round value, price and weight to two decimals See the spec here: https://www.nbb.be/doc/dq/f_pdf_ex/nieuwsbriefintrastat_n28_2018_fr.pdf OPW 2031682 closes odoo/odoo#34700 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
Richard Mathot authored
The patch fa492d87 has been backported from Odoo 12.0, that runs on Python 3. The string '\n\n({} {}, {} {})' to be formatted is a byte-string in Python 2, while the return value of _() is always a unicode-string. As format() is (too?) nice, it attempts to convert the unicode-strings into ascii in order to inject them in the format pattern. With some languages that are written in ascii, this works -- by chance. When you use non-ascii languages like Japanese, it fails. We then fix that issue by using unicode-strings in the formatting pattern. #OneCharacterPatch B-) opw-2032016 ----------------------------- For full technical understanding: Python 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> '{}'.format('test') 'test' >>> '{}'.format(u'test') 'test' >>> '{}'.format(u'エ') Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can't encode character u'\u30a8' in position 0: ordinal not in range(128) >>> u'{}'.format(u'エ') u'\u30a8' closes odoo/odoo#34698 Signed-off-by:
Richard Mathot (rim) <rim@openerp.com>
-
Julien Castiaux authored
Insall website and mass_mailing, go to the `/sitemap.xml` url, the `/unsubscribe_from_list` url is listed, it should not. opw-2033251 closes odoo/odoo#34677 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jul 10, 2019
-
-
Francisco Fernández @PlanetaTIC authored
Slightly different version than 48e93a10 (which was for 10.0) closes odoo/odoo#30026 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Martin Trigaux authored
closes odoo/odoo#34717 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jul 09, 2019
-
-
Julien Castiaux authored
Go to the database manager, configure a password either via the interface either via the `admin_passwd` `.odoorc` config file. Click on the backup menu, let the `password` field empty and submit the form. The modal is closed without any warning and no query is sent. The problem is that even if the field is marked as `required`, there is a event listener that catch the `onsubmit` event and close the modal even if it is not valid. opw-2031461 closes odoo/odoo#34669 Signed-off-by:
Julien Castiaux <Julien00859@users.noreply.github.com>
-
- Jul 08, 2019
-
-
Vincent Renaville authored
If a browse record is empty, assigning a value will fail Introduced at c04065ab Closes odoo/odoo#34521 closes odoo/odoo#34654 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Jorge Pinna Puissant authored
Before this commit, when a transaction has as status 'authorized', the transactions' confirm page gives an error : 'Oops! There was a problem with your payment.' Now, the page gives the same message as when the transaction has the status 'done' : 'Your payment was successful! It may take some time to be validated on our end.' opw-1984325 closes odoo/odoo#34652 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Romeo Fragomeli authored
Before this commit, on a device with a "pen" (e.g. Surface Pro, ...), it was not possible to sign a document on some browsers recently updated (e.g. Chrome, Firefox, ...) only Internet Explorer was working. Instead of drawing continuous lines only few dots appeared. For Chrome and Firefox we have to catch events with "addEventListener". For Edge we add touch-action property to convert touch events into click. Steps to reproduce: 1) Go to sales app 2) Then go to quotations (menu Sales) 3) Create a new quotation 4) Click on preview 5) Click on the "Accept" button at the end of the preview 6) Use the "pen" to draw the signature (BUG) We use a custom version of the jSignature lib (c.f. odoo/odoo@eddcb46), so we have to patch the file in the Odoo repo with a mix of some pull request found in the official repo and forks. Link: https://github.com/brinley/jSignature/pull/109 https://github.com/brinley/jSignature/pull/159 https://github.com/willowsystems/jSignature/pull/96 opw-2029684
-
- Jul 05, 2019
-
-
Xavier Morel authored
Backport somewhat improved version of this fix (we don't need to check for the existing extension since we're not doing anything if there is an extension at all) merged into later branches, to avoid forward-port conflicts. closes odoo/odoo#34509 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Jul 04, 2019
-
-
Christophe Simonis authored
-
- Jul 03, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
- mute logger to avoid logging bad queries - enforce fields strings These changes will forbid tests to fail in following versions.
-
Christophe Simonis authored
-
jev-odoo authored
Fix/improve commit d870749d that was removing line feed (\n). In this one, we also remove carriage return (\r) to address all cases. closes odoo/odoo#34536 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Jul 02, 2019
-
-
Xavier Morel authored
The point was to fix files attachments without an extension, potentially appending to existing extensions was not a smart idea. See #34299, 5eb15c01
-
Xavier Morel authored
The point was to fix files attachments without an extension, potentially appending to existing extensions was not a smart idea. See #34299, 5eb15c01
-
Xavier Morel authored
The point was to fix files attachments without an extension, potentially appending to existing extensions was not a smart idea. See #34299, 5eb15c01
-
- Jul 01, 2019
-
-
wan authored
Detected with OPW 1920765 Reproduce : set multi-companies, install accounting. The due amount for all companies is the sum of the due amount for every single company Cause : the context for company_id is not set in account.move.line:_query_get Solution : set it in res.partner:_credit_debit_get in case _query_get is used elsewhere closes odoo/odoo#30463 closes odoo/odoo#34486 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-