- Sep 23, 2019
-
-
Simon Lejeune authored
closes odoo/odoo#37308 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
- Sep 24, 2019
-
-
Arnold Moyaux authored
Usecase to reproduce: - Create a receipt with a quantity of 2 - Receive 1 and create a back order - Receive 2 in the BO It will only require the components for 2 units and not 3. closes odoo/odoo#37305 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Arnold Moyaux authored
-
Arnold Moyaux authored
test_update_quantity is in the middle of product_produce test and due to previous commit test_product_produce_11 is between 6 and 7. Reorder file for a better future.
-
Arnold Moyaux authored
commit ccbd6712 commit f3f9dd8c Introduced both test_product_produce_6.
-
qsm-odoo authored
With the PR this commit is from, websites now always use a google font. Adding a preconnect to the google fonts cdn allows to increase page loading speed. Part of https://github.com/odoo/odoo/pull/37293 task-2069043 closes odoo/odoo#37293 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
qsm-odoo authored
* web, theme_bootswatch Improvement of https://github.com/odoo/odoo/commit/02a321cffb2da60a86b960e75c445e37094567b4 - Clarify the name of the support font (to distinguish it from standard and google fonts and avoid confusion with Noto Sans and Noto Serif). - Make sure the support font is added and can be added for all font definitions in odoo scss files thanks to a scss function. Could be backported in 12.0 if judged necessary. Part of https://github.com/odoo/odoo/pull/37293
-
qsm-odoo authored
Before this commit, the default font for the website was the bootstrap one, which is a series of many fonts which should at least contain one which is present on every user system. The problem is that commit https://github.com/odoo/odoo/commit/ed18095127b20da516fa5ada943b2dd6d5c84652 added the definition of a Roboto font, available in all assets... and Roboto is part of the bootstrap font. This added a new font loading on page load and that loading is not optimized at the moment. This thus broke our work to improve google pagespeed ratings. This commit replaces the bootstrap font with a forced Roboto font whose loading is handled by an optimized loading of the related google font. This also improves the very default font of the website by making it more stable accross different browser (we will always use the loaded Roboto font instead of relying on the user system fonts). Part of https://github.com/odoo/odoo/pull/37293
-
Martin Trigaux authored
Still without demo data closes odoo/odoo#37274 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Martin Trigaux authored
Some models did not specified a _description
-
Martin Trigaux authored
When a model inherit from another, it still must have a _description specified if the _name is different Before this commit, mail.test.cc inherited from mail.thread.cc without specifying a _description but this was not raising any issue
-
Martin Trigaux authored
No need to be able to translate html element
-
- Sep 23, 2019
-
-
oco-odoo authored
So that people encoding their statements manually can directly encode the exchange rate data on their lines. closes odoo/odoo#37262 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
RomainLibert authored
The new export feature forgot to filter out the action buttons that can be displayed in the list view. (see odoo/odoo@5c4544f) This lead to javascript trying to get fields on the model like `action_validate` which obviously doesn't exist. closes odoo/odoo#37261 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Sébastien Theys authored
The format of `many2one_reference` was not introduced when the new field type was created, which leads to errors when the web client is trying to display the value of such fields. Since the value of this field is an ID, it is decided to display it like an integer, which is consistent with previous behavior: the fields that are now `many2one_reference` are still stored as integer and they were already displayed as integer before. closes odoo/odoo#37216 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
Raphael Collet authored
This helps for updating inverse fields without making queries. Due to this change, a `flush` has to be added in the portal attachment test to actually compute the inverse after the change of `res_id`.
-
Raphael Collet authored
Before this commit, the inverse of `datas` would be computed after the `create`, which would lead to unnecessary queries, not only for writing the new values, but also because of the re-computation of fields that depend on these values.
-
Raphael Collet authored
This makes sense because in `create` the "previous" value of a field is obviously non-existent. This avoids having to fetch pre-existing attachments when they are known to be inexistent, which optimizes stored related binary that are computed post-insert.
-
Sébastien Theys authored
Before this commit, flushing a model that uses the `image.mixin` would generate twice as many queries as it should. This is because `_compute_related` is not meant to be overridden. In the override of `Image` we call `super()` then post process the records by reassigning each record's relevant image field with `_image_process`. The `super()` will assign the field of the records once which will in turn trigger a `write` (and thus, will generate queries) then after the `super()` call we reassign them which will re-trigger the same `write` and the same queries. With this commit, instead of overriding `_compute_related` we extract the processing to a method that can be overridden, so that the `write` is called simply once. The result, obviously, is that queries related to the `write` are cut in half. Related PR: #36683 & #36288 Co-authored-by:
Adrian Torres <adt@odoo.com> Co-authored-by:
Sébastien Theys <seb@odoo.com>
-
Raphael Collet authored
This fixes an issue when a Model A with a `many2one_reference` is inherited in Model B with `_inherits`, and another Model C defines a `one2many` having as inverse the inherited `many2one_reference` in Model B. Without this commit, the value of `model_field` is `False` by default for the field in B, which would lead to incorrect queries when building `get_domain_list` for the `one2many`.
-
- Sep 24, 2019
-
-
jbm-odoo authored
closes odoo/odoo#37299 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
jbm-odoo authored
-
Martin Trigaux authored
This commit fixes: - body of a email.template in a small field - translation of website_description of a product does not show the source of the translation - translation of website_description of a product shows the full content for the current language HTML fields are typically fields with longer of content. If the field is an HTML field, it should be displayed in a textarea, like the text fields. Most of HTML fields are split in meaningful chunks of content (using xml_translate or html_translate method). For these fields, the source must be displayed. Also sort the entries on the source to have a consistent order closes odoo/odoo#37215 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 20, 2019
-
-
Joseph Caburnay authored
When real cost invoice policy is active in a delivery carrier, the delivery price is set after validating the delivery. When there is margin, the estimated price is calculated with margin but when the delivery is validated, the price set in the delivery line does not include the margin. This commit fixes this behavior by setting the price of the delivery line with appropriate margin. closes odoo/odoo#37178 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Sep 24, 2019
-
-
Romain Estievenart authored
Before this commit, the web_editor toolbar wasn't horizontally scrollable and part ot the items were not displayed. To fix this, we have to revert back the initial position on some elements. closes odoo/odoo#37076 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
Romain Estievenart authored
Before this commit, the web_editor toolbar wasn't horizontally scrollable and part ot the items were out of the screen area. To fix this, we have to revert back the initial position on some elements.
-
Romain Estievenart authored
Before this commit, web_editor dialog was opened inside an iframe and not on the window.top. So dialogs didn't take all screen area. To fix this, we open dialogs in full screen mode but we also put the web editor in full screen to increase the size of the iframe. Note that the initial state of the web editor (full screen or not) is preserved when you close the modal. We also add some fixes to make the "web_editor media dialog" responsive.
-
David Monjoie authored
Commit e6b1dbca wrongly introduced a no-wrap rule on the toolbar while fixing another bug. This commit fixes that mistake.
-
Christophe Simonis authored
closes odoo/odoo#37372 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Florent Lejoly authored
When converting an opportunity to a quotation, it will give 3 options where the last option is "Do not link to a customer". When clicked it has the same behavior than "Create a new customer". Followup of 1d2bccd0 that added the selection entry but did not implement its behavior. This commit fixes that behavior. Now it opens a quotation without linked customer. Task ID 2065014 closes odoo/odoo#37026 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 23, 2019
-
-
oco-odoo authored
Having this field required in the view forbade the 'send for digitalization' button of account_invoice_extract to work, as it could be empty there (as the invoice was created via .create({})). The constraint defined in the view was checked before executing the code related to the button and caused everything to fail before running anything. closes odoo/odoo#37279 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Sep 24, 2019
-
-
Christophe Simonis authored
closes odoo/odoo#37314 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
- Sep 23, 2019
-
-
Denis Vermylen authored
So the logs contain some indication as to what was exceeding the limits. closes odoo/odoo#37303 X-original-commit: 0a266f44 Signed-off-by:
Denis Vermylen <Icallhimtest@users.noreply.github.com>
-
qsm-odoo authored
As explained here: https://github.com/odoo/odoo/commit/770aec399c4e6e29cfc5854318cbda19a605315d#diff-3d7991d8bc534e0372f0bd9b4f9165a7R424 we have to post-process the generated css to add some vendor prefixes. The flex-wrap property was not post-processed yet. Related to opw-2045424 closes odoo/odoo#37283 X-original-commit: 8c251ec8 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
wan authored
The field second_amount_type was not taken into account when doing automatic reconciliation and 100% of the remaining amount was always used closes odoo/odoo#37282 X-original-commit: 8c2ed884 Signed-off-by:
wan <william-andre@users.noreply.github.com>
-
oco-odoo authored
It made no sense; forward-port mistake. closes odoo/odoo#37071 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Priyanka Kakadiya authored
-TVA à l'encaissement (vente) 10,0% for sale -TVA à l'encaissement (vente) 10,0% TTC for sale -TVA à l'encaissement (achat) 20,0% for purchase -TVA à l'encaissement (achat) 20,0% TTC for purchase -TVA à l'encaissement (achat) 10,0% for purchase. -TVA à l'encaissement (achat) 10,0% TTC for purchase -TVA à l'encaissement (achat) 5,5% for purchase -TVA à l'encaissement (achat) 5,5% TTC for purchase -TVA à l'encaissement (achat) 2,1% for purchase -TVA à l'encaissement (achat) 2,1% TTC for purchase also add accordingly fiscal positions task - 42558 closes odoo/odoo#37266 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Nicolas Lempereur authored
Since 11.0 88b75f15 the wishlist can't contain duplicates: thus if we remove an element from wishlist (by adding it to cart or removing) there is an error next times it is added (since the product is already in wishlist but archived until next garbage collection). opw-2074843 closes #37255 closes odoo/odoo#37287 X-original-commit: 0b085ce0 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Christophe Simonis authored
If groups are deleted (or does not exists yet in case of upgrade), it wasn't possible to update the `account` module. closes odoo/odoo#37286 X-original-commit: 5c5823f2 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Florimond Husquinet (fhu) authored
Go to Configuration > General Settings. Before this commit: if a setting is None, a stack trace appears. After this commit: a warning message is logged in this case, but there is no crash. closes odoo/odoo#37271 Opw: 2075047 X-original-commit: ed64477d Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-