- Nov 08, 2019
-
-
Fabien Pinckaers authored
closes odoo/odoo#40018 X-original-commit: 21ea9d4c Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 13, 2019
-
-
Kevin Baptiste authored
The leave description is now replaced with a compute method in order to obfuscate the description based on the user's group. closes odoo/odoo#38995 Taskid: 2088559 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
qsm-odoo authored
Commit https://github.com/odoo/odoo/commit/88e910e187346c095a6f0eeb8be647da1e391035 merged the inheritance of a view into the base view while the inherit was in fact a primary mode inherit. The modal buttons of website creation modal thus appeared in all website forms by mistake. This commit also takes advantage of the fix to fix the design of that creation modal (wrong classes on buttons). Also fixes https://github.com/odoo/odoo/commit/986415cf050efbd38a5834f9bbd3a37db1fd7933 which added a data file & folder in demo data by mistake. closes odoo/odoo#40175 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
fw-bot authored
self.env.user returns the current user but browsed with the superuser: - self.env.user == current user - self.env.user.env.user == administrator get_context uses self.env.user to retrieve the context of the user. Before this patch, the name of the filters was translated in the language of the administrator instead of the current user. Closes odoo/odoo#40086 closes odoo/odoo#40170 X-original-commit: b39c8da2 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Nov 12, 2019
-
-
Nicolas Lempereur authored
In IE Edge async and await are supported, but guardedCatch is added to polyfilled MyPromise object and async methods return original Promise so depending of chain guardedCatch can cause en error or not. It seems that historically, the MyPromise patching has also had issue in firefox with it sometimes working or not. In this changeset we completely remove it (which will have the drawback of more error shown in console in firefox). opw-1964486 opw-2116839 closes #39953 closes odoo/odoo#40154 X-original-commit: 5ca38da6 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Nov 13, 2019
-
-
Gert Pellin authored
* In a pos-session with table management create a new order with products and go back to the floor-plan. * The order is sinced to the back-end. * Open the table again, remove all products but keep the order. * Go back to floorplan to trigger syncing again. * Open the table again. behaviour before fix: * The empty order is not loaded in the frontend anymore. * To close the session the order has to be manually removed in the backend. After fix: * The order is still visible in the frontend and can be removed or finalysed as expected. closes odoo/odoo#40165 X-original-commit: 3add8dd2 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Jorge Pinna Puissant authored
Add the id of the current company to the evaluation context for ir.rule domains closes odoo/odoo#40162 X-original-commit: 8bf4b8e0 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
- Nov 12, 2019
-
-
Goffin Simon authored
Fine tuning of this commit: f93fcaff Steps to reproduce the bug: - Open runbot v11 - Restrict Demo's access to Sales Manager for sales and employee for Employee - Try to create a new quotation Bug: - You got Odoo server Error Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that: - Inventory/User - Accounting & Finance/Billing - Purchases/User - Purchases/Manager - Other Extra Rights/Portal (Document model: purchase.order.line) - (Operation: read, User: 5) opw:2120692 closes odoo/odoo#40153 X-original-commit: 1b14af28 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
Laurent Smet authored
A journal entry must always have the same currency as the account when a secondary currency is set on this one. closes odoo/odoo#39844 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Nov 06, 2019
-
-
Laurent Smet authored
This field has been introduced by https://github.com/odoo/odoo/commit/2d1b8e9f3445ab0e1c1ac4683b7b5a25c867b2de but is no longer used anywhere and is not a valid field on account.move.line.
-
- Nov 12, 2019
-
-
fw-bot authored
When using the flamegraph module from a parent directory of odoo, the dirname method returns a relative path, leading to a traceback. With this commit, the odoo_path is enforced to be an absolute path. closes odoo/odoo#40147 X-original-commit: 75efe4b4 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
Victor Feyens authored
When assigning a default value to a computed monetary field, if self contains records with different currencies, the assignation will fail when trying to round the value (because self[currency_field] is a recordset of multiple currencies). Globally, assigning a monetary value to records in different currencies should never happen. The only case we want to support is defaulting a computed monetary to 0.0. Add clear error when trying to set monetaries in multi-currency. closes odoo/odoo#40155 X-original-commit: 3a58dfa1 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com> Co-authored-by:
Raphael Collet <rco@odoo.com>
-
Jeremy Kersten authored
task-2086939 closes odoo/odoo#40059 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
qsm-odoo authored
The original goal was to not have any pre-installed theme by default and to force the user to consider installing one through the customize dialog. Now that we have a system to allow switching theme, it is better to have one installed by default and allow the user to switch theme from the customize dialog (note that last part was made in the parent commit with the merge of website_theme_install into website). Note: theme_default is purely empty, it is only installed by default for clarity in the theme selection screen, for the default website.
-
qsm-odoo authored
* theme_bootswatch, theme_default, website_theme_install
-
Manuel Vázquez Acosta authored
Commit 5fcf891e introduced optimizations for name_search in several models. However, that produces some counter-intuitive searches. In a DB with project and custom data: >>> Project = self.env['project.task'] >>> Project.search([('user_id', 'ilike', 'demo')]).mapped('user_id.name') ['Marc Demo'] >>> Project.search([('user_id', 'not ilike', 'demo')]).mapped('user_id.name') ['Marc Demo'] The projects returned with 'not ilike' are a super-set of those returned with 'ilike': >>> Project.search([('user_id', 'ilike', 'demo')]) project.task(22, 21, 20, 16, 14, 13) >>> Project.search([('user_id', 'not ilike', 'demo')]) project.task(22, 21, 29, 28, 27, 26, 25, 20, 16, 14, 13, 31, 30) This commit fix this behaviour by choosing '!=' instead of '=' whenever the operator is a negation operator. The 'res.users' is more exposed than the other models touched by 5fcf891e, because user may search for 'Created by' in the web client. closes odoo/odoo#40140 X-original-commit: b3c539b0 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
lejeune quentin authored
The self don't contain 'interface_protocol'. The 'interface_protocol' is in self.dev because we add this in 'supported' function. closes odoo/odoo#40132 X-original-commit: 6963a016 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
Arnold Moyaux authored
commit 89f20d2c removed thumbnail but didn't adapt the views that used it. Adapt the view and directly use the datas and not the thumbnail. Close #38747 closes odoo/odoo#40126 X-original-commit: e73b468135d27ce8c1e84c3ecf2d0b3af176d760 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Nicolas Lempereur authored
In 12.3 there was a number of changes in source mode. This was reverted before 13.0 and somehow it seems the source mode was lost between the 12.3 editor changes and its revert. With this changeset, we introduce back source mode as it was in 12. opw-2091649 opw-2116960 closes #40026 closes odoo/odoo#40120 X-original-commit: e29c0896 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Swapnesh Shah authored
Fixes https://github.com/odoo/odoo/issues/39358 Before this commit Internal user (With no other Rights) cannot perform any activity on Reminder Popup due to missing rights to set calendar_last_notif_ack field. With this fix, we are now using sudo to write calendar_last_notif_ack closes odoo/odoo#40104 X-original-commit: 91560fae Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
jvm-odoo authored
Reproduce this issue - Install CRM & Sales - Create 2 sales team in CRM settings - Create some invoices and register payments for the 2 teams - Go in CRM > Sales > Team pipelines The invoicing amount is still 0 for both teams. Cause - The `_compute_invoiced` method in `CrmTeam` models use a SQL query to retrieve the invoices lines but it returns an empty recordset because the dates are not right ordered. - The line balance are negatives values, doing a SUM() will always returns 0 This commit re-order the dates and invert the sign of line.balance. OPW-2119819 closes odoo/odoo#40115 X-original-commit: 578dacc3 Signed-off-by:
Jason Van Malder <jasonvanmalder@users.noreply.github.com>
-
Ravi Gohil authored
- fixed some tax report lines by showing correct amounts - corrected account types - set default receivable/payable/advance tax accounts for tax groups closes odoo/odoo#40114 Task: 1917932 Closes: 39191 X-original-commit: 0677d474 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Yannick Tivisse authored
closes odoo/odoo#40020 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
-
Yannick Tivisse authored
Some tests (test_00_workorder_process, ...) are executed several times, only because we extend a test class to retrieve the setUp (or setUpClass) instead of creating a common class. This could lead to issues, (like for test_00_workorder_process) depending on the installed modules.
-
Yannick Tivisse authored
Purpose ======= This module contains tests related to base automation. It makes no sense as they have no business value. Specification ============= Move all the tests to a separate module as it contains models used only to perform tests independently to functional aspects of other models.
-
Yannick Tivisse authored
-
- Oct 03, 2019
-
-
mreficent authored
closes odoo/odoo#33869 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Nov 12, 2019
-
-
Thibault Delavallée authored
A patched method was not unpatched. Which triggered issues in a staging master branch trying to untie a bit mail tests. closes odoo/odoo#40099 X-original-commit: 5dbf4c56 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
Andrea Grazioso (agr-odoo) authored
Install stock and sale. Create a sale with 2+ products, save and confirm. Look for the created picking. There will be no source doument, because of cb618e9a the behavior has changed when there are multiple source document, possibly to avoid displaying the wrong source if they differ. Adding the possibility to display multiple source documents, eventually truncating the list opw-2117886 closes odoo/odoo#40098 X-original-commit: baad02d0 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 08, 2019
-
-
Yannick Tivisse authored
Purpose ======= Steps to reproduce: - Configure a product of type service to create a task on a sales order validation, without configuring a project template - On the SO confirmation, the project is generated without any stages Additional issue: - go to the Kanban view of the Project - filter on something that doesn't give any result - The kanban switches to edit mode, even if there is a task This commit solves both issues. closes odoo/odoo#40057 X-original-commit: e2de6331f7f75c9c9b086e57b88f6d25a2cd303d Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Vishnu Thuletiya authored
The icon of the 'Vendor Bills' stat button isn't displayed so fix the icon class. Task-2115206 closes odoo/odoo#40050 Closes: #40006 X-original-commit: 5a595c59 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Yannick Tivisse authored
Purpose ======= If the user creates a task and if the project isn't set, then all the stages that are not linked to a project are displayed, which is polluting the form view. Specifications ============== If no project is set on the task form view, do not display any stages in the statusbar. closes odoo/odoo#40041 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Nov 06, 2019
-
-
Martin Trigaux authored
In 13.0, we use the IoTBox which handle https correctly 12.0 was still a transition version but people should have switched in 13.0 closes odoo/odoo#39845 X-original-commit: 5d44adcd Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Nov 08, 2019
-
-
wan authored
Task 2076244 Commit 4a1bbbff added that but it had to be reverted because it didn't take into account the periodicity of the tax return of the company and because it added the period for all mail.activity closes odoo/odoo#38199 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Nov 10, 2019
-
-
Wolfgang Taferner authored
In case of a multi-record and multi-page (i.e. 2 pages per PDF) report the assertion is triggered b/c we have 4 pages and only two records with a PDF of 2 pages each, so the outline_page needs to be unique before assertion. len([0, 0, 2, 2]) != len([record_id1, record_id2]) len([0, 2]) == len([record_id1, record_id2]) closes odoo/odoo#40076 X-original-commit: 573e5777 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-