- Sep 26, 2023
-
-
Mayurrajsinh Rathod authored
This commit fixes the overflow of content title on without fullscreen view(Exit- Fullscreen) of content page by cropping the title and adding '...' at end. Task-3384661 closes odoo/odoo#128727 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 25, 2023
-
-
Mayurrajsinh Rathod authored
This commit resolves the issue of content title overflow in both fullscreen and non-fullscreen views by cropping the title and adding '...' at the end. Task-3384661 closes odoo/odoo#128713 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- May 04, 2023
-
-
Patrick Hoste authored
Before this commit, it was possible for one to post multiple reviews when all the already posted reviews had the 'Employee Only' state. A traceback was also thrown when trying to update an 'Employee Only' comment. It was also possible to edit a log note. This commit fixes all these issues. Task-2810085 closes odoo/odoo#107956 Signed-off-by:
Stéphane Debauche (std) <std@odoo.com>
-
- Jul 26, 2022
-
-
Benoit Socias authored
The navigation bar inside the Courses main page and the courses list are forced to white with an inline style. When a dark palette is used it makes the text color white as well. Because of this the texts in those navigation bars cannot be read anymore. This commit resets the navigation link colors when the background is forced to white. Steps to reproduce: - Pick a dark palette. - Go to the "Courses" page. => "All courses" and its icon were not visible anymore. task-2855511 closes odoo/odoo#92763 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- May 19, 2022
-
-
Florian Charlier authored
This commit fixes ACLs for slide resources: * Access to resources should be blocked for non-members (except publishers for the course: responsible and managers) * Tests are included Task-2818136 Part of Task-2663320 Part-of: odoo/odoo#88454
-
Florian Charlier authored
This commit fixes the following fronted bugs: * One link to "buy course" that was not updated to use the post_link class * The join course link for "payment" courses after completing the quiz once logged in. * The link to resources that became accessible for non-authorized users for "payment" courses Task-2818136 Part of Task-2663320 Part-of: odoo/odoo#88454
-
- Jan 14, 2022
-
-
Florian Charlier authored
The "Join course" link with additional resources was broken Task-2735494 closes odoo/odoo#82751 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 14, 2021
-
-
Nathan Marotte (nama) authored
Issue: When viewing a pdf in a website_slide, in certain conditions ( odoo detect the slide is externally embedded), a <iframe> code block is displayed on the pdf rendering it really hard to read. As a work around, one could click on the "<\> Embed" button to make it disapear Steps to reproduce : 1) Run a local odoo server with the website_slides module 2) Set up a ngrox tunneling service to your localhost and good port 3) Find or create a **document** slide and get its id (<slide_id>) 4) Access the slide via the website url on the slide 5) Go down the page in the Share tab and copy the iframe -Replace http by https in the src attribute of the iframe if necessary 6) go back to the dashboard, open the inspector and add the iframe in the body of the webpage -> The slide is correctly detected as non embed 7) Access your Odoo database with the ngrox https forward (example : https://0dfc-2a02-a03f-6b9b-b300-bd6c-8048-90f1-3f25.eu.ngrok.io) 8) Repeat step 3 to 6 included -> The slide is detected as embed, so a <iframe> text area appears and make the pdf hard to read Alternative steps to reproduce : 1) Run a local odoo server with the website_slides module 2) Go to the usual http://localhost:8069/ to access your database and navigate to a PDF slide in eLearning 3) Change the localhost in the URL to 127.0.0.1 (Example http://localhost:8069/slides/slide/gardening-the-know-how-1 becomes http://127.0.0.1:8069/slides/slide/gardening-the-know-how-1 ) and press Enter to go to the new URL 4) Change back the 127.0.0.1 to localhost and press Enter to go to the new URL 5) You might have to repeat the back and forth between the two domains -> The slide is detected as embed, so a <iframe> text area appears and make the pdf hard to read Why is that a bug: It makes the PDF unreadable unless we know that we must click on that button, it really shouldn't be like that opw-2499110 closes odoo/odoo#76447 X-original-commit: 0e9975d7 Signed-off-by:
Nathan Marotte <nmarotte@users.noreply.github.com>
-
- Jul 26, 2021
-
-
Julien Banken authored
PURPOSE Currently, the PDF viewer is loaded from an iframe and the PDF controllers contains empty anchor links. When the user clicks on one of these links, the browsers based on Chromium will trigger a "scroll jump" and the iframe will be placed at the top of the browser window. When the PDF document is larger than the viewport, this behavior can be quite annoying: The user will have to scroll the browser window to see the controllers each time they click on a controller (-> link) as (1) the controllers triggers a scroll jump and (2) the controllers are below the document that does not fit entirely on screen. To avoid that, we will add an event listener that returns false on each controller. The controllers will then no longer trigger a scroll jump. SPECS - Add an event listener on the PDF controllers links to prevent a scroll jump. LINKS Task id: 2500574 closes odoo/odoo#73943 X-original-commit: 912acb73 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 17, 2021
-
-
Nicolas Lempereur authored
The frontend enroll message was display as a `<small/>` tag, but it seems that lxml HTMLParser parse it wrongly, for example: html.tostring(html.fromstring('<small data-oe-model="test"><p></p></small>')) returns: '<div><small data-oe-model="test"></small><p></p></div>' So branding attributes like data-oe-model that are on small tag are not found on root node that has become a `div` tag after parsing => this causes a traceback error when saving a change in this part. Fix: use small as wrapper for `<div/>` tag that is treated correctly by HTMLParser (span is also treated correctly but div makes more sense here). opw-2573955 closes odoo/odoo#72304 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Jun 15, 2021
-
-
Djamel (otd) authored
Steps to reproduce the bug: - Go to Elearning > choose any course or create a new one - Click on “add content” : - Add a title to slide - Click on "Go to Website" Problem: An error is triggered because we call the "create" method to save the slide, which tries to access the “channel_id”, the course ID in which the slide will be added. However, the field is not set in values. The "create" or "write" function in "slide_channel" must first be called to save the course, which will then call the create function in "slide_slide" Solution : Hide the "Go to website" button as long as the course is not created and therefore has no id opw-2526541 closes odoo/odoo#72185 X-original-commit: e412ba48 Signed-off-by:
Djamel Touati <DjamelTouati@users.noreply.github.com>
-
- May 19, 2021
-
-
Aurélien Warnon authored
The web editor does not work well with the e-learning fullscreen view. It actually completely closes the fullscreen view and opens the edition on a blank page. To avoid this, we intercept the click on the 'edit' button and redirect to the non-fullscreen view of this slide with the editor enabled, whose layout is more suited to edit in-place anyway. A small testing tour was added to ensure this behavior is kept. Task-2507179 closes odoo/odoo#70606 X-original-commit: dcb6a3ce Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.com>
-
- Dec 03, 2020
-
-
Nicolas Galler authored
- use a default scale when the viewer is shown, to fit the document to the available space - avoid using CSS scaling on the canvas, as this makes the output blurry - add some zoom controls in the viewer - fix CSS class for icon on the full-screen toggle (this toggle was previously not displayed because of it) - move download button left (to avoid overlapping with "Chat with Us" box on odoo.com) opw-2389716 closes odoo/odoo#62637 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Oct 22, 2020
-
-
Benoit Socias authored
Same change in several areas where translations existed: - website editor notification popup - elearning share popup - forum remediation filter popup - event registration attendees popup - portal rating popup - stripe payment error popup And many other locations where there were no translations yet "×" has been replaced by its UTF8 character. Also introduced aria-label where missing. Before this commit the close icon was included in translated resources. For example, in Spanish the "×" had been turned into "&veces;" thus not rendering an icon anymore After this commit the close icon is not a translated text anymore and remains an icon across all languages https://github.com/odoo/odoo/pull/60186 task-2312878 closes odoo/odoo#60186 Related: odoo/enterprise#14209 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Nov 02, 2020
-
-
IEL authored
WHAT: apply 93a7695f for all res.config.settings menus WHY: the same reason as in 93a7695f: When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content it may lead to image dissapearing or "Incorrect padding" error HOW: find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'.*\)\}/\1, 'bin_size': False}/" git checkout -- addons/base_setup/views/res_config_settings_views.xml --- PR for General Settings: https://github.com/odoo/odoo/pull/47297 opw-2346644 closes odoo/odoo#61212 X-original-commit: 7c55efa8 Related: odoo/enterprise#14545 Signed-off-by:
Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
-
- Oct 29, 2020
-
-
Martin Trigaux authored
Courtesy of translators Reexport .pot of modified modules closes odoo/odoo#61002 Related: odoo/enterprise#14485 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Oct 23, 2020
-
-
Aurélien Warnon authored
This commit makes a small adjustment to the course view to hide the responsible label in the course description if none is set. As this field is not required on the slide.channel model, it's not necessary to show a useless label when it's not set. Task 2368573 closes odoo/odoo#60579 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 15, 2020
-
-
Hiral Bhavsar authored
Before this commit: We have a new feature that if the course is private, and attendee make the request to access the course it will create an activity for 'course responsible'. Currently, after accepting the invitation request from the new user, it is still not considered the user as an attendee and not displaying like 'You're enrolled' to the respective users After this commit: The features of access invitation on courses will be workable. Task-2328389 closes odoo/odoo#59504 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
- Oct 14, 2020
-
-
Priyanka Kakadiya authored
Since a refactoring of the handling of the color system and the way the text muted is handled, the text-muted isn't visible on the full-screen mode of a course. That is becuase text-muted is based on the font color set for the body, which in this case is quite similar to the background of left panel in full-screen course content. This commit fixes the issue by using `text-600` class that is suited for this scenario (the background color is fixed here irrespective of the color-palette, and so should be muted text-color) instead of `text-muted` for the left panel of full-screen course content. taskId - 2346013 closes #59390 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 13, 2020
-
-
Nasreddin (bon) authored
Issue - Install "Elearning" module - Activate "Drive" credidentials in settings - Go to any course and edit it. - In "Content" tab, click on "Add Content" - Select `Video` as 'Type' - Copy/Paste the Google Drive video link in "Document URL" field - Wait for other field to be computed then "Save & Close" - Save the course - Go to the website to watch this new content Youtube error message Cause 'mime_type' field is readonly. When saving the course (slide.channel), the slide is not saved yet, and therefore drop the 'mime_type' value. When generating the `embed url`, it verify if a mime_type is set: if not, it will generate an iframe with youtube.com as domain, else, a drive.google.com domain. Solution Add `force_save="1"` on `mime_type` field. opw-2294344 closes odoo/odoo#59913 X-original-commit: 987b9bf4 Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
- Aug 18, 2020
-
-
Mahendra Barad authored
The purpose of this commit is to enable sample data on various graph and pivot views. Task ID: 2319606 closes odoo/odoo#55917 Related: odoo/enterprise#12415 Signed-off-by:
Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
-
- Aug 12, 2020
-
-
Jeremy Kersten authored
Use is_view_active instead of viewref which one is cached. closes odoo/odoo#55816 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Mahendra Barad authored
The purpose of this commit is to add many action helper messages. TaskID: 2311486
-
Mahendra Barad authored
The purpose of this commit is to enable sample data in various graph views. TaskID: 2311486
-
- Aug 10, 2020
-
-
Francois (fge) authored
closes odoo/odoo#55044 Related: odoo/enterprise#12064 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Aug 11, 2020
-
-
Patrick Hoste authored
-
Patrick Hoste authored
PURPOSE Improve elearning backend usability and onboarding SPECIFICATIONS Improve layout of email send when invite. Do like a SO, add the join button in the notification email and not in the composer itself. It required to create a new notification layout specific to that invite wizard. Improve channel form view: remove statistics as they are already displayed in various places, add a stat button for content/visits, better display of karma (split gain from karma-based access rules). Automatically publish channel's product to avoid de-synchronization of publish flags. Remove unused channel_url field on wizard. LINKS Task ID-2241513 PR #55698
-
Patrick Hoste authored
PURPOSE Improve onboarding and user experience and course frontend SPECIFICATIONS Overall improvements and onboarding : * new and improved default images for both course types; * preview / free preview badge update; * copy writing and spacing update; * allow to specifically choose a slide to promote. Display promoted slide is not optional anymore as configured in backend; * display a sample of lessons if no lesson in a course; LINKS Task ID-2241513 PR #55698
-
Patrick Hoste authored
PURPOSE Improve onboarding and user experience of eLearning homepage SPECIFICATIONS Overall improvements and onboarding : * remove "heroes" banner (can be customized); * improve copywriting; * hide achievements if not logged; * hide void sections (do not display "no achievements currently"); * remove button on top "pick a course", can be done with a customization id necessary; LINKS Task ID-2241513 PR #55698
-
Patrick Hoste authored
PURPOSE Change the display of the button to open the composer from btn-primary to btn-link. SPECIFICATIONS In order to ease integration of popup composer rating widget, let us allow to customize classes given to the button triggering it. In slides we want specifically it to be a link, not a button. LINKS Task ID-2241513 PR #55698
-
- Jun 22, 2020
-
-
Jérémy Hennecart authored
This commit sets attribute sample="1" in a bunch of list and kanban views, to enable the new sample data feature when views are empty. Task 2232801 X-original-commit: 5471309b35619f307242c2704c7681ba63d2be42
-
- Jun 15, 2020
-
-
Sébastien Theys authored
This commit is a significant rewriting of client-side discuss, chatter, chat window, and messaging menu using OWL. The behavior should be broadly the same, with some slight functional changes here and there. From a technical standpoint, the code of messaging is mainly organized in 2 main groups of modules: - models, which are logical entities that depict the client-side state of messaging as a whole. - components, which are in charge of displaying information from models. This refactoring also introduces new JS guidelines regarding folder structure (/static) and naming rules for JS modules. Community PR: https://github.com/odoo/odoo/pull/39023 Enterprise PR: https://github.com/odoo/enterprise/pull/6249 Task-1914207 This PR is a collaborative work by Alexandre, Julien, Sébastien and Xavier, with the precious help of Lucas to speed it up towards the end. closes odoo/odoo#39023 Related: odoo/enterprise#6249 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by:
Alexandre Kühn <aku@odoo.com> Co-authored-by:
Julien Giannone <jgi@odoo.com> Co-authored-by:
Lucas Perais <lpe@odoo.com> Co-authored-by:
Sébastien Theys <seb@odoo.com> Co-authored-by:
Xavier Dubuc <xdu@odoo.com>
-
- Jun 08, 2020
-
-
Patrick Hoste authored
PURPOSE Before this commit, a user could not contact a course responsible to ask him to join. With this commit he is be able to do it. SPECIFICATIONS Change the message 'Contact website administrator' to 'Contact Responsible'. Add the name of the course responsible in the course description panel. When clicking on its name it opens a modal to request access to the course. It creates an activity linked to the customer and assigned to the responsible. When hovering the 'You're enrolled' button the fa-check icon changes to a fa-times icon to show that you can unsubscribe when clicking. LINKS Task ID : 2127364 PR : #40708
-
Patrick Hoste authored
SPECIFICATION Changes enroll_msg default value to 'Contact Responsible' instead of testing if it was empty or not. Since the FieldHtml widget sets the default value to '<p><br></p>' it was never empty. LINKS Task ID : 2127364 PR : #40708
-
- May 15, 2020
-
-
Yannick Tivisse authored
Purpose ======= The following task implemented new widgets/features in the listview for better UI. https://www.odoo.com/web#id=2195254&action=327&model=project.task&view_type=form&cids=1&menu_id=4720 The goal of the current task is to use those to upgrade our listviews Specification ============= Below are change requests on various listviews. Remove decoration-bf="message_needaction==True" from every listview in every module. PRODUCT - stock.view_stock_product_template_tree (product template) remove all decorations from <tree> set the following decorations on 'virtual_available' and 'qty_available' decoration-danger="virtual_available<0" decoration-warning="virtual_available==0" also set decoration-bf on 'virtual_available' apply the same modifications on stock.view_stock_product_tree for product variants SUBSCRIPTION - sale_subscription.sale_subscription_view_list remove all decorations from <tree> 'stage_id' field set <field name="stage_id" widget="badge" decoration-info="stage_category == 'draft'" decoration-success="stage_category == 'progress'"/> 'recurring_next_date' field set <field name="recurring_next_date" string="Next Invoice" widget="remaining_days" attrs="{'invisible': [('stage_category', '!=', 'progress')]}"/> set decoration-bf on 'code' and 'recurring_total_incl' move 'percentage_satisfaction' before 'recurring_total_incl' set widget="many2one_avatar_user" on 'user_id' add <field name="activity_ids" widget="list_activity"/> after 'user_id' ELEARNING - website_slides.slide_channel_view_tree set widget="many2one_avatar_user" on 'user_id' 'enroll' field set <field name="enroll" widget="badge" decoration-success="enroll == 'public'" decoration-info="enroll == 'invite'" decoration-warning="enroll == 'payment'"/> POS - point_of_sale.view_pos_order_tree remove all decorations from <tree> 'state' field make visible and move it at the end of the view set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-success="state not in ('draft','cancel')"/> set decoration-bf on 'name' APPRAISAL - hr_appraisal.view_hr_appraisal_tree 'state' field set <field name="state" widget="badge" decoration-info="state in ('new','pending')" decoration-success="state == 'done'"/> 'date_close' field set <field name="date_close" widget="remaining_days" attrs="{'invisible': ['|',('state','=','done'),('state','=','cancel')]}"/> PAYMENT - account.view_account_payment_tree remove all decorations from <tree> 'state' field set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-success="state == 'posted'"/> move 'company_id' before 'amount' CONTRACT - hr_contract.hr_contract_view_tree remove all decorations from <tree> 'state' field set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-warning="state == 'close'" decoration-success="state == 'open'"/> set widget="many2one_avatar_employee" on 'employee_id' PAYSLIPS - hr_payroll.view_hr_payslip_tree remove all decorations from <tree> 'state' field set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-warning="state == 'verify'" decoration-success="state in ('done','paid')"/> set decoration-bf on 'number' and 'net_wage' move 'company_id' before 'basic_wage' set widget="many2one_avatar_employee" on 'employee_id' SURVEY - survey.survey_tree 'state' field set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-success="state == 'open'"/> APPLICATION - hr_recruitment.crm_case_tree_view_job set widget="date' on 'create_date' set widget="priority' on 'priority' set widget="many2one_avatar_user" on 'user_id' TIME OFF - hr_holidays.hr_leave_view_tree remove all decorations from <tree> 'state' field set <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-warning="state in ('confirm','validate1')" decoration-success="state == 'validate'"/> apply the same changes in hr_holidays.hr_leave_allocation_view_tree closes odoo/odoo#51305 Taskid: 2256589 Related: odoo/enterprise#10614 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- May 13, 2020
-
-
Vishnu Thuletiya authored
The purpose of task is to update the 'user/employee avatar' to the new widget in all the kanban view across all modules. The below new widget are introduced for avatar: - many2one_avatar_user (for user_id fields) - many2one_avatar_employee (for employee_id fields) which displays the avatar (i.e. picture) of a user/employee in front of his name and clicking on the avatar will open a chatbox to message that specific user/employee. So in this commit, For each kanban view with a user or employee avatar, replaced it by the field with the new 'many2one_avatar' widget. TaskID: 2244928 Related Enterprise PR: https://github.com/odoo/enterprise/pull/10420 closes odoo/odoo#50789 Closes: #50789 Related: odoo/enterprise#10420 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- May 08, 2020
-
-
Benjamin Frantzen (bfr) authored
- Rename the 'Use Rating on Project' feature into 'Customer Ratings' - Rename the 'Set Email Template to Stages' link to 'Set a Rating Email Template on Stages' - Add an optional list view for the Stages menu - display warning if the rating_template_id field is set and if one of the selected project_ids doesn't have the rating_status field set to true - Project form view revamp - rename the '% on tasks' stat button into 'Customer Satisfaction' - Remove the 'no option' for the rating frequency field because it is required - project form : Add a 'Go to Website' stat button - Project dashboard: remove the 'Customer Ratings' menu item in more - Ratings page: the 'Last 30 days' filter include ratings from today - remove the Appointment / Helpdesk Customer Satisfaction / Live Support menu items TASK ID : 1251
-
- May 05, 2020
-
-
Aaron Bohy authored
This commit adapts several views to make them use newly defined widgets, the new decoration-xxx mechanism on fields, and to adapt them to the new design of buttons. Part of task 2195254
-
- Apr 28, 2020
-
-
Lucas Lefèvre authored
Impacted modules: account_analytic_default, crm, event, hr_recruitment, maintenance, mass_mailing, project, purchase_requisition, stock_picking_batch, website_slides The default image displayed when the record is unassigned is confusing, so we are removing it. FP request Task 2234524 closes odoo/odoo#49333 Related: odoo/enterprise#9834 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Apr 27, 2020
-
-
fja-odoo authored
* = mass_mailing, web_editor, website_crm, website_event, website_form, website_forum, website_hr_recruitment, website_mail_channel, website_mass_mailing, website_sale, website_slides When an outdated snippet's option are activated we display a warning in the left panel that inform the user about the potential malfunctions. To do so the snippet's template key is added to the snippet as data-snippet. If a snippet is "t-call" inside another snippet, it will need to use t-snippet-call instead of t-call to have the key on himself. Those unique keys are used on snippet selection to retrieve the snippet's version in the left panel and compare it with the currently selected snippet's version. Versions are describe with data-vcss, data-vjs and data-vxml. If a snippet's key is not in the left panel we consider that snippet as outdated. Added some tests to ensure that t-snippet and t-snippet-call really have their template key as data-snippet Adapted the views to the data-snippet changes adding data-snippet="tmpl_key". Part of: https://github.com/odoo/odoo/pull/44569 task-2189669 closes odoo/odoo#50254 X-original-commit: 28a6cd49b6e87b75c2e70771e241c41778bf9e87 Related: odoo/enterprise#10236 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-