- Nov 26, 2019
-
-
Victor Feyens authored
Those cases are already checked in models._check_company() but not considered when defining the default domain on `check_company=True` fields. * Consider res_users relational field Companies allowed for user = user.company_ids * Consider company-dependent fields Companies allowed = self.env.company closes odoo/odoo#40906 X-original-commit: a8de9509 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
Victor Feyens authored
X-original-commit: 4205cb27
-
- Nov 25, 2019
-
-
Nicolas Lempereur authored
When clicking on stat button "Meetings" on a partner, just highlight the partner meetings as is done for similar stat button instead of having a domain that hides other event (so when creating meeting, we can take into account other existing meetings). A similar change with same reasoning has been done for "Meetings" stat button of hr.applicant records. opw-2131494 closes #40812 closes odoo/odoo#40900 X-original-commit: 957e7eb7 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Nov 26, 2019
-
-
Damien authored
closes odoo/odoo#40905 X-original-commit: 1b2df29e Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Yenthe666 authored
closes odoo/odoo#40902 X-original-commit: cf7017ea Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
pawa2007 authored
A second edition is being written but not published yet closes odoo/odoo#40405 X-Forwardport-of 2b99e0cb closes odoo/odoo#40901 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Laurent Smet authored
- Create a vendor bill for partner A with reference 'AAAAA' - Create another vendor bill for partner A with the same reference: => Constraint is triggered. - Create another vendor bill without partner with the same reference. - Edit the vendor bill and set a partner: => Constraint not triggered. closes odoo/odoo#40897 X-original-commit: 3f6254c8 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Kishan Gajjar authored
closes odoo/odoo#40888 X-original-commit: fcbe9564 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Jeremy Kersten authored
and uses it in customize_show. closes odoo/odoo#40887 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Nov 22, 2019
-
-
David Beguin authored
im_livechat main controller was referring to website.visitor but this module is not depending on website. The usage of website visitor's name should have been done in website_livechat module. This commit fix this issue. Task ID: 2116715 PR #40732 closes odoo/odoo#40884 X-original-commit: defb98c1 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 15, 2019
-
-
wan authored
Task 2085023 * Add a field that replaces the context to get the ids of the entries/invoices * Remove move_id, we can use move_ids instead * Add text to explain invioces/bills will create refunds closes odoo/odoo#38857 Related: odoo/enterprise#6263 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Nov 26, 2019
-
-
Varun Raval authored
In order to see the added value of digest in demo mode some demo data about livechat conversations are added. Rating is also added. Task ID 1883428 closes #29764 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Varun Raval authored
Purpose of the task is to add a Live Chat section in the weekly digest email template. Following value related to livechat are therefore added in digest emails: * hit % of ratings; * amount of conversations he handled; * hit time to answer; Task ID 1883428 closes #29764
-
Xavier Morel authored
* root the base.partner.merge wizard's logger in odoo.addons so the "odoo" logger configuration properly applies to it * update the default logging configuration to set the root logger rather than independently set the odoo and werkzeug loggers closes odoo/odoo#40872 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Nov 25, 2019
-
-
Aurélien Warnon authored
The slide.slide "_compute_slides_statistics" method is missing the 'slide_ids.sequence' trigger. It should be specified for cases when one of the slide_ids changes category (determined by the sequence). This can cause some CacheMiss and seem related to nondeterministic errors on the runbot. PR #40705 Task#2123711 Runbot build error ID 247 closes odoo/odoo#40867 X-original-commit: 1994f544 Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.com>
-
- Nov 22, 2019
-
-
fw-bot authored
before this commit: when creating a product from frontend and editing the product and delete image, it doesn't get any url thus generating the traceback. after this commit: if url is not defined then return None from ir.qweb.field.image field converter task-2063293 closes odoo/odoo#40866 X-original-commit: 2efad751 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Nov 26, 2019
-
-
Mahendra Barad authored
Before this commit, the computation of kpi for last week, last 30 days and previous period comparison was wrong due to cache. Indeed as first value was in cache, other values were taken directly from cache itself instead of recomputing each value based on start_date and end_date of the computation timeframe. As digest fields are computed fields used a bit off-side, let us manually invalidate the cache before computing a kpi so that it correctly computes the timeframe values. Task ID 1883428 closes odoo/odoo#40861 Closes: #40834 X-original-commit: 2966ee59 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 25, 2019
-
-
mightyjol (jhk) authored
steps to reproduce: -change decimal accuracy for "Product Price" -create a price list with fixed price -the fixed price field does not takes the decimal accuracy into account this was working in V11 and V12 fixed_price was a float field like other price fields previous behavior: fixed_price is a monetary field when setting up a fixed price for a pricelist, it takes into account the precision from the current currency current behavior: fixed_price is a float field when setting up a fixed price for a pricelist, it takes into account the proper decimal accuracy setting ("Product Price") opw-2121964 closes odoo/odoo#40807 X-original-commit: 27b90fc7 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
- Nov 26, 2019
-
-
Mohammed Shekha authored
before this commit: when creating a product from frontend and editing the product and delete image and save edition, it throws traceback, because ir.qweb.field.image doesn't get any url and due to which it throws traceback. after this commit: if url is not defined in ir.qweb.field.image field converter then return None task-2063293 closes odoo/odoo#40638 X-original-commit: 896127a6 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Nicolas Martinelli authored
- Group the SO list view by Analytic Account - Go to a SO - Click on the stat button 'Timesheets' Traceback because the field `analytic_account_id` is not on Timesheets. opw-2124539 closes odoo/odoo#40840 X-original-commit: 3f17dd36 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Julien Castiaux authored
Excel can store data in multiple tables, each is called a sheet. Odoo was only importing the first sheet making the process to import a file containing multiple sheets cumbersome. It is now possible to select the sheet in the import options. By default the first sheet is selected. closes odoo/odoo#40728 Task: 2043768 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Nov 21, 2019
-
-
Pierre Masereel authored
When you create a pos order, it is possible that the request timeout or the client loose the connection with the server, that will lead to not have the server_id of the order sent to the server. So when the client will try to synchronize the order again, it'll not send the server_id to the server, and the server will create a new order which is a duplicate of the one created when the client lost the connection. To avoid this duplication, we are using the pos_reference to find if there is an existing order like in 12.0 to avoid duplication. closes odoo/odoo#40837 Task-id: 2127656 X-original-commit: cddf29e7 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 25, 2019
-
-
Goffin Simon authored
Steps to reproduce the bug: - Let's consider Today = 21/11/2019 and Employee E - Create a new hr.leave.type LT and set a validity from 01/01/2020 to 31/12/2020 - Set mode = Free Allocation Request and Validation = No Validation - Try to create leave allocations for LT Bug: It was impossible to create a leave allocation for LT because Today < 01/01/2020 So it was impossible to allocate future leave. We had to wait the 01/01/2020 to make the allocation of LT leaves opw:2126300 closes odoo/odoo#40815 X-original-commit: 2b1810da Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Nov 26, 2019
-
-
Haresh Shyara authored
closes odoo/odoo#35373 Task: 2129257 Closes: 35373 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Nov 19, 2019
-
-
oco-odoo authored
closes odoo/odoo#40805 X-original-commit: c0f261fd Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Nov 26, 2019
-
-
shivam shah authored
Below points are improved in automated action - Set no_create on model_id, crud_model_id, partner_ids, and channel_ids - Set widget many2many tags and change string for trigger_field_ids - Rename 'Trigger Condition' to 'Trigger' - Change on_change_fields into a many2many to ir.model.fields - Set 'Hours' as default of field trg_date_range_time - Rename label of crud_model_id to 'Target Model' - Rename label of sms_mass_keep_log to 'Log as Note' - On creation of template set the default model - Hide the 'Security' tab - Set no_create on fields resource_ref and col1 - Make 'value' readonly when col1 is not set - Rename 'Link using field' to 'Link Field' Task-2082503 closes odoo/odoo#39622 Closes: #39622 Related: odoo/enterprise#6515 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Nicolas Martinelli authored
- Create a product tracked by lot - Create a delivery picking You are allowed to create a new lot for the product although the picking type doesn't allow it. This is because of the missing context key `active_picking_id` on which `_check_create` relies: https://github.com/odoo/odoo/blob/e5ee5e5b65f85d66c8d59594ead9eece172c4282/addons/stock/models/stock_production_lot.py#L50 opw-2128497 closes odoo/odoo#40813 X-original-commit: 6dd176cc Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 14, 2019
-
-
jvm-odoo authored
Reproduce the issue: - Install eCommerce app - Publish a product to your website - Add the product in your cart - Unpublish/make unsellable/archive the product The product is still in the cart and the checkout process can be done. Cause: There is no check for invalid products before displaying the cart This commit remove the invalid products while loading the cart. OPW-2092541 closes odoo/odoo#40241 X-original-commit: ab9290e3 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 25, 2019
-
-
mgh-odoo authored
After the rainbowMan issue was fixed here: e5bc2e7, steps were consumed on 'click' events. This caused an issue with the drag and drop event (which breaks tour, because it is expecting a click event). If the user dragged an element, thetip was not getting consumed as no click event was triggered. closes odoo/odoo#40819 X-original-commit: 3f458fe06e6a629edc72428eab749068c2eba1ba Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Aaron Bohy <aab@odoo.com> Co-authored-by:
Priyanka Kakadiya <pka@odoo.com>
-
fw-bot authored
A customer reported an issue when he tried to add a link on the blog covers of his blog. The link is displayed as text and it's added to all the covers.  According to SBU, the user should not do this. This commit prevents the user from editing a blog cover. OPW-2119924 closes odoo/odoo#40816 X-original-commit: 576fe145 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
helly kapatel authored
Archived users are inactive, so we shouldn't be able to ping them. Task-2046885 closes odoo/odoo#40814 X-original-commit: 8169e34a Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
- Nov 22, 2019
-
-
Nicolas Lempereur authored
In the pivot view of report.pos.order that is a view mainly over pos.order, the "Count" measure is a little rubish giving more or less the number of different products in the grouped order lines. With this changeset, we have the field "Order" as measure that allow us to know the number of orders a grouping is corresponding to. opw-2127275 closes #40723 closes odoo/odoo#40804 X-original-commit: 431114d4 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Nov 20, 2019
-
-
Victor Feyens authored
And adapt to get_fiscal_position changes closes odoo/odoo#40336 Related: odoo/enterprise#6840 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Victor Feyens authored
-
Victor Feyens authored
* No api model for methods using self * Use new orm abilities to cleanup map_tax method
-
- Nov 25, 2019
-
-
Mahendra Barad authored
Before this commit, when a user was on leave, the out of office message displayed the current leave-in-progress date-to. This information was misleading when the user on leave used different types of leaves, because other users would expect their colleague to come back from vacation sooner. For instance, suppose that user is on vacation on October from 18-22 (included), and from 25-28 (incl.), with a week-end from 23-24: +--------------------------------------+ | OCTOBER calendar | +--------------------------------------+ | Mo. Tu. We. Th. Fr. Sa. Su. | | | | | | on-leave week-end | | <--------------------> <------> | | 18 19 20 21 22 23 24 | | | | on-leave | | <---------------> | | 25 26 27 28 29 30 31 | +--------------------------------------+ On November 20, other users would see "On leave until _November 22_ included", instead of _November 28_. This commit fixes the issue by taking into account consecutive holidays to compute the actual end date of vacation. Task-2002525 closes odoo/odoo#38388 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Haresh Shyara authored
Added Chart of Accounts, taxes and other related data closes odoo/odoo#40806 Task: 42243 Courtesy: www.vitraining.com X-original-commit: 046f7039 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Xavier Morel authored
If odoo is started with a log-level of "warn" of higher, the logging record is not emitted at all and thus the handler added by assertLogs has nothing to process at all. As a result the test will fail. closes odoo/odoo#40802 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Victor Feyens authored
Current activity types master data cannot be unlinked through a quite harsh override of unlink using xml id existence, introduced at 2602642a. Some of them are real master data, other could be unlinked if users want it. Finally custom activity types may cause errors when removed if used in some side models like server actions or automated actions. To allow more flexibility we remove the removal constraint and implement a fallback mechanism. It is implemented in mail.activity.mixin when calling activity_schedule(xmlid, ...). If the given xmlid is not found _default_activity_type() specifies the default activity to use. It can be overridden in modules if some specific behavior is wanted. e.g. def _default_activity_type(self): """Define a default fallback activity type when xml id not found only used in in activity_schedule() for now. """ try: return self.env.ref('mail.mail_activity_data_todo') except Exception: return False In this commit we also * restrict deletion of activity type (hr.plan and ir.actions.server); * fallback on default activity type if xmlid ref not found in activity_schedule; * correct calls to activity_schedule and replace some manual creation calls by activity_schedule; Task ID 1961156 PR #39013 Related: odoo/enterprise#6238 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by:
Victor Feyens <vfe@odoo.com> Co-authored-by:
Michaël Mattiello <mcm@odoo.com>
-
Mohammed Shekha authored
`name` field can be required and falsy `data.name` should not be added as default in context or it warns for missing required field. Task-2052536 closes odoo/odoo#35880 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-