- Jun 02, 2021
-
-
Victor Feyens authored
closes odoo/odoo#71589 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
- May 31, 2021
-
-
Krupal Oza authored
Purpose of this task is to improve the refuse reason action to sent the email using the automatic template. Currently, when using the refuse action,there is no mail template sent to the applicant. In this commit, we improved Refuse Reasons wizard by adding the send mail inside the wizard with email template so user can select the send mail option and rpvide the template or default template while refusing th application. - On selection of the refuse reason: - If in the settings, the refusal reason have an email template, the send mail checkbox is true, and template is displayed (can be changed) - If the refusal don't have email template, send mail checkbox is unchecked by default. closes odoo/odoo#57722 Taskid: 2313402 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com> Co-authored-by:
Mahendra Barad <mba@odoo.com>
-
- Jun 07, 2021
-
-
Odoo's Mergebot authored
PURPOSE Replace text fields by html ones now that our own html editor has been merged. Indeed it gives more options to users in the way they format their content without weighting too much on the UI as tools appear on demand and not by default. SPECIFICATIONS Convert a lot of text fields to Html fields as we have our own OdooEditor. In some modules code adaptation will be necessary to handle html / plaintext conversion when required. See individual commits per main application scope for more details. LINKS Task ID-2499504 closes odoo/odoo#71776 Forward-port-of: odoo/odoo#70663 Related: odoo/enterprise#18778 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
dht-odoo authored
This is a temporary fix, it needs to be fix properly in future. It was working properly with HTML reports but when it is render with wkhtmltopdf it does not apply padding on left. Due to which issue is occuring. Task id: 2499504 X-original-commit: 2958c8d08f4bdab94ba55fc944db6d314fb3fa43
-
dht-odoo authored
X-original-commit: 895f262e03d0aaa6d00f2ba937561be0d8b8fd28
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) fleet.vehicle -> description 2) fleet.vehicle.log.contract -> notes 3) hr.job -> description 4) hr.contract -> note 5) hr.leave.allocation -> notes 6) hr.applicant -> description 7) lunch.product -> description 8) lunch.order -> product_description 9) lunch.product.report -> description Task Id: 2499504 X-original-commit: afe52b050a7667f3f20696cd48cd922f635a941c
-
dht-odoo authored
In website forms, for both html/text type of fields, we provide simple textarea to users for entering the data. And, we store the data as it is for both of them. But with this change, we're trying to convert plain text (entered by user in the online form for html type of fields) into to html, so for example it can replace \n with <br> and properly formatted data can be saved. Task id: 2499504 X-original-commit: b8d5b61333b0e8570ea2eb0535e37a0025514812
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) crm.lead -> description 2) event.event -> note Task Id: 2499504 X-original-commit: 524e2f089a611d897b98d86001bda5d17263db66
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> fields 1) maintenance.request -> description 2) maintenance.equipment -> note 3) maintenance.equipment.category -> note 4) mrp.workcenter -> note 5) mrp.workorder -> operation_notes 6) mrp.routing.workcenter -> note 7) repair.order -> internal_notes 8) repair.order -> quotation_notes Task Id: 2499504 X-original-commit: 0cca26b5358cd9d69a65c6b93cfecb33d7e659c5
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) account.move -> narration 2) account.payment.term -> note 3) account.fiscal.position -> note 4) res.company -> invoice_terms 5) res.config.settings -> invoice_terms Task Id: 2499504 X-original-commit: 0f3c7f153e8bd20f83b7d1df031634996d36935b
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) purchase.order -> notes 2) purchase.requisition -> description Task Id: 2499504 X-original-commit: 43958eff2b9346420104002d628d5ca9225f8090
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) slide.channel -> description 2) slide.channel -> description_short 3) slide.slide -> description Task Id: 2499504 X-original-commit: 6d914c005183aa5ae69650e3002a5a85ca83b4a6
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Adding a new method convert_online_event_desc_to_text Because online events have fixed format for the description, this method removes some specific html tags, and converts it into readable plaintext (to be used in external calendars). Models -> Fields 1) calendar.event -> description Task Id: 2499504 X-original-commit: 0d5ca6a6fe8821b4ec19dd603bde116518721792
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fieldss 1) stock.location -> comment 2) stock.picking -> note Task Id: 2499504 X-original-commit: 96f5316a219568add44bee528245c2c8e49c3bbc
-
dht-odoo authored
It replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). Models -> Fields 1) sale.order -> note 2) sale.order.template -> note Task Id: 2499504 X-original-commit: 6a345c2695129a5cd907e5e23e057871ebf9ebfa
-
dht-odoo authored
Replace text fields to html fields as we have our own 'OdooEditor'. Indeed, it gives more options to users in the way they format their content without weighting too much on the UI (tools appear on demand and not by default). In this commit we replace report_footer and report_header field of "base.document.layout, res.config.settings" model as they are related fields of res.company models field report_footer, report_header. Task Id: 2499504 X-original-commit: 4c474d0d2055efe81fdc21502aa5957fe80af7ef
-
dht-odoo authored
In this commit we have added new method name isHtmlEmpty in kanban view. As we are convertting text field to html field, we will need to check html field in if conditions. As Html field will contain tags we cannot check it every time perfectly. So, we need this method to make sure html field is empty or not. Task id: 2499504 X-original-commit: 2968dcea7fb58795eeb34949f4bbfc1029938cd1
-
dht-odoo authored
Before this commit there were few cases in which is_html_empty method was not working as our expectation. In cases such as "<p class=""><br/></p>", "<p id=""><br/></p>" and many other cases. In this commit we improves regex of is_html_empty method. Mow from this commit all kind of attributes will be consider in this method. In this commit we also have added is_html_empty in mail template, portal values and in report values also for rendering templates. Task id: 2499504 X-original-commit: fd0a05f2955b9f7e9ae7233afebfd6240c9244dd
-
- Jun 04, 2021
-
-
Aurélien (avd) authored
Since the computation of employees work intervals is done in batch, i.e. 1 call to _work_intervals for each (tz, resource_calendar_id) pairs, removing tz duplicates from mapped results improves the perf of hr_presence_state/hr_icon_display computations. This is especially true for grouped hr.employee kanban view as each column search_read triggers a recompute for these fields. closes odoo/odoo#71772 X-original-commit: be6d4a25 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Arnaud Joset authored
Before this commit, when the start datetime of base_event_id in recurrences was not set, a traceback would occurs when trying to notify the user. closes odoo/odoo#71724 X-original-commit: d5b9403c0023d8df49487293b217c59265189a7a Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by:
Arnaud Joset <arj-odoo@users.noreply.github.com>
-
- Jun 07, 2021
-
-
Julien Banken authored
When the user searches a phone number, the search function will generate a pattern by removing the "+" sign as well as well as the prefix "00" from the input string. Problem: If the input string starts with "+", it means that the phone number will be prefixed by something different than "00". As the function will systematically remove the first occurrence of "00" from the input string, the function can remove part of the input string that does not correspond to a prefix. The search results can hence be incorrect. Example: If the user types "+32485001122", the function will remove the "+" sign and the first occurrence of "00" from the input string. In the provided example, the function will search phone numbers matching with the pattern "324851122" which is incorrect. Solution: The function should remove the first occurrence of "00" iff the phone starts with "00". Task id: 2479277 COM PR: odoo/odoo#69729 closes odoo/odoo#70954 X-original-commit: 53b4a7cf045df8828716e31e6d2a56cf93123bba Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 04, 2021
-
-
Krzysztof Magusiak authored
Make link tracker handle other types than many2one for tracking fields. Currently, when a field of type char is returned, an error occurs. odoo/addons/utm/models/utm_mixin.py already handles other types than many2one for tracking_fields(). This aligns to that behaviour in the link tracker. opw-2494686 closes odoo/odoo#71780 X-original-commit: a2068f96 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 01, 2021
-
-
nounoubensebia authored
Move the lead mining section to the top right as we now have a lot more empty space after the removal of the outlook plugin settings Task-2531032 closes odoo/odoo#71544 X-original-commit: 1cb0c743c4c15d6817773d66a7ac27321b8bbada Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 04, 2021
-
-
Carlos Valverde authored
Rating mail template, from the 'project' module, has been improved, by adding more margin to the top of the icons, which increase its visibility. -- task-2531541 closes odoo/odoo#71094 Closes: #71094 Signed-off-by:
LTU-Odoo <IT-Ideas@users.noreply.github.com>
-
Carlos Valverde authored
Previous rating icons had readability issues, especially when used in small containers. For this reason, this commit includes the following improvements: - New rating icons have been designed and included in PNG and SVG, in order to increase readability. - 'Thank you for rating our services!' template, in the 'rating' module, has been revamped, by removing the old '.card' template and by improving the shadow effect cast on focus plus a better user interaction. -- task-2531541 Closes: #71094
-
Csaba Tóth authored
rounding_line_vals is invoked directly with a .create(), so the "currency_id" key's value should be an integer. See line 810. This is hard to catch, i use Sentry on my servers and i found this bug. I cannot provide steps to reproduce, as i just see this bug report in Sentry. closes odoo/odoo#71771 X-original-commit: 38de8fc5 Signed-off-by:
William André (wan) <wan@odoo.com>
-
wan authored
This is computed automatically since 04522f01 closes odoo/odoo#71777 X-original-commit: f6a2c5f1ebfefc16a91d7a6103704fbace955620 Signed-off-by:
Josse Colpaert <jco@openerp.com> Signed-off-by:
William André (wan) <wan@odoo.com>
-
Géry Debongnie authored
This commit updates owl to the latest release. It contains an improvement: the support for the t-tag directive, which allow us to have dynamic tagname in templates Release on github: https://github.com/odoo/owl/releases/tag/v1.3.0 closes odoo/odoo#71775 X-original-commit: a1c173ef Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Pierre Masereel authored
When you are opening a POS session, a number corresponding to count of connection to this session is incremented, to be sure to have a unique identifier on receipts. In recent browsers, when you are reopening a recent tab (Ctrl+Shift+t) the browser will load the response of last request and won't perform the request. So the count of login won't be incremented, and this will result of duplication of receipt number. To avoid this behavior, we are explicitly say to the browser (through the response header) that we don't want to cache the request result. closes odoo/odoo#71770 X-original-commit: 21c92bf4 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Yannick Tivisse authored
closes odoo/odoo#70612 Related: odoo/upgrade#2493 Related: odoo/enterprise#18250 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
William Braeckman authored
Task ID: 2487706
-
William Braeckman authored
Adds two new columns to the vehicle model tree view. Changes the name of the vehicle model action. Modifies the order by which vehicle manufacturers are ordered. Adds filter and modify goupby on vehicle, vehicle model/brand. Task ID: 2487706
-
William Braeckman authored
Adds categories to vehicle models Task ID: 2487706
-
nie authored
Steps: - Go to Point of Sale - Open a new session - Add an item to the cart - Click [+/-], [1] to get a negative price - Reload the page - Click Payment - Click Cash - Validate - Close the UI and go back to the backend - Click the three dots on the POS - Click View / Orders - Open the last order Bug: The order is still in "New" state and two payments of the same amount have been registered. This results in the order not being fully paid. Explanation: `get_change()` returns the amount to be given back to the customer. It's usually set back to 0 when the payment lines are created (e.g. when clicking "Cash"). `amount_return` is then sent to the backend with the order. However, when reloading the page before clicking "Cash", no payment lines are made and `amount_return` has been saved in LocalStorage with the result of `get_change()`. `amount_return`, which is usually undefined is now set back to its old value when reloading from the saved JSON. Because `amount_return` is not undefined in this case, it doesn't change the result sent in the JSON when clicking "Cash"; it's not updated with 0 from `get_change()`. This results in two payments being recorded in the order after validating and sending it to the backend. This commit always uses the result of `get_change()` when sending the order to the backend. opw:2446563 closes odoo/odoo#71757 X-original-commit: 5d1640d0 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Djamel (otd) authored
Steps to reproduce the bug: - Go to elearning app > Courses > content - Create new slide > Upload a PDF file with faulty content Problem : Pypdf2 throws errors because it does not support some content or syntax. In our case we are just trying to get the number of pages in the PDF, so if we put `strict = false` we just determine that the user should not be informed of all the errors that pypdf2 encounters, the flag `strict` is not a security indicator. FYI: https://pythonhosted.org/PyPDF2/PdfFileReader.html ``` strict (bool) - Determines whether user should be warned of all problems and also causes some correctable problems to be fatal. Defaults to True.``` opw-2530829 closes odoo/odoo#71756 X-original-commit: 3acd0d66 Signed-off-by:
Djamel Touati <DjamelTouati@users.noreply.github.com>
-
Priyanka Kakadiya authored
- added test case for click on author name and on author avatar. task-2391179 closes odoo/odoo#71746 X-original-commit: df2f110df0fb7cbfee55e611cb0ceee4aceefdcf Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Didier (did) authored
This allows to reuse this formatter. Part of task-2365881 closes odoo/odoo#71676 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Mahendra Barad authored
Currently, when go to project > settings > enable 'sub-tasks' create a task >> add a sub-task and archive the sub-task then the archived sub-task is still displayed in the sub-tasks list so in this commit, removed the active_test context from the field to hide the archived sub-task. also include the timesheet of archived task while calculating the subtask_effective_hours and on click of sub task hour open the timesheet of archived tasks. PS: revert of the commit: https://github.com/odoo/odoo/commit/7a2cba3c8934064b311da4312ef2fbd07c6329ec As we would deduct archived tasks from the count and the number of planning hours, and keep them included in the timesheets. closes odoo/odoo#71719 Taskid: 2534898 X-original-commit: e527ed80e25f638390fd8c56296e690b1630ec49 Related: odoo/enterprise#18744 Signed-off-by:
LTU-Odoo <IT-Ideas@users.noreply.github.com> Signed-off-by:
Mahendra Barad <mba-odoo@users.noreply.github.com>
-
Pierre Masereel authored
When the selected payment line is updated but is in state 'paid', it adds a new line with the first payment method. Since we load more payment methods than the ones in the pos config, we should only take the ones that are on the pos config closes odoo/odoo#71736 X-original-commit: 8e7739fd Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Anh Thao Pham (pta) authored
- Create a Product Category: (i.e. Category X) * Costing Method: Average Cost (AVCO) * Inventory Valuation: Automated - Create a Consumable Product with Category X (i.e. Product X) - Create PO with Product X and receive products - On Product X form, update Cost - In debug mode, go to Accounting > Accounting > Journal Items Account move lines have been created for stock valuation on cost change, but it shouldn't for a consumable product. opw-2510315 closes odoo/odoo#71723 X-original-commit: b8e6f771 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com> Signed-off-by:
Anh Thao PHAM <kitan191@users.noreply.github.com>
-