- Feb 28, 2019
-
-
RomainLibert authored
Also apply some linting closes odoo/odoo#31499 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
- Mar 06, 2019
-
-
Gorash authored
Issue detected with tests in the branch that replace deferred by native Promise. Need to add isMedia to detect if the target is already a media when focus the editor. closes odoo/odoo#31632 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Martin Geubelle authored
As both `survey_url` and `public_url` are `Char` fields, the correct widget to use is `CopyClipboardChar` (`CopyClipboardText` is for `Text` fields). This was causing a display issue (the style of mentioned widgets is different). Task 1935577 closes odoo/odoo#31624 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
Why reverting ? The fact that the control panel changes width on first edit is confusing to the user. The whole form shifts down. We want to avoid having elements appearing and disappearing. The issue that the user does not know if he has to save is still up to date, and will be addressed in the next saas. We will most likely use what has been done in this task to only display 'There are unsaved changes'. Thank you all for your work here! Original task and revert discussion can be found on task ID 1917637 . This reverts commit 514d6fb9. closes odoo/odoo#31622 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Simon Lejeune authored
Default the responsible to the current user if the mo is created manually. Default the responsible to empty if the mo is created by a procurement rule. task 1938495 closes odoo/odoo#31395 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
- Mar 05, 2019
-
-
Romain Estievenart authored
We added the form view to remove no needed fields. It's now use the same fields used by the editable list. We also added the Kanban view to improve the layout "Optionnal Product" tabs on mobile device. Task: 1945006 closes odoo/odoo#31596 Signed-off-by:
=?utf-8?q?Adrien_Dieudonn=C3=A9_=28adr=29?= <adr@odoo.com>
-
Aaron Bohy authored
Commit 4960453d added the field signature in field_registry.js and in signature.js. closes odoo/odoo#31434 Signed-off-by:
=?utf-8?b?R8OpcnkgRGVib25nbmllIChnZWQp?= <ged@openerp.com>
-
Lucas Lefèvre authored
Steps to reproduce: 1. install `hr_contract_salary` 2. create a contract 3. set or update `hr_responsible_id` on the contract (it creates a `mail.tracking.value`) 4. uninstall `hr_contract_salary` 5. go to the contract form view => traceback `hr_responsible_id` does not exist Before displaying a `mail.tracking.value`, `groups` of the fields are checked to fitler tracking values according to access rights of the user. However if the module that added the field has been uninstalled, the field does not exists anymore. Fix: check if field exists before getting fields groups. If the field does not exists: set groups to `base.group_system` closes odoo/odoo#31398 Signed-off-by:
"Yannick Tivisse (yti)" <yti@odoo.com>
-
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.
-