You need to sign in or sign up before continuing.
- Mar 06, 2021
-
-
Christophe Monniez authored
In Debian and Ubuntu distros, the python reportlab package provides multiple binary packages among which python3-reportlab [0] [1] and python3-renderpm [2] [3]. The latter is only recommended, but is mandatory for odoo because it's needed for rendering barcode with the `asString` method. [0] https://packages.debian.org/buster/python3-reportlab [1] https://packages.ubuntu.com/focal/python3-reportlab [2] https://packages.debian.org/buster/python3-renderpm [3] https://packages.ubuntu.com/focal/python3-renderpm closes odoo/odoo#67418 X-original-commit: 73e99264 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Mar 05, 2021
-
-
Samuel Degueldre authored
This was caused by trying to not show dynamic-svgs that had already been downloaded when the option to not allow the media-library was activated (eg in the website logo, we do not want to allow dynamic SVGs) Unfortunately the domain was doing a string comparison to make sure the url wasn't like the one from dynamic SVGs but implicitly required that the url field be not null. This commit fixes that by explicitly allowing images with a null url field. task-2466819 part of odoo/odoo#66732 closes odoo/odoo#67411 X-original-commit: 0784e14d Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Samuel Degueldre authored
Previously, when quality options were not available, the option would simply not be displayed. User feedback suggests that this is confusing, as for example, in the case of modifying the image in a t-field, quality options would not be available when starting the editor, but would become available when picking the image again in the media-dialog. Some leftover code allowed to display a warning about why the quality options were not available in the case where the image is not local to the database. This warning has been adapted to display a more informative message about why quality options are not available, as well as suggest a solution: - External image => download the image and upload it in odoo - t-field => "You need to choose this image again in the media-dialog or reupload it to have access to quality options" - Images that are in an unsupported format (anything other than PNG or JPEG) => short explanation that quality options are only available on PNG and JPEG images. task-2466819 part of odoo/odoo#66732 X-original-commit: 84417a17
-
Younn Olivier authored
Styles for the hex and rgba inputs from the color picker were modified on directly from the web module, which means that for a specification concerning only the frontend colorpicker, the backend colorpicker was also changed. This commit reverts the changes that were made and only applies the new style for the website editor. Related to https://github.com/odoo/odoo/pull/65249 closes odoo/odoo#67396 X-original-commit: 9529e296 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Thibault Delavallée authored
closes odoo/odoo#67394 X-original-commit: b54b6bb2e09d332a154c67d1c693ebecdcf4f242 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
Currently in init of mail.notification we search for a specific index and create it if not found. This is easily replaced by a standard CREATE IF NOT EXISTS allowing to simplify code. LINKS Task ID-2477444 Prepares Task ID-2377974 (trace management cleaning task) Prepares Task ID-2070632 (channel members main task) Prepares Task ID-2419762 (channel members followup task) COM PR #67382 UPG PR odoo/upgrade#2245 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
ryv-odoo authored
RATIONALE A bit of history. Link between a message and its recipients has been added at first mail refactoring towards a Chatter / Discuss feature. It was done in v7 at d64f3c97 with the base addition of mail notification model (lots of commits follow that one but that's the first one about notification). Due to some people thinking that it was unnecessary to keep a model for notification it has been removed in v9 at 88b8cd05. Notification table was renamed from mail_notification to mail_message_res_partner_needaction_rel. It was proven to be a mistake even if those "some people" were warned and model made its way back to Odoo in v10 at 72dfcae2 . Table name mail_message _res_partner_needaction_rel was kept to ease migration and backward compatibility. It is now time to complete the circle and rename it to mail_notification. SPECIFICATIONS Rename ``mail_message_res_partner_needaction_rel`` to ``mail_notification`` . RIP JEM. Never forget. LINKS Task ID-2477444 Prepares Task ID-2377974 (trace management cleaning task) Prepares Task ID-2070632 (channel members main task) Prepares Task ID-2419762 (channel members followup task) COM PR odoo/odoo#67382 UPG PR odoo/upgrade#2245 Co-Authored-By:
Rémy Voet <ryv@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Thibault Delavallée authored
As I was passing by I found some docstrings or helpers could be updated or rephrased a bit more clearly. This is free as in free beers, without beers. Some code about mail features (posting) may also be re-indented to ease understanding of future modifications. Or just because we had to read it and go through many files. Still free beers. LINKS Task ID-2477444 Prepares Task ID-2377974 (trace management cleaning task) Prepares Task ID-2070632 (channel members main task) Prepares Task ID-2419762 (channel members followup task) COM PR odoo/odoo#67382 UPG PR odoo/upgrade#2245
-
Martin Trigaux authored
Source https://github.com/odoo/enterprise/pull/15297#issuecomment-768985663 closes odoo/odoo#67381 X-original-commit: d767e01c Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Benoit Socias authored
Before this commit a cookie policy page was created every time the website settings were saved with the "Cookies Bar" option enabled. After this commit the policy page is created only if it does not already exist for the website. task-2454424 https://github.com/odoo/odoo/pull/67217 closes odoo/odoo#67370 X-original-commit: 2f920e00 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Benoit Socias authored
Before this commit the save snippet button appeared for the cookie bar. But this makes no sense because the cookie bar is implicitly saved. After this commit the save snippet button is not available for the cookie bar. task-2464233 https://github.com/odoo/odoo/pull/67217 X-original-commit: 439a7568
-
Nasreddin (bon) authored
Issue - Install 'website_event_track' module - Go to settings and remove website favicon - Save Traceback is raised. Cause Trying to create image from favicon for app_icon, but favicon not set anymore. Solution If no website.favicon, set website.app_icon to False. opw-2451934 closes odoo/odoo#67367 X-original-commit: dfe1a6af Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Jitendra Prajapati authored
Bug since the combination of [1] and [2]. [1]: https://github.com/odoo/odoo/commit/1c1894d6d976806be6951db54a3b741dfd093ece [2]: https://github.com/odoo/odoo/commit/8b5640b46a33fec5fdac4b19ea354e67211e8e46 task-2464340 closes odoo/odoo#67364 X-original-commit: d7a540c545cfe2500b08f5d6dfb6fe99747cc7de Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Adrien Widart authored
If the company uses multi-step routes, when duplicating a MO, if the user changes the BoM, one stock picking will be missing. To reproduce the error: 1. In Settings, enable "Multi-Step Routes" 2. Go to Inventory > Configuration > Warehouse Management > Warehouses 3. Edit the warehouse "YourCompany" 4. Set Manufacture to "Pick components, [...] products (3 steps)" 5. Create a storable product SP 6. Create two non-empty BoM (BoM01 and BoM02) for SP - (Hint: set a different reference for each BoM) 7. Create a MO - Product: SP - BoM: BoM01 8. Save, Mark as Todo - (As you can see, 2 transfers have been created: one from WH/Stock to WH/Pre-Production, and a second one from from WH/Post-Production to WH/Stock) 9. Duplicate the MO 10. Set BoM to BoM02 11. Save, Mark as Todo Error: Only one transfer has been generated. The transfer from WH/Stock to WH/Pre-Production is missing. (The duplication step is used to compare the result. If the user saves a new MO, and then edits this MO to change the BoM, the same problem will occur). When confirming the MO, the module runs both pull and push rules. When running the pull rule, the modules assigns a stock picking to a stock move. To do so, it checks if one stock picking already exists: https://github.com/odoo/odoo/blob/7d9264c56ac725c8d19aebad55d5668df2a8c814/addons/stock/models/stock_move.py#L863-L873 Since such a stock picking does not exist, the module creates a new one: https://github.com/odoo/odoo/blob/7d9264c56ac725c8d19aebad55d5668df2a8c814/addons/stock/models/stock_move.py#L887-L900 When changing the BoM, an `onchange` method is raised, deletes the stock moves linked to the first BoM and creates some new ones. However, since `group_id` is not a field required by the view `view_stock_move_raw_tree`, this field will not be included in the `onchange` response. As a result, when saving the new MO, the `write` request does not contain the `group_id` field, so the new stock moves do not have this information. Therefore, when running `_search_picking_for_assignation`, the module finds a picking and does not create a new one. OPW-2444235 closes odoo/odoo#67356 X-original-commit: b810e5ff Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Djamel (otd) authored
Steps to follow to reproduce the bug: -Go to sales -Add a vat number with a '-' like: "123456789-5" to any customer -Create a new SO -Search the customer by entering their VAT number Problem : When the VAT number contains the character '-' you cannot find the customer with his VAT number. The problem is the same if the vat number contains a '.' Because, the "_name_search" method before creating the query to search clients by VAT number, removes all the special characters from user input Solution : Do not remove the characters '-' and '.' from the user input for the customer search by vat number. opw-2457692 closes odoo/odoo#67355 X-original-commit: 3f54c1c7 Signed-off-by:
Anh Thao PHAM <kitan191@users.noreply.github.com> Signed-off-by:
Djamel Touati <DjamelTouati@users.noreply.github.com>
-
xO-Tx authored
When a block is removed, the parent will be activated. If the parent element is empty and removable: 1) It will be removed too. 2) In '_activateSnippet' method, we look for the right element to be selected using the block's parent (removed from the DOM...). The goal of this commit is to fix this behaviour by computing the selected element before parent removal. task-2431506 closes odoo/odoo#67354 X-original-commit: 1d483ab5 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Odoo's Mergebot authored
Purpose ======= Some computed stored editable fields are computed in the same method. In that case, when one of the value is provided in a create / write call, the computed method is not called and other fields computed in the same method do not have the right value. Task 2377119 COM odoo/odoo/pull/65772 ENT odoo/enterprise/pull/16221 closes odoo/odoo#67345 Forward-port-of: odoo/odoo#67017 Forward-port-of: odoo/odoo#65772 Related: odoo/enterprise#16894 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
std-odoo authored
Purpose ======= Some computed stored editable fields are computed in the same method. In that case, when one of the value is provided in a create / write call, the computed method is not called and other fields computed in the same method do not have the right value. Task 2377119 COM odoo/odoo/pull/65772 ENT odoo/enterprise/pull/16221 X-original-commit: c9c64fa740fea31964f433a05d37a0f869b8e9d3
-
std-odoo authored
Purpose ======= Some computed stored editable fields are computed in the same method. In that case, when one of the value is provided in a create / write call, the computed method is not called and other fields computed in the same method do not have the right value. Task 2377119 COM odoo/odoo/pull/65772 ENT odoo/enterprise/pull/16221 X-original-commit: c37ff784f2195325d770e41c70e24a0d1d0420c7
-
- Mar 04, 2021
-
-
xO-Tx authored
When we double click a form submit anchor, and depending on the selected element before click, the selection range ("document.getSelection()") can start from a parent of the targeted node. This will send a wrong range to be used in LinkDialog widget. The goal of this commit is to prevent this behaviour by adjusting the range if it starts from anchor parent. Note: the bug only occurred in Firefox. Part of https://github.com/odoo/odoo/pull/62206 task-2381305 closes odoo/odoo#62206 closes odoo/odoo#67171 closes odoo/odoo#67176 X-original-commit: 9a16c313f131ed2e1017566a5f1bed134e22cc10 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
xO-Tx authored
Part of https://github.com/odoo/odoo/pull/62206 task-2381305 X-original-commit: 49943014b0d16e2fed31d4601f76c471252e24c6
-
xO-Tx authored
*: web_editor, website_mass_mailing When we double click a link/button, a link dialog appears to update the target properties, and since the current link dialog can only handle anchor targets, using it on buttons leads to some inconsistencies : - visible href options for button & url required to save changes. - missing preview when button style changed. ... The goal of this commit is to add a fix (with minimum of code) on summernote linkdialog to handle button elements using the same logic as anchor nodes. Also, update website form test tour to test those new changes. Part of https://github.com/odoo/odoo/pull/62206 task-2381305 X-original-commit: 19fbbdc0327482b5d70bdbcf17c2a5a950327d63
-
- Mar 05, 2021
-
-
Pratima Gupta authored
currently, the expiration date of the coupon is checking based on quotation date now in this commit, the expiration date of the coupon will be check based on the current date and if the quotation date is before the starting date of the coupon then it will show this coupon is not yet usable. task-2229956 Closes #49187 Signed-off-by:
Romain Derie <rdeodoo@users.noreply.github.com>
-
Jeremy Kersten authored
task-2466754 closes odoo/odoo#67346 X-original-commit: 19ef4f1b Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Jorge Pinna Puissant authored
create a SO; Add a fiscal position; Add a promotion of fixed amount kind. Before this commit, the taxes of the promotion are the one of the promotion product and not the one of the fiscal position. Now, the taxes will be computed taken into account the fiscal position. opw-2467966 closes odoo/odoo#67318 X-original-commit: 16dab7df Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
- Mar 04, 2021
-
-
Benjamin Vray authored
Before this commit, if we replaced an icon of the showcase snippet with an image, this image was streched depending on title size (if too long and on 2 lines). Its because the align-self default value of a flex item is strech. task-2447087 closes odoo/odoo#67244 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Mar 05, 2021
-
-
Josse Colpaert authored
When we want to send the invoice to the client, a hack was made in account_edi to make sure that we put the XML of the electronic invoice formats as well, in the case of web services such that the client has the XML we sent to the government. For MX however, we also send the payment to the government. However when we wanted to send the confirmation about the different changes, we still needed to add the XML manually before this fix. Now it should be added manually even when manually composing the mail to the customer with the payment receipt confirmation. (but we hope it dies) closes odoo/odoo#67315 X-original-commit: 327852a6399a19191bd78c820971cc4108dc7821 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Benjamin Frantzen (bfr) authored
Before this commit, the button 'Retry' would appear if the blocking_level of an account.move (aggregated value of all the related edi.document) was lower than 'error' even though the button 'Send now' also appears. The button 'retry' should only show if the blocking_level is 'error'. Was fixed in https://github.com/odoo/odoo/pull/65714 Reintroduced in https://github.com/odoo/odoo/pull/65745 closes odoo/odoo#67312 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Benjamin Frantzen (bfr) authored
- don't show Electronic Invoicing field on account.move view if no EDI require web-service Backport of https://github.com/odoo/odoo/pull/64493 (TASK ID: 2439258) - don't show account_edi_format field on account_invoice_send closes odoo/odoo#67282 X-original-commit: 049ccc0257b36bb6c66ffe8a4498857a77498791 Related: odoo/upgrade#2235 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
bfr-o <bfr-o@users.noreply.github.com>
-
- Jan 26, 2021
-
-
xO-Tx authored
CONTEXT: Within a container, delete a block which has a sibling. The actual behaviour is to select the container after deletion. The goal of this commit is to select the previous sibling (if exists), or next one. Otherwise the parent element will be selected (default behaviour). task-2431506 closes odoo/odoo#64875 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Mar 04, 2021
-
-
Jeremy Kersten authored
We only support int, following #c9edca78 opw-2456796 closes odoo/odoo#67286 X-original-commit: a05a3436 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Benjamin Vray authored
Before this commit, the states (collapsed/not collapsed) of the tabs of the accordion snippet were not saved if it was the only changement in edit mode. After this commit, we trigger a content change when the states of the tabs is changed. task-2442237 closes odoo/odoo#67276 X-original-commit: 18af2eca Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
nie authored
Steps: - Install account,payment - Go to Invoicing - Create an invoice - Click Actions > Generate a Payment Link - Follow the generated link - Pay Bug: The transaction is not linked to the sale order in the link table `account_invoice_transaction_rel` Explanation: This fix is broadly mimicking the behavior of the sales module regarding the link of an order to a transaction, adding `invoice_id`s where they are needed throughout the payment process in order to link the transaction to the invoice. opw:2451534 closes odoo/odoo#67296 X-original-commit: 7c6d06fa Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by:
backspac <backspac@users.noreply.github.com>
-
Christophe Monniez authored
Since 9c2ce1f1, more files are included in packaging. The rpm build failed because shebang lines of packaged files must not use `/usr/bin/env` [0] [1] [2]. As it seems that those old files are not of any use anymore, this commit removes them. [0] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shebang_lines [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Multiple_Python_Runtimes [2] https://pagure.io/packaging-committee/issue/738 closes odoo/odoo#67294 X-original-commit: 54b6a7a9 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com> Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Nicolas Seinlet authored
commit at each lead makes the system spend 80% of the time recomputing bayesian probabilities. Avoid to commit too often speed up the process while not altering final result. Task ID-2475352 closes odoo/odoo#67275 X-original-commit: 34f6e38e68208b9509a429cdb09f8316a7ef566f Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Florian Gilbert authored
Field vehicle_id is missing on the account.move.line view of refunds. This fix updates the domain to make visible the field in in_refund. Task ID: #2466914 closes odoo/odoo#67269 X-original-commit: 97fb335e Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
Géry Debongnie authored
A previous commit (8dbd1efe) fixed a part of the basicmodel that used _.each to iterate on an object with field names as keys, which does not work when a field is named "length". To fix it, I simply used a native for ... in statement. However, I missed the fact that there was a second 'return' statement in the body of the closure given to _.each, so the onchange method returned prematurely. The fix is to simply use the continue statement in that case. closes odoo/odoo#67267 X-original-commit: d9834e65 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
Carlos Roca authored
closes odoo/odoo#67262 X-original-commit: 42291b95 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Laurent Smet authored
This reverts commit a59f255ef33c47449d028930e15c5390c62e39ed. github issue: 67098 closes odoo/odoo#67255 X-original-commit: 86e2c6b7 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
wan authored
The test is running in sudo mode, so we need to specify the company in the search. Also do not load the demo data when installing as we would do the work twice for most localization. closes odoo/odoo#67235 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-