- Jun 18, 2019
-
-
Patrick Hoste authored
Including * change h4 to h1 on the slide page; * add the rel='canonical' link header on the fullscreen view in order to improve SEO and links; * add space between quiz questions; * remove social share statistics as they are broken and not really useful; * moved tabs before the Quiz on the slide page; * allow to modify slide in backend by removing some readonly attributes; Linked to task ID 2010024 Related to PR #34176 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 17, 2019
-
-
Lucas Perais (lpe) authored
Before this commit, one could activate the two checkboxes "use by default", and "share for all users" After this commit, only one out of the two can be checked OPW 2010458 closes odoo/odoo#34167 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
qsm-odoo authored
Following the new editor of https://github.com/odoo/odoo/pull/29775, many editor styles and behaviors were broken: - Translation colors - Background sizing cursor - etc, etc This is because commit https://github.com/odoo/odoo/commit/b49745e52d7a7bc27afd416206dcd5fa242aa07a decided to wrap all the scss rules of the website editor scss file in a `body.editor_enable` rule without any care. For example, the rule for translation colors became: `body.editor_enable > html[lang] > body.editor_enable > ...` which obviously does not work. closes odoo/odoo#34190 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
sri-odoo authored
Open the right tab clicking on "Write a review" part of: https://github.com/odoo/odoo/pull/34151 closes odoo/odoo#34151 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
sri-odoo authored
Keep consistency using the same icon (home) when referring to the main course page. Prior to this commit both "back to course" and "exit fullscreen" actions had the same icon. part of: https://github.com/odoo/odoo/pull/34151
-
sri-odoo authored
On mobile, don't show automatically the sidebar in order to avoid covering the lesson's content. The user will have to click on the toggle button to open it. part of: https://github.com/odoo/odoo/pull/34151
-
- Jun 14, 2019
-
-
Ankita Raval authored
Before Commit: If a product type service in a bom, create a manufacturing order of product's bom they returns empty recordset because if product type is not storable and consumable is returns empty object of stock move else they returns the data dictionary. After Commit: If product type service in a bom, create a manufacturing order we returns the empty dictionary rather than empty object of stock move Add a testcases 1) to check manufacturing order is generated of product type of service in bom or not. 2) to check manufacturing order is generate from sale order of product type sevice in bom or not. Task ID - 1981790 closes odoo/odoo#33337 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
xmo-odoo authored
Was apparently re-introduced by a forward port (of an export in 12.0). closes odoo/odoo#34136 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
qmo-odoo authored
Before this commit, clicking on tag located on a slide card in the course page would filter the channels instead of the slides Now, it filters the slides in the course closes odoo/odoo#33635 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
qmo-odoo authored
This commit adds the name of the currently viewed slide to the breadcrumbs at the top of the page Task ID: 1999672 PR: #33635
-
sri-odoo authored
closes odoo/odoo#34137 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jun 13, 2019
-
-
Nicolas Martinelli authored
- Set a payment provider with: 'Save Cards': 'Always' 'Payment Flow': 'Redirection to the acquirer website' - Process an order on the eCommerce The payment token is not saved. The `save_token` value is based on the checkbox which is only added in 'ask' mode: https://github.com/odoo/odoo/blob/4b8f72eb2315e675ca6d5a0d0961272fc024c475/addons/payment/static/src/js/payment_form.js#L162 We hide and pre-check the checkbox in this case. opw-2008441 opw-2008275 closes odoo/odoo#34106 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Nicolas Martinelli authored
It seems that Google Spreadsheet only recognizes `true` and `false` as valid boolean values. opw-2000623 closes odoo/odoo#34100 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Julien Castiaux authored
Create a project visible to a portal customer, create a task and attach an attachment. As a portal user, go to the task and download the attachment, the downloaded filename is the numeric identifier of the document instead of the document filename. The `?download=true` force the download of the attachment and correctly set the filename. opw-2008517 closes odoo/odoo#34098 Signed-off-by:
Julien Castiaux <Julien00859@users.noreply.github.com>
-
Nans Lefebvre authored
Let a database with company C1, C2, and a website W belonging to C1, used for both companies. Settings in C2 cannot be saved without setting a website. At settings load W is removed from C2 because it belongs to C1. So reset C2's website to W. This triggers a (useless) write of company_id (C1.id) on W. Then we have w.user_id.company_id.id != self.env.user.company_id.id, (C1 != C2). So if contacts are not shared, then accessing w.user_id.company_id would cause an access error because of record rules, preventing the save. As a result, settings are unusable for company C2. opw 2008887 closes odoo/odoo#34102 Signed-off-by:
Denis Ledoux <beledouxdenis@users.noreply.github.com>
-
Nicolas Vannieuwerburgh authored
Stock.locations should be in no-update: Limit the impact of recompute fields during the upgrade of stock module. (especially method _compute_product_availability) Limit the impact on migration Method _compute_product_availability is triggered during an upgrade of module and during migrations. This may take a lot of time of big databases closes odoo/odoo#34074 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 12, 2019
-
-
Julien Castiaux authored
In the Discuss app, using Chrome or IE11, try to send the same attachment to different channels. The first attachment is correctly detected but not the next ones. The problem is due to a browser inconsistency, on firefox selecting the same file in an `<input type=file>` triggers the `change` event. This is not the case on Chrome/IE, selecting the same file doesn't triggers an `onchange`. opw-2006647 closes odoo/odoo#34076 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
sri-odoo authored
Slightly increase margins between questions in a test. closes odoo/odoo#34055 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Nicolas Martinelli authored
The field is now `quantity`. This wasn't spotted before because the method is not used anywhere. opw-2008491 closes odoo/odoo#34067 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Pierre Rousseau authored
If the option 'Reload from attachment' is checked for a report, it will be generated from the existing attachments. However, for snailmail, we have to force the re-rendering to apply specific css rules to match the layout of a A4 letter. Task-ID: 2008896 closes odoo/odoo#34053 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-
- Jun 13, 2019
-
-
Sébastien Theys authored
To reproduce: - Go on the website page of a product with optional products. - Disable the Select Quantity customize show. - Click add to cart. This will open the optional product modal, where the quantity will be displayed. However changing that quantity will have no effect, especially the price will not update accordingly. The real issue is that the quantity should not be displayed there if Select Quantity is disabled, but this has never worked before, so this is outside the scope of this fix. Anyway, since the quantity is present there, we would at least expect it to correctly recompute the price, which worked fine when the modal was introduced, but has been broken since 51e51055 opw-2005317 closes odoo/odoo#33992 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Nicolas Martinelli authored
- Set an analytic account on an employee contract - Set credit and debit accounts on the salary rules - Create a payslip, confirm The journal items created do not use the analytic account set on the contract. If no analytic account is set on the salary rule, we fall back on the contract account. opw-2006090 closes odoo/odoo#34095 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 12, 2019
-
-
Nans Lefebvre authored
Have a multi-company setup, with shared products. Write the default code of a product; an access error is raised on inventory.line On inventory.line, the field product_code is defined as related to 'product_id.default_code', and stored. So when writing on the default_code of a product, we get the inventory lines of other companies. For obvious reasons their access is protected by the record rule "Inventory Line multi-company", therefore the access error is raised. To avoid that situation stored related fields should be in compute_sudo. Note that similarly this is necessary for product_name. There is one more subtlety: directly writing on the product.product does trigger the access error, but writing it on the product.template does not. opw 2007167 closes odoo/odoo#34019 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Jun 13, 2019
-
-
Aurélien Warnon authored
When the channel has a linked forum, the "Review" link on the forum should redirect the user to the "Review" tab on the course page. Task #2003222 closes odoo/odoo#33786 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
Aurélien Warnon authored
This commit improves the karma rank layout displayed on the courses home page and on the user profile. Task #2003222
-
Aurélien Warnon authored
This commit improves the footer image of the slides home page by adding the top 3 users avatars (ordered by karm desc) in the image. We only fetch users that have an image set as avatar. Task #2003222 Co-authored-by:
@stefanorigano <sri@odoo.com>
-
- Jun 12, 2019
-
-
Toufik Ben Jaa authored
- On the HR module, the field `parent_id` is added on `res.users`. The issue here, is that `res.users` inherits the fields from `res.partner` where `parent_id` is already defined. This causes issues when trying to read the parent `res.partner`. Issue found by @rrahir closes odoo/odoo#34059 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com>
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Pierre Rousseau authored
From now, the color option 2 ('Mixed color & B/W') is not available anymore. So set the option to 1 ('Color'). Task-ID: 2008913 closes odoo/odoo#34052 Signed-off-by:
Pierre Rousseau (pro) <pro@odoo.com>
-
- Jun 11, 2019
-
-
Christophe Simonis authored
This tour is useless in backend. This patch will be required in saas~12.2 as `web_editor.base` (used in the tour) is only available in frontend. closes odoo/odoo#34041 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Nicolas Martinelli authored
- Create a mailing campaign - Create a mailing 1, set the subject to "Test 1" - Create a mailing 2, set the subject to "Test 2" The subject of mailing 1 is set to "Test 2". When checking the code, this behavior seems the one expected. The `_rec_name` of a mass mailing is the `subject_id`: https://github.com/odoo/odoo/blob/7ef4ba03c4f8dce42f5a56b64d2374373d13aa8d/addons/mass_mailing/models/mass_mailing.py#L437 Moreover, there is an onchange to set the subject in line with the subject of the campaign: https://github.com/odoo/odoo/blob/7ef4ba03c4f8dce42f5a56b64d2374373d13aa8d/addons/mass_mailing/models/mass_mailing.py#L608 However this behavior is not present up to v11, and only appears in v12. Surprisingly, this is due to an unrelated improvement which adds the field in the view (in debug mode): 5b0bcaef. Up to v11, the onchange exists, but since the fields are not in the view, it has no effect. However, in v12 the fields are in the view so the onchange has an effect. Since this was the behavior up to v11, and that the behavior is fixed in f50fbc6d, we keep it consistent in v12 as well. opw-2007764 closes odoo/odoo#34028 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Christophe Simonis authored
This commit shouldn't have been land in saas~11.3 See https://git.io/fjg2o This reverts commit a25f6e1b.
-
sri-odoo authored
The '#wrap' id is needed by website themes to correctly handle layout options. closes odoo/odoo#34024 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Jun 07, 2019
-
-
Nicolas Martinelli authored
- Create a product A of type "Service", Invoice based on "Milestones", Service Tracking "Create a task in a new project". - Create a new SO with A, confirm. - Go the to task associated to the SO, go to "Timesheets" tab, add an entry - In the SO, edit the delivered quantity - Create invoice, validate Back to the SO, delivered quantity is reset to 0. We make sure to filter out SO lines which have a delivered quantity set manually. Introduced by d6ad2222. opw-1982020 closes odoo/odoo#33991 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 09, 2019
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- Jun 07, 2019
-
-
Lucas Lefèvre authored
If a user has an ooom in his Preferences, it should be used as the default value for a leave ooom. closes odoo/odoo#33890 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Lucas Lefèvre authored
Purpose ======= Currently, the ooom field is editable in the leave view but an ir.rule prevents the employee to save as soon as the leave is approved. Specification ============= An employee should be able to edit the out of office message even if the leave is already approved.
-
Cédric Snauwaert authored
The goal of the to_check checkbox in the reconciliation widget is to set the to_check field present on the move that will be created. However since the UI is not perfect, the to_check checkbox was added on the wizard when we create a new line in the widget, which cause the following problem: what if we select to_check on line1 and then deselect it on line2, previously it was not possible to do this, a warning was thrown to tell the user that he had some line with to_check set and some other not. A better way to do this, and more user friendly is by preventing the user from deselecting the checkbox if some other line has the to_check value set. closes odoo/odoo#33956 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-