- Mar 05, 2019
-
-
Lucas Lefèvre authored
super.message_post in _message_log is wrong. Also use `*args` and `**kwargs` in method parameters closes odoo/odoo#31354 Signed-off-by:
"Yannick Tivisse (yti)" <yti@odoo.com>
-
- Mar 04, 2019
-
-
Gorash authored
closes odoo/odoo#31577 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
Gorash authored
For iframes, we need to inject summernote because there are references to "document" in it. When loading the iframe, if it is canceled, there is a risk that the library is erased and that it breaks the field html. We must also slightly modify the library to prevent it from making changes to the library of the main "window".
-
- Mar 01, 2019
-
-
RomainLibert authored
Currently it is not possible to create or write on a mail activity without having the rights to write on mail activity type. This is caused by the some related fields on mail activity are not readonly hence trying to write on mail activity type This issue was previously shadowed by a sudo call both in the create and write methods, those disappeared with the following commit odoo/odoo@b9c8ba83e6b367275eca28255dd7df9b8ac84aa1 As those fields should never have been defined as readonly=False, this commit sets them to readonly=True closes odoo/odoo#31468 Signed-off-by:
"Romain Libert (rli)" <rli@odoo.com>
-
- Mar 04, 2019
-
-
Robot Odoo authored
This merge contains various improvements and fixes related to the new eLearning application. Sub commits will give you more details on this merge content as everything is not completely related. Containing mainly * improve demo data to have more links and quizzes; * redesign the profile page, make it responsive and use bs4 when possible; * fix lesson list in training channels not displaying all slides; * improve lesson list design; Merge linked to task ID 1941250 and PR #31453 about post-merge cleaning and review. Signed-off-by:
"Thibault Delavallee (tde)" <tde@openerp.com>
-
Thibault Delavallée authored
Currently slides are displayed in a reorderable list, using current user access rights. This means external customers see only published and free lessons. However purpose of course page is to display all lessons, and display only available ones as clickable. Other one should be displayed as muted to tease people. Note that a specific lesson page does check for access rights. Here we just display all lessons names. A label for free preview is also added. Fetch of data when displaying a channel is therefore a bit modified as there are less differences between training and documentation channels. User progress is also updated to be easier to use in templates. Commit linked to task ID 1941250 and PR #31453
-
Stefano Rigano authored
Purpose of this commit is to make a new design linting pass on homepage. Containing * various bs4 and responsive improvements; * footer banner improvements; Commit linked to task ID 1941250 and PR #31453
-
sri-odoo authored
Purpose is to perform a cleaning pass on website_profile templates. It cleans the DOM, templates and CSS and proposes various improvements on general design and layouting. This includes notably * lessen custom CSS and use bootstrap 4 classes; * simplify layout when possible; * make is responsive and mobile friendly; No functional changes should occur with this commit. Sub modules are impacted as profile is extended in various other applications: eLearning, forum and certification. Commit linked to task ID 1941250 and PR #31453
-
sri-odoo authored
Purpose is to make it better looking and responsive. Commit linked to task ID 1941250 and PR #31453
-
Thibault Delavallée authored
A specific template to display an icon depending on slide type has been added recently. However presentation icon was missing. This commit fixes that. We also added an option to tune the classes added on the icon. It gives more flexibility when using it. Commit linked to task ID 1941250 and PR #31453
-
Thibault Delavallée authored
Purpose of this commit is to fix and improve some model related bits of code: * add an ondelete cascade on some required fields; * make a public method private because it should be accessed only through controllers; * do not add odoobot as channel member; notably for demo data it can create unnecessary of noise in members and notifications; Commit linked to task ID 1941250 and PR #31453
-
Thibault Delavallée authored
Purpose of this commit is to improve eLearning demo data. Notably links (links to external resources on a given slide) and quizzes (allowing to gain karma) are added. Some slides are added. Demo user interaction with eLearning is also added, such as membership and votes. Finally a channel is specifically kept specific to 1 single slide of type certification as its flow has to bypass some screens when selling pure certifications. Commit linked to task ID 1941250 and PR #31453
-
- Feb 22, 2019
-
-
Pierre Masereel authored
The reconsiliation code was looking for the aquirer_reference instead of the reference to find out the corresponding transaction. Which leads to not finding the corresponding transaction. This behavior comes from the creation of the moule setting its own tests in error in PR: https://github.com/odoo/odoo/pull/24802 closes odoo/odoo#31365
-
- Feb 28, 2019
-
-
Pierre Paridans authored
Installing the 'lunch' module add css rules to the generic list view styling, modifying the styling of all the list views by the simple fact of being installed. The goal of those rules is that in list view a table cell with the o_text_overflow class should still be displayed as a table-cell (and not a block/inline-block). Without the lunch module a list view's cell with the o_text_overflow class is narrower and break the alignment between this column and the headers. This commit moves the necessary rule (display property) to the web module and apply them globally. Remark: module's css rules shouldn't override globally the one from 'web'. Original commit: https://github.com/odoo/odoo/commit/855c6dac25fccaf9312543022001ed0b360d6e13 closes odoo/odoo#31506
-
William Henrotin authored
A workorder has a one2Many to stock.move to represent the production raw moves. Putting 'workorder_id' on the production finished move will set it as raw moves in the workorders closes odoo/odoo#31132
-
William Henrotin authored
A manufacturing order creates its raw move in an onchange when saving the form view. As the MO has no name at this stage, the raw moves reference stay 'New' even when marked as done This commit change the moves reference once the MO is confirmed
-
William Henrotin authored
The pop() method is not implemented for Odoo recordset. This commit replace it by a simple 'for' loop
-
William Henrotin authored
Commit 5ef46664 change the workorder model but some of the old fields was not removed. This clean all the occurence of these unused part of code.
-
RomainLibert authored
closes odoo/odoo#31505
-
Christophe Simonis authored
-
Xavier Morel authored
When calling the initial (create / default_get) onchange, the SSF would send the list of fields in whatever order was provided by the fields map of fields_view_get. The web client uses view ordering, and it turns out some uses / tests have dependencies between onchanges (e.g. _create_payment in test_account_reports) which break on some orderings of the fields. Send the initial onchange using view-ordered fields in the SSF as well. closes odoo/odoo#31494
-
- Feb 27, 2019
-
-
Robot Odoo authored
Main purpose of this merge is to lint and clean front-end templates and widgets in eLearning. Including * lint and clean JS and CSS for fullscreen widgets; * refactor reordering of slides and categories, handle void categories; * refactor category addition and slide archive widgets; * simplify progressbar; * lint slide like and crouse join widget; * improve course main page, restore review tab; * various fixes, improvements and lintings; See sub commits for more details. Thanks to everyone involved in this branch. So much people to tag, I have a bit la flemme. Incoming in a near future: improved main slide page, cleaned fullscreen widget, design-linted profile page, and probably more fixes. Merge related to task ID 1941250 (basically, "fix eLearning post-merge"). closes odoo/odoo#31394
-
Jigar Vaghela authored
when forword port https://github.com/odoo/odoo/commit/93d736e905e0d3b110c36ee93af341021eba42c4#diff-8dfc8ecf49a86f02478f1f0a6188f253 closes odoo/odoo#31449
-
- Feb 26, 2019
-
-
Jérome Maes authored
This commit replaces a widget with standard boostrap code: the progress bar classes. Creating a widget was a little bit over engineered, and since the progress animation is handle in CSS, this replacement does not cause any loss of feature. Commit linked to task ID 1942852 and PR #31394.
-
Jérome Maes authored
The review tab exists on channel homepage, but does not show the reviews of the channel. This commit makes the tab dynamic for homepage content and reviews. Forum tab still redirects user to the forum page. Layouting of course page is also improved to better match the new homepage layouting. Commit linked to task ID 1942852 and PR #31394.
-
Jérome Maes authored
Various fixes : * better label on upload modal; * upload always visible slide. When uploading a slide with the is_preview checkbox checked, it does not work as in the controller we are looking after a string when receiving a python boolean; * switch modal buttons in slide upload modal to have a correct order; * prevent auto scroll up. When clicking on the plus icon in drag'n'droppable list view of a course homepage, if the user has scroll down the page he will be automatically scroll up. This is very annoying and make some of my colleagues grumpy; * hide slide upload if not channel.can_upload. This commit hides the "+" icon next to the channel categories if the user doesn't have the rights to upload slides; Commit linked to task ID 1942852 and PR #31394. Co-Authored-By:
David Beguin <dbe@odoo.com> Co-Authored-By:
Jerome Maes <jem@odoo.com> Co-Authored-By:
Aurélien Warnon <awa@odoo.com>
-
Thibault Delavallée authored
Moves * sidebar of course main template in its own template; * fullscreen templates in their own file; It will ease future modification of this page layout. Commit linked to task ID 1942852 and PR #31394.
-
Aurélien Warnon authored
Purpose ======= This commit introduces an icon template to factorize some xml code. It also correctly overrides this template in website_slides_survey to add the 'certification' case. Commit linked to task ID 1942852 and PR #31394.
-
Thibault Delavallée authored
Just apply some linting and naming convention. Commit linked to task ID 1942852 and PR #31394.
-
Thibault Delavallée authored
Just apply some linting and naming convention. Commit linked to task ID 1942852 and PR #31394.
-
Aurélien Warnon authored
Purpose ======= This commit adds the management and display of uncategorized slides for both the frontend publishing management and the fullscreen course views. We add a "Uncategorized" section on top of all the categories that is hidden for the student if it's empty. Course publishers can drag and drop slides from and to that new "Uncategorized" section to easily reorganize the course. Commit linked to task ID 1942852 and PR #31394.
-
Aurélien Warnon authored
Purpose ======= This commit refactors the way slides and categories are reordered in the frontend course view (training courses). The use of jqueryui's "sortable" widget makes it easier and more user friendly to drag and drop both sections and slides to reorganize your course. Commit linked to task ID 1942852 and PR #31394.
-
Thibault Delavallée authored
Currently fullscreen widget calls a user-specific route as public user if user is not logged. Purpose of this commit is to avoid JS crash. Some code cleaning is also done. This small feature will have to be cleaned more in-depth in a near future. Commit linked to task ID 1942852 and PR #31394.
-
Aurélien Warnon authored
Purpose ======= This commits refactors the way slide.category are added on frontend: * JS now extends a standard Dialog widget; * added "required" name value on the form and handled validation; * controller adds the category at the bottom of the list (sequence+1); Commit linked to task ID 1942852 and PR #31394.
-
Aurélien Warnon authored
Purpose ======= This commits refactors the slide archiving confirmation modal to make it a standard Dialog (remove global selectors, remove most of useless xml, ...). It also adds a new slide archive route to allow channel publishers to archive slides in sudo mode. Indeed ACLs only website_publishers can write on slide model. In some case people without real rights may update slides. Commit linked to task ID 1942852 and PR #31394.
-
David Beguin authored
* improve is_preview field string and help. 'Always visible' was not really clear and self speaking. A help string is added to describe what this field implies; * fix slide.channel invite button for 'invite' enroll mode. While renaming the "visibility" field to "enroll", a check was missed for the slide.channel invite feature. This commit fixes it by properly checking for enroll instead of visibility; Commit linked to task ID 1942852 and PR #31394. Co-Authored-By:
David Beguin <dbe@odoo.com> Co-Authored-By:
Aurélien Warnon <awa@odoo.com>
-
Quentin Mourier authored
Purpose of this commit is to perform some linting and cleaning in lesson widget JS and its related css. Notably for fullscreen widget of eLearning. Containing * better naming of css classes; * deleted sidebar file as it is now included directly in the fullscreen widget; * removed unused css; * apply JS linting; * clean some controllers; Commit linked to task ID 1942852 and PR #31394.
-
Christophe Simonis authored
-
Christophe Simonis authored
See f2969923
-
Christophe Simonis authored
See 6521cf4f
-