- Mar 12, 2020
-
-
Florent Lejoly authored
PURPOSE When previewing a slide of type 'quiz', users are tempted to answer the questions even if they are not member of the course yet. This commit will allow users to answer the quiz without being a member of the course, and offer a smart redirection to join / buy based on the enroll type of the channel. SPECIFICATIONS We introduce a "CourseJoinWidget" that will handle the display and the behavior of the "join" button based on the user (public or not) and the enroll type (public course or based on a payment). When the user answers questions and he's not a member yet, we store the answers temporarily in the session object. When he comes back on the quiz page after having completed his membership, we fill in the quiz based on his previously entered answers and clean the session. LINKS Task 2045571 PR #41972 Co-authored-by:
Florent Lejolyn <fle@odoo.com> Co-authored-by:
Aurélien Warnon <awa@odoo.com>
-
Aurélien Warnon authored
This commit simply renames a template file to better reflect its purpose and also align with its JS widget file naming. It is a preparation commit for pending changes. Task 2045571 PR #41972
-
- Mar 11, 2020
-
-
Andrea Grazioso (agr-odoo) authored
With l10n_mx installed: - Check in the settings that cash basis option is activated, and enabled on a Purchase Tax (example : IVA(16%) COMPRAS) - Create a vendor bill with this tax, validate it and register payment. - Create a credit note to this invoice, validate and register payment. - Cancel the credit note Error will occur, a record is already deleted. This occur because the canceling action recursively find every related move to delete, but in the process an account.full.reconcile is going to be unlinked twice: a check on reverse the exchange rate entry will trigger the error because the record is already deleted opw-2199093 closes odoo/odoo#47432 X-original-commit: a230690d Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
alt-odoo authored
A user with no Purchase rights and only Inventory User rights should be able to cancel an SO and access requisition_line_ids field. closes odoo/odoo#47441 X-original-commit: 9a6af5ea576d7eb451fb3c4fa88880eb9edf78af Signed-off-by:
Alex Tuyls <alt-odoo@users.noreply.github.com>
-
Lucas Lefèvre authored
Images of the lunch dashboard are not cached by the browser. closes odoo/odoo#47427 X-original-commit: fec2e2a4 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
William Henrotin authored
The hover effect on popover is the following: the popup is opened when passing the mouse cursor on the icon and closed once it leave the icon. The issue is if the popup has a button inside, clicking the button freeze the popup. It cannot be closed unless the entire page is refreshed Task : 2199078 closes odoo/odoo#47408 X-original-commit: 25947264929a602256bd7febafa074ef7dabf7bd Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
jbm-odoo authored
Blue by default taskID: 2196770
-
- Mar 10, 2020
-
-
Xavier Morel authored
The `type` field was renamed `move_type` in d675dbaa but a forward-port re-added a use of the old `type` name, which breaks if an account.move is unlinked while l10n_latam_invoice_document is unlinked (and there are related moves to update). Instead of renaming the field, use the proper utility method for the category (purchase) provided by account.move. closes odoo/odoo#47301 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Mar 11, 2020
-
-
Sébastien Theys authored
Commit [1] does not work as it is supposed to, because there has been a confusion between the "notification request" and the "chat with OdooBot". `_showOdoobotTimeout` is for the chat, and it is unrelated to the notification request. We don't want to initiate multiple chats with OdooBot so that has to be reverted. As for the original goal of the PR about the notification request, it wasn't met either because it is the browser controlling it: - on Firefox there simply isn't a "close" button, and closing it by any other means (escape key) is considered as a denied. - on Chrome, when closing it for the first time, it will appear again automatically after the next page reload, so no additional code is required. However, if it is closed too many times (around 3) it will become automatically denied too, at the browser level. The only thing to do at that point is to better notify the user that it was blocked, without being intrusive, which is the focus of task-2188584. [1] b7254eca opw-2186299 closes odoo/odoo#47395 X-original-commit: 50155e80 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Swapnesh Shah authored
Before this commit, Payment URL was not encoded correctly which can compute Payment refernece Wrongly on website. Eg, Enter Description which contains Special Characters Go to Payment Page using Computed URL. There will be wrong Payment Reference on Payment page. With this commit, We encode Payment reference before generating Payment URL. closes odoo/odoo#47387 X-original-commit: 6ebcc43d Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
jvm-odoo authored
Fine tuning of 1e411e3a6d - It moves the attachment in the message when we mark an activity as done. - It adds a test OPW-2196668 closes odoo/odoo#47349 X-original-commit: 2033066426a6af6eed5f80f1bcde6e650e998f0d Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Nicolas Martinelli authored
- Set 'Product Unit of Measure' to 5 - Set the UoM rounding to 0.001 - Create an excluded tax of 6 % - Create a product costing 7.0 - Open the POS, add the product with a quantity of 0.535 The tax is 0.22 instead of 0.23. The root cause of the issue is the in JS: ``` round_pr(0.535, Math.pow(10,-5)) * 7 = 3.744999999999999 round_pr(0.535, 0.00001) * 7 = 3.745 ``` The numerical error impacts the tax computation later on. As a workaround, we round by the maximum between the UoM rounding and the 'Product Unit of Measure', which is what will be done in the backend anyway. opw-2205092 closes odoo/odoo#47372 X-original-commit: 125cdf96 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Mar 10, 2020
-
-
Romain Estievenart authored
Commit ca4eaf48 introduced the data-mobile attribute, used to specify options to pass when executing an action, only in mobile (like using a fullscreen modal). However, we forgot to add the 'isMobile' check, so the option was passed in desktop as well. This commit fixes the issue and adds some tests. Task ID: 2155601 closes odoo/odoo#47333 X-original-commit: 6cb68a53 Signed-off-by:
res-odoo <res-odoo@users.noreply.github.com>
-
- Mar 11, 2020
-
-
Josse Colpaert authored
If the bank account number is a postal one, search differently to see if the account already exists. As for a postal account, the same number can be used by multiple partners, changed the account to include the name of the partner, but for this we need to alter the way the account is searched/created. closes odoo/odoo#47365 X-original-commit: b95b9d6d Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Josse Colpaert authored
When reconciling and the bank account is not found, the system wlll automatically create one. Here we refactor the method checking/creating this bank account in order to be able to inherit this functionality. In the meantime, we added the company_id for the newly created bank account in order to avoid problems when you are operating on multiple companies at the same time. X-original-commit: a63bd575
-
Krupa Patel authored
task-2196789 closes odoo/odoo#46298 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Romeo Fragomeli authored
This commit moves some step utils in a dedicated file and add new ones. These steps will be very useful for the Main Flow Tour to avoid duplicated code. To do this, we also had to transform it into functions to allow utils to call each other. Existing one are converted for standardization purpose. Note that 'WEBSITE_NEW_PAGE' wasn't considered as an util. This is a very simple step only used twice.
-
Romeo Fragomeli authored
We are not able to precise in which case a step should be executed. We already have 'edition' and now we introduce 'mobile'. undefined: Desktop + Mobile* true: Mobile* only false: Desktop only *: Responsive (<= SM), see isMobile
-
Romeo Fragomeli authored
Before this commit, the tip for a many2X field was consumed with a input event. But on mobile we doesn't have the same behaviour; a kanban modal is opened when we click on the many2X field input instead of writing in it (auto-complete) like on desktop. After this commit, the tip is consumed with a click event for many2X on mobile.
-
Romeo Fragomeli authored
Since commit: odoo/enterprise@e662ef36296afb2787eb694a33b4c6616a5e1326 a 'div' wrapper was added around the notebook header. The tip was not visible due to it's location in the wrapper with 'overflow: hidden'. After this commit, the tip is appended to the ancestor of the wrapper and so it's visible again.
-
Romeo Fragomeli authored
Before this commit, when you tried to run a tour by clicking on "Start Tour" in the debug menu, nothing happened and a warning message appeared in console: "debug_manager.js:53 No handler for start_tour". Now it will work on mobile too (debug mode only). We had to do this to be able to run the main flow tour on mobile. Note that another commit (in enterprise) will automatically consume all tours to avoid to display it for demonstration purposes. Task ID: 2149402
-
fja-odoo authored
Previously the widget was not refreshed everytime it was opened. Now that it is the case and since the color picker rerenders every time we select a color: It is no longer required to select/unselect the colors. It is no longer required to add custom colors to existing colors. Part of: https://github.com/odoo/odoo/pull/45872 task-2212288 closes odoo/odoo#47355 X-original-commit: 481fe703e9400fb64e96291914f76d4dca883e29 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
fja-odoo authored
When a default color matches a theme color it will now select the theme color class instead of a css attribute when clicked. Part of: https://github.com/odoo/odoo/pull/45872 task-2212288 X-original-commit: d7b3538a814f0e53cd3c5816f8296ad5e4c5f41a
-
- Mar 04, 2020
-
-
Nisha patel authored
Purpose of this task is some people would like to make accrual in days but currently accruals work on different periods(week,month,year). So in this commit, we added "days" as "interval unit" for leave allocation with type accrual. closes odoo/odoo#46751 Taskid: 2168023 Closes: #46751 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Hemali Bhimani authored
Currently on a Sales Order Portal view, the field 'date' under the delivery order shows the creation date of deliveries linked to the SO, After this commit it should display the 'effective date' (or'scheduled date' if not yet delivered) of deliveries linked to the SO task:2180525 closes odoo/odoo#46633 Closes: #46633 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Mar 06, 2020
-
-
Joseph Caburnay authored
Previous implementation of patch (web.utils) only allows patching methods. This commit allows patching getters as well. closes odoo/odoo#47047 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
- Mar 10, 2020
-
-
Benjamin Vray authored
Avoid traceback when click on edit and nothing is editable on the page. task-2199214 closes odoo/odoo#47328 X-original-commit: fd92a78b Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Benjamin Vray authored
Allow non-alphabetic unit (like percentage) as data-unit value. task-2194309 closes odoo/odoo#47325 X-original-commit: 1f3dd221134b7b5e5b0eac0ab2ffe447771998b9 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Damien Bouvy authored
Follow-up of d0c852f5 The parser of `many2one_reference` was not introduced when the new field type was created and then later when the formatter was added, which leads to errors when the web client is trying to set the value of such fields. Since the value of this field is an ID, it is parsed as an integer. closes odoo/odoo#47330 X-original-commit: db1e16bc Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
- Mar 05, 2020
-
-
Arnold Moyaux authored
Allow to use custom product decscription on requisition line. closes odoo/odoo#34174 Task: 1970476 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Arnold Moyaux authored
_prepapre_tender_values in only call from purchase_requisition_stock. It's not needed to have 2 functions, everything should be in purchase_requisition_stock.
-
Mitali Patel authored
Allow to propagate custom information to upper document. It could be usefull in many buisness that do custom stuff for people (t-shirt with user defined text, poster with own pictures...) The customes values are pass throught procurements'values and are display on MO or purchase order line. Task: 1970476
-
- Mar 10, 2020
-
-
Josse Colpaert authored
The report layout was refactored before, but we forgot to give the specific German lay-out a name, although the field was added. This gave a traceback when we wanted to select a lay-out or this particular lay-out (name False) in the Settings. closes odoo/odoo#47321 X-original-commit: 162eb091 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
fja-odoo authored
Some option sections are feeling really laggy (especialy the theme ones we now have in master/13.2). This was due to the "preview" activation of the snippet being triggered on mouseover and not on mouseenter. Introduced by: https://github.com/odoo/odoo/pull/36068 task-2198177 closes odoo/odoo#47303 X-original-commit: d85d912de513de5c81c85a8ff814e0af1e13cefd Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
William Henrotin authored
Steps to reproduce: * Create a template with 2 variants * Archive one variant * Unarchive this same variant --> the template is archived This is due to commit 6a13b565cbbad89ff1c4177b171b01f30c83edf9. If the variant is the only one, toggle_active on the variant should be reflected on the template. The issue is that toggle active do not count archived variant. One active variant and one archived variant are counted as 1. This commit make toggle_active count all variants closes odoo/odoo#34769 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Parth Choksi authored
Before this commit when a user archives the product, the barcode field in its template used to get disappeared. Since barcode field in template is a related field to product, the field gets invisible in product template when the user archives the related product. After this commit, even when a product is archived, its barcode will still be visible in template. Here the barcode field is changed from related to computed. task-1978559
-
Lucas Lefèvre authored
If you want to de-activate the multi company ir.rule, those checks will still raise an error. Task 2198433 closes odoo/odoo#47291 X-original-commit: 12a81a3a Signed-off-by:
lul-odoo <LucasLefevre@users.noreply.github.com>
-
jvm-odoo authored
Issue - Install Sale - Create SO - Add a note line with a very looong word - Print PDF No line break, table is expending out of the visible report. Cause There is no line break CSS rule Solution Use word-break: break-word; in order to break line without cutting words. OPW-2195984 closes odoo/odoo#47272 X-original-commit: af8fb786 Signed-off-by:
Jason Van Malder (jvm) <jvm@odoo.com>
-
- Mar 09, 2020
-
-
Cocographique authored
Since 13.2, the cards cannot contain an overflowing element anymore as we needed to enforce 'overflow: hidden' for the border-radius option. Note: this commit adds data-vxml="001" on the snippet. This will allow users which have already added the card version of the snippet in their website to receive a notification that the snippet is deprecated once we will have implemented that system (in progress). task-2208802 closes odoo/odoo#47228 X-original-commit: 220ec38e7538389279eb2dce9c897052d680ea1a Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
fja-odoo authored
No default url on countdown's urlpicker anymore. Only a placeholder. Also redirect to homepage if no url. Part of: https://github.com/odoo/odoo/pull/46640 task-2210358 closes odoo/odoo#47235 X-original-commit: a0d983e94e3681a3f3e55cc445defc1ec862c606 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-