- Aug 05, 2019
-
-
Thibault Delavallée authored
PURPOSE eLearning should have its own application in manager. Indeed this is becoming a big application and having it embedded inside Website application is not enough anymore. It should also hold updated and easy-to-use menus, navigation, actions and views in backend. SPECIFICATIONS Add a kanban view for slide.slide model * See https://drive.google.com/a/odoo.com/file/d/1WKj13-C_UCOwh4dN-FRmU9Pp6BsZ_HvT/view?usp=drivesdk LINKS Task 1978729 PR #35061
-
Thibault Delavallée authored
PURPOSE eLearning should have its own application in manager. Indeed this is becoming a big application and having it embedded inside Website application is not enough anymore. It should also hold updated and easy-to-use menus, navigation, actions and views in backend. SPECIFICATIONS Add in menu Courses, a new entry Reviews * Kanban view, full width, no default group by * Order by date (most recent on top) * See: https://drive.google.com/a/odoo.com/file/d/1IYE1QBIJa26BLugRiafyBop-srkYwndC/view?usp=drivesdk * add a tag for unpublished comments * Add the pic of the user above the stars * Click on card, send to front-end and able to (un)publish the comment * Kind of what's on the front-end: https://drive.google.com/a/odoo.com/file/d/1e9aQSWvUM2QOynRT08XSUzIjFiGnjsv8/view?usp=drivesdk LINKS Task 1978729 PR #35061
-
Jérémy Hennecart authored
PURPOSE eLearning should have its own application in manager. Indeed this is becoming a big application and having it embedded inside Website application is not enough anymore. It should also hold updated and easy-to-use menus, navigation, actions and views in backend. SPECIFICATIONS Update manifest and make website_slides an application separated from website embedded menus. Implement new menu structure * Courses * Courses List view: Course Name, # Views, # Attendees, # Ratings, Revenues, Reviews * Contents * Reporting * Courses: list view on slide.channel model, ordered by # views. * add a graph view (group by content) * Contents: graph view on slide.slide model Area Graph: X month Y measure: # Views (others measures: Attendees, ...) Group by: course (color) * Reviews: see kanban of latest reviews; * Quiz: list view on slide.question model. List view: Add # Quizz Trials, # Quizz Passed, Avg Attempts * Configuration * Settings * Allow Forum on Courses (installs website_slides_forum) * Allow Certifications (installs website_slides_survey) * Allow Selling Courses (installs website_sale_slides) * Course Tags * See channel.tags.group with label Course Tags, form view allow to configure group tags * https://drive.google.com/a/odoo.com/file/d/1G0g2UnG5cZG55EXQ5icbgwe7T2eSZskT/view?usp=drivesdk * On click: open :https://drive.google.com/a/odoo.com/file/d/1I_PW3aZAbrslXadiYqmVF-_6dGXx8knd/view?usp=drivesdk * Content Tags This structure will gain new items in sub-modules, notably bridge with form and website_sale. Those will be implemented in next commits. LINKS Task 1978729 PR #35061 Co-Authored-By:
Thibault Delavallée <tde@odoo.com> Co-Authored-By:
Jérémy Hennecart <jeh@odoo.com>
-
Thibault Delavallée authored
Template expects a category record but controller gives the ID of it. Oversight of 4ccd859b LINKS Task 1978729 PR #35061
-
- Aug 02, 2019
-
-
Kevin Baptiste authored
When adding multiple notes, it was keeping the date of the previous note in memory. This commit ensures the date is reset each time we click on "Add a note" closes odoo/odoo#35374 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Kevin Baptiste authored
Since commit `a3d98dae` the calendar is no longer opening when clicking on the calendar icon in the activities when adding a note.
-
- Jul 30, 2019
-
-
Jitendra Prajapati authored
before this commit, the title of the page is not correct in fullscreen mode after this commit, set the lesson name as the page title in the fullscreen mode and changed the title of the page as per click on lesson name task-2040899 closes odoo/odoo#35161 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Aug 03, 2019
-
-
Robot Odoo authored
The `website_published` field from the website's mixins is basically a readonly from `is_published` field. On read, this field will simply read `is_published` and check if the record's website_id is accessible (only for the multi mixin). On write, it will always write on `is_published`. Whenever possible, any access (read/search) on published state should be done on `website_published`. Any write should be done on `is_published`. This PR improves a few things: - A lot of code was writting on website_published which was just then writting on is_published. Writting directly on is_published makes more sense. - Some backend fields would still reference `website_published` instead of `is_published` which would just go through the related for no reason. Plus, using `is_published` will make the field tooltip more accurate as we are not in a website context ('Visible on current website' to 'Is Published') - Filter and search on tree view were still using the `website_published` related field, which is just a readonly when we are not in a frontend context. - Some create and write function would have security check on `website_published` value but that was wrong as the user could bypass that by simply writting on `is_published`. For the write method, check `is_published` is more accurate as it will cover both case since `website_published` will then call the write method on `is_published` - Some models would create their own `website_published` field rather than using the `website.published.mixin` mixin which should be used instead. That was done to be able to override the default value of the boolean. This commit simply adds the possibility to override the default value of the mixin field. - Fix wrong publish security check that were only checking `website_published` in vals. closes odoo/odoo#35189 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Romain Derie authored
Commit 91696805 introduced a mechanism to check rights when writing or creating on `website_published` field. Problem is, `website_published` is just kind of a related to `is_published` which really stores the value. Thus, the checks would not work when writing/creating on `is_published`. That would leave a loophole to bypass the expected behavior.
-
Romain Derie authored
*website_crm_partner_assign, website_customer Before this commit, some models would create their own `website_published` field rather than using the `website.published.mixin` mixin which should be used instead. That was done to be able to override the default value of the boolean. This commit simply adds the possibility to override the default value of the mixin field. Also, help and string could simply be added on xml views rather than overriding the field.
-
Romain Derie authored
The `website_published` field from the website's mixins is basically a readonly from `is_published` field. On read, this field will simply read `is_published` and check if the record's website_id is accessible (only for the multi mixin). On write, it will always write on `is_published`. This commit improves a few things: - A lot of code was writting on website_published which was just then writting on is_published. Writting directly on is_published makes more sense. - Some backend fields would still reference `website_published` instead of `is_published` which would just go through the related for no reason. Plus, using `is_published` will make the field tooltip more accurate as we are not in a website context ('Visible on current website' to 'Is Published') - Filter and search on tree view were still using the `website_published` related field, which is just a readonly when we are not in a frontend context. - Some create and write function would have security check on `website_published` value but that was wrong as the user could bypass that by simply writting on `is_published`. For the write method, check `is_published` is more accurate as it will cover both case since `website_published` will then call the write method on `is_published`
-
- Aug 02, 2019
-
-
Andrea Ulliana authored
It is now possible to specify the forum mode : Questions and Answers or Discussions. In Q&A mode, a user can only reply once while there is no limit in Discussions mode. task-2008910 closes odoo/odoo#34097 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jul 24, 2019
-
-
Romain Derie authored
This check was introduced with d82b897e in 12.0 where `get_base_url` was not yet a model method. Since f727cd26, in saas-12.5, that method is now on model, making the `hasattr` check useless. closes odoo/odoo#35057 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Aug 02, 2019
-
-
Robot Odoo authored
Merge commit for PR #34925 Related enterprise PR odoo/enterprise/pull/4865 The goal is to: - Use `image.mixin` on the models currently storing multiple image sizes. - Create Image field and use it on models where mixin is overkill. - Rename the image fields to contain the pixel number in the name. - Add 512 size. - Clean up `image.mixin`, zoom field, variant fields. Note: models that currently store only a single size image will not be changed in this PR. Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Sébastien Theys authored
PR: #34925
-
Sébastien Theys authored
The following models are already using big images, or they might need big images in the future: - partner - hr employee - shop category - lunch product - gamification badge and karma rank PR: #34925
-
Sébastien Theys authored
The big images are probably never going to be used for the following models: - pos category - fleet brand - livechat channel - mail channel - payment acquirer And if big images are needed some day the model should use image.mixin instead. PR: #34925
-
Sébastien Theys authored
This field is not necessary on most models so move it to the few places where it is needed to avoid computing it and storing it everywhere. PR: #34925
-
Sébastien Theys authored
image_original => image_1920 (now resized to 1920) image_big => image_1024 image_large => image_256 image_medium => image_128 image_small => image_64 image replaced by image_1920 (when writing) or by image_1024 (when displaying what was previously the big size) + add new intermediate format: image_512 PR: #34925
-
Sébastien Theys authored
PR: #34925
-
Hardik Prajapati authored
Validate a bank statement from reconciliation widget and then open the statements view from the widget and try creating a new statement. An error happens when trying to select a partner because the default journal is not set in the action closes odoo/odoo#35418 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-
mreficent authored
The view name is often not very informative, add the external id for a better error closes odoo/odoo#29473 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Robot Odoo authored
This merge removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. This change implies that mass_mailing.tag and mass_mailing.stage move to the utm model along their associated views/data. These changes were made so that campaigns could be used in the future by social, mass_mailing and mass_sms and available in the same view This commit also removes the source_id and the medium_id fields on the campaign. Indeed those depends on the flow, not the campaign (mass mailing is a source, email is a medium for example). In this merge we also add statistics from crm and sales to the campaign model like what has been done for mass mailing previously. Task ID: 2002029& PR: #34015 closes odoo/odoo#34452 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
qmo-odoo authored
This commit renames the mass_mailing_ids and the mass_mailing_clicks_ratio to mailing_ids and mailing_clicks_ratio. Indeed it is shorted and more inlined with the new model names. Task ID: 2002029 PR: #34015
-
qmo-odoo authored
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit changes website_links.js so that, when creating a campaign, the field is_website is set to true. This will allow us to filter irrelevant campaigns in mass_mailing and social Task ID: 2002029 PR: #34015
-
qmo-odoo authored
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit fixes the domain used to get the invoiced amount generated by the mailing.mailing. The new domain will be the same as the one used in the invoice report Task ID: 2002029 PR: #34015
-
qmo-odoo authored
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit adds revenue and quotations statistics on the kanban and the form view of the utm.campaign Kanban and form views will now display the invoiced_amount and the number of quotations generated by the campaign. TaskID: 2002029 PR: #34452
-
qmo-odoo authored
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit adds leads/generated statistics in the kanban and the form view of the utm campaign. Kanban and form views will now display the number of leads and opportunities generated with the campaign TaskID: 2002029 PR: #34452
-
qmo-odoo authored
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. This change implies that mass_mailing.tag and mass_mailing.stage have to move to the utm model along their associated views/data. These changes were made so that campaigns could be used in the future by social, mass_mailing and mass_sms and available in the same view This commit also removes the source_id and the medium_id fields on the campaign. This commit also moves the unique_ab_testing field from the mass_mailing_campaign to the mass_mailing model Task ID: 2002029 PR: #34015
-
- Jul 31, 2019
-
-
wan authored
Task 2038326 * Tick the credit note sequence by default on the customer invoices and vendor bills journals * Write Customer Invoice/Vendor Bill/Credit Note/Customer refund at the top of the document * The reference field should be printed on the credit note pdf (interesting because it gives source and reason) * If the document is a credit note, there shouldn't be any payment information on the pdf (the customer doesn't have to pay you) (currently you see the "payment communication" the customer is supposed to use) * Rename Credit Note to Refund on dashboard * Add tooltip on payment widget closes odoo/odoo#35231 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-
- May 15, 2019
-
-
Josse Colpaert authored
If you have a PST number, certain taxes don't need to be paid, but the number should be indicated on the invoice however. opw-1951352 Closes #31982 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-
- Aug 02, 2019
-
-
jbm-odoo authored
If the connection test to mail server succeeds, we shouldn't see "Oops something went wrong" and "User Error" either Replace error generation to display success message by bus notify. closes odoo/odoo#35292 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
jbm-odoo authored
When a user change his langage in employee profile, he doesn't see the result before reloading manually the page. With this commit, when a user change his language, the page is reloaded on saving. And remove Create button on My Profile closes odoo/odoo#34906 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Naglis Jonaitis authored
* account, hr_contract, hr_expense, point_of_sale, sale_margin, website_sale_delivery, website_sale_wishlist digits only works on Float fields, on Monetary fields it has no effect: - The column_type of a monetary field is always numeric - It is not applied in `convert_to_column()` or `convert_to_cache()` - It is not part of `description_attrs`, so it will not be included in the output of `fields_get()` closes odoo/odoo#35336 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Ravi Gohil authored
- Added zero rated and exempted taxes - Improved 7% tax label - Removed unused tax group opw-39083 closes odoo/odoo#35203 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Kevin Baptiste authored
Purpose ======= Clean screens and improve onboarding TaskID: 2029772 closes odoo/odoo#34543 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Martin Trigaux authored
The export is now always in raw_mode Adapt the tests Fixes odoo/odoo#18798 closes odoo/odoo#26724 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Robin Heinz authored
We added a button for the front end closure to go back to the back end. Before this, the only way to go back was to change the URL, now we can close the session with the frontend properly. Also moved the css related to pos_hr in the good directory. Task-id: 2032178 closes odoo/odoo#34948 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
Pierre Masereel authored
When we try to validate a pos session without beinig administrator, we don't have access rights on the valuation layer. So we've extended this rev: 7ef11e3c
-
Yannick Tivisse authored
closes odoo/odoo#34553 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-