- Oct 11, 2019
-
-
Denny Biasiolli authored
- adding gevent for win32 and python >= 3.7 - improving Pillow selection in different python versions - adding psutil installation for win32 - adding psycopg2 installation for win32 closes odoo/odoo#38428 X-original-commit: 1c399220 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Denny Biasiolli authored
X-original-commit: 377f528f
-
- Oct 10, 2019
-
-
Andrea Grazioso (agr-odoo) authored
closes odoo/odoo#38413 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Andrea Grazioso (agr-odoo) authored
Install l10n_co,contacts. Open contacts. Several crash messages will popup because the override in l10n_co of res_partner is not computing the 'l10n_co_verification_code' field for every record. Changing the implementation to be sure to store some value for every record fix the issue. opw-2082583 closes odoo/odoo#38406 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Oct 11, 2019
-
-
fw-bot authored
Before this rev., if the week_start param (the first day of week) of the user language was changed, it wasn't reflected on datepickers (however, it worked fine in the calendar view). This rev. makes this work by updating the moment locale with the corresponding param. Fixes #36450 Closes #36532 closes odoo/odoo#38398 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 10, 2019
-
-
jbm-odoo authored
Before this commit, when we have a list (editable top) in a form with some mandatory fields and some existing rows. If we click on 'add a line', a new empty line appear on the top, then we click on the last row, the empty row will disappear and we will have a traceback. After this commit, if we repeat this scenario, we click on the last row, we will be able to edit this last row. closes odoo/odoo#38302 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
- Oct 09, 2019
-
-
svs-odoo authored
...Only on mobile device. closes odoo/odoo#38162 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
svs-odoo authored
Before this commit, on mobile, when you make a delivery for a tracked product you can't find already existing production lot for this product. The issue was the `company_id` wasn't passed in the context and we use a domain related on this field. How to reproduce the issue: - Create a product tracked by lot number; - Add some quantities for this product by creating a production lot; - From a delivery order, try to specify the LN which are part of the picking, none are visible (records not found).
-
svs-odoo authored
Same size, smaller, better placed buttons.
-
- Oct 10, 2019
-
-
Pedro M. Baeza authored
**Steps to reproduce** * Define "Purchase Order" sequence for using date ranges checking "Use subsequences per date_range". * Change sequence prefix to "PO/%(year)s/". * Create a purchase order with order date in 2020 (a different year than current one). **Current behavior** Got a purchase order with 2019 (current year) number. **Expected behavior** Got a purchase order with 2020 number. closes odoo/odoo#37762 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Pedro M. Baeza authored
**Steps to reproduce** * Define "Sales Order" sequence for using date ranges checking "Use subsequences per date_range". * Change sequence prefix to "SO/%(year)s/". * Create a sales order with order date in 2020 (a different year than current one). **Current behavior** Got a sales order with 2019 (current year) number. **Expected behavior** Got a sales order with 2020 number.
-
fw-bot authored
This issue is relevant for MX Localization because Cash Basis is created with the rate of the payment, and not with the rate of the invoice as is done for odoo core. closes odoo/odoo#38386 X-original-commit: 10bb81c8 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Antoine Prieels authored
When pos_hr was installed, `load_models` was called twice for res.users and calls to `load_fields` were not processed correctly. closes odoo/odoo#38374 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Antoine Prieels authored
A scrollbar appeared every time a receipt was printed. To fix this, we put a height of 0 to the div that contains the receipt. html2canvas then had trouble computing the height of the background. There's a `height` option that can be given to the library but if the logo on the receipt was not loaded yet, the size we computed was wrong. We then compute the height only once the images have been loaded, in the `onparsed` method. We also remove a CSS class that wasn't used anymore.
-
Nans Lefebvre authored
Install the website, install a second language. Switch the language on the website: error 500. The function opened a new cursor, to update website_visitor. It did so at the end of the query dispatch. However when switching the language of the website, the lang is written on the website visitor. This is done at the flush, done at the end (exit) of the query. This is done on the cursor that was used for all the transaction. Therefore that write would systemically fail on a ERROR: could not serialize access due to concurrent update opw 2080986 closes odoo/odoo#38372 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Oct 11, 2019
-
-
Odoo's Mergebot authored
Variants are generated depending on the configuration of attributes and values on the template, so copying them does not make sense. For convenience the template is copied instead and its first variant is returned. closes #38151 closes odoo/odoo#38303 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
- Oct 10, 2019
-
-
Victor Feyens authored
if partner_ids and template_id are set, a traceback happens. Indeed, some mail fields are not taken from the res_ids when partner_ids is set. When trying to update the values with the one from the template, the existing values are popped, which raised an error as those keys weren't set. closes odoo/odoo#38427 X-original-commit: c8ad6147 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
qsm-odoo authored
In the backend, when a mailing popup was being edited, it was not centered in the edition area (and went under the editor UI) and was not using the correct style. task-2083465 closes odoo/odoo#38421 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Victor Feyens authored
-
Sébastien Theys authored
Variants are generated depending on the configuration of attributes and values on the template, so copying them does not make sense. For convenience the template is copied instead and its first variant is returned. closes #38151
-
fja-odoo authored
Part of https://github.com/odoo/odoo/pull/37135 task-2070507 closes odoo/odoo#38342 X-original-commit: a273a53d Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
fja-odoo authored
Part of https://github.com/odoo/odoo/pull/37135 task-2070507 X-original-commit: b289170f
-
fja-odoo authored
The product count was not returned in the product page thus the search count feature that you can enable in the customize was broken. Now we reset the search in the product page. Part of https://github.com/odoo/odoo/pull/37135 task-2070507 X-original-commit: db5447f8
-
- Oct 09, 2019
-
-
Swapnesh Shah authored
Fixes https://github.com/odoo/odoo/issues/38308 payment_term_id has been replaced by invoice_payment_term_id closes odoo/odoo#38309 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Oct 10, 2019
-
-
Goffin Simon authored
Steps to reproduce: - Export a partner with country set to False, using EXCELL - Try to import it with the xls file Bug: It raised: "No matching record found for name 'False' in field 'Country' at row 2" opw:2080376 closes odoo/odoo#38370 X-original-commit: 01caf1e4 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
fw-bot authored
closes odoo/odoo#38368 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Susana authored
closes odoo/odoo#37846 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Nans Lefebvre authored
It is possible to select "System (English)" as chosen language, or False in v12 or earlier versions. However, if the language has not been activated, then record_lang is an empty recordset, so record_lang.date_format is False, (respectively time_format), and so the formatting crashes. Note that if this happens, the calendar notification mechanism generates a crash at each page load. Instead we use get_lang which defaults to the most appropriate activated language: the one given in argument if it exists, or the company one. co-authored with @mart-e closes odoo/odoo#38357 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Oct 07, 2019
-
-
Swapnesh Shah authored
When recruitment is duplicated, `emp_id` should not be copied for obvious reason. closes odoo/odoo#38136 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
- Oct 08, 2019
-
-
Victor Feyens authored
Since https://github.com/odoo/odoo/pull/34297 , sudo() allows to keep current user information when creating/modifying records. There is no need anymore to use with_user(SUPERUSER_ID) to have sudo rights. This commit ensures the user information is kept when creating pos sessions, instead of having OdooBot as create_user. closes odoo/odoo#38062 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Oct 10, 2019
-
-
fja-odoo authored
If there is no product in the recently viewed product snippet, it will simply not be shown. It appears only if there are products (with some flickering we may decide to improve in future versions). Also fix the behavior when the last product of the snippet is moved to the cart. task-2076271 closes odoo/odoo#37371 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
Joseph Caburnay authored
Reconcile the stock output lines of the pos.order invoice for products with real-time valuation. This is to be more consistent with the sales module. closes odoo/odoo#35901 Task-id: 2048668 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Oct 08, 2019
-
-
Nans Lefebvre authored
Since 5cf9d55b, attachments are always records. Before, they could also be named tuples, so helpers were needed. Since they are now useless, we can remove them to clean up things. closes odoo/odoo#38164 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
Nans Lefebvre authored
In fact, "not filename.endswith('.pdf')" does not "Check if the attachment is a pdf". Some pdf files have filenames with a pdf extension, but .PDF, .Pdf work generally just as well, and it's also possible to live without a file extension. In any case, it doesn't prevent from crashes because of corrupted files, or files that are not pdf files but have the extension. opw 2075933
-
Nans Lefebvre authored
If a field does not exist, writing it creates a warning in the logs. This would for example prevent a valid test to pass. This is needed because extract_state is a field from account_invoice_extract, which is not a dependency of account_facturx.
-
- Sep 24, 2019
-
-
jbm-odoo authored
When there are many events at the same moment in a calendar, events are thin and on mouse hover the event take all the width. Before this commit, when we drag or we resize a event in calendar, the event returns to the state thin. After this commit, the width event stay width during resizing and draging. closes odoo/odoo#37334 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Oct 08, 2019
-
-
Nans Lefebvre authored
This fix is similar to 80200333; both are workarounds for the bug (limitation) introduced by 9d87d15d. In this case, the currency_field is a related field, and these fields are only computed after scalar values are written in database. As a result, this value is not rounded at creation. It is a problem since typically accounting reports are written directly in SQL, and thus reuse the values directly. Anyway even in the ORM the convert_to_cache optimised this away using the assumption that 'the value should have been rounded in convert_to_column'. It follows that in the report, errors can be accumulated to the point where the report is not balanced. This needs to be fixed in database by going through every existing line. Of note: the limitation that was readily acknowledged has not been worked around anywhere, in fact almost every single currency_field is a related one. Also of note, commit afef71d6 should "Always round monetary values in database" while it explicitly checked for the presence of the currency_field in the values and while not introducing a mechanism to make sure it would always be in the values. opw 2066849 closes odoo/odoo#38341 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Oct 10, 2019
-
-
Nicolas Martinelli authored
Allow the edition of Lead Time only when the SO is not confirmed yet since the modification of the scheduled date on an existing picking is not expected. opw-2083070 closes odoo/odoo#38337 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Oct 09, 2019
-
-
Andrea Ulliana authored
* web_editor The purpose is to force our dropdown style in our UI so that themes do not break it anymore (same way all the other elements are forced (cards, headings, etc)). task-2059538 closes odoo/odoo#38297 X-original-commit: 4ef0eac5 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
- Oct 08, 2019
-
-
Romain Derie authored
This controller never really worked in the last 3 versions. It was fixed in 11.3 with e9350993 but broken with refactoring in 12.0 at a higher level with 19eacf7d. It was even worse in 13.0 as it was leading to a traceback: `view_type` field got removed with 3cd7ed07 but this controller was still reading that field. closes odoo/odoo#38173 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-