- May 30, 2018
-
-
Lucas Perais (lpe) authored
Have a mrp.production that you cancel, and delete the finished products lines Before this commit, the computation of the sale_name crashed because we did an index selection on an empty recordset After this commit, there is no crash opw 1851217 closes #24923
-
- May 29, 2018
-
-
Christophe Simonis authored
-
Goffin Simon authored
When creating a warehouse, a traceback was raised if the xml_id: mrp.route_warehouse0_manufacture was not found. opw:1852761
-
Goffin Simon authored
The number of characters must be taken into account to print the barcode. With 13 characters -> EAN13, with 8 characters -> EAN8 else -> Code128 Backport of 12b11c1e opw:1849965
-
Josse Colpaert authored
[FIX] stock_account: setting standard price with multiple real-price outs with negative quants fixes #24925 Somehow the function treated multiple records with the new api translation from 9 to 10. Steps to reproduce: This applies to delivery orders and manufacturing orders. As an example: Create an MO with 2 products on the BOM Both products must have real time costing with FIFO The first product on the bom must not be available For the second product on the BOM, the standard_price must be different from the cost of the next quant to be consumed Complete the MO, letting the first product result in a negative quant Current behavior: The standard_price of the second product on the BOM does not get updated. Behavior after this fix: The standard_price of the second product on the BOM gets updated. Thanks to matt454357.
-
- May 28, 2018
-
-
qsm-odoo authored
When a t-field element was in an editable t-ignore environement, modifying it was leaving the edit mode style attached to it. This was because of: 1) When the t-field element was changed, it was marked dirty but also its parent editable container. Fixing this, only solves the case where only the t-field (and not one of its neighbors) is changed but it was worth fixing anyway. 2) Before saving an element, the potential 'o_editable' and summernote classes were not removed of its descendant and were thus saved. Bug found with task-38069, merged in stable as it might occur there too.
-
- May 27, 2018
-
-
Odoo Translation Bot authored
-
- May 24, 2018
-
-
Christophe Simonis authored
-
Christophe Simonis authored
commit a3ab33f2 introduced invalid code
-
LofbergValentin authored
closes #1800442 Purpose ======= Odoo sessions are expired when no action has been triggered for the last 7 days. For kiosk mode, this doesn’t make sense. It means that once a week, a person with the rights to the employee under kiosk mode, has to come to the screen and log in again. Specification ============= Trigger an action to keep the Odoo session alive.
-
Christophe Simonis authored
-
Jérome Maes authored
product.product inheritS from product.template, and they both define the 'standard_price' field, but implement it differently; - product: the field is a company dependent one (so non stored) - template: the field is a computed one based on tis variants For the first case, since the field is not stored in database, when doing SQL query, we have to get the value from the table ir_property. That is what purchase report does, but instead of searching on resource 'product.product', it does it on 'product.template'. There are obviously no entries in ir_property table for 'standard_price' field on product template. As consequence, the "product value" (cost) is always null in purchase reporting. This commit fixes that by modifying SQL query to get the good value from ir_property table.
-
Yannick Tivisse authored
This is a backport of commit https://github.com/odoo/odoo/commit/2f15a5fa647d55df36c9019df467802a3aa9b4e3 Purpose ======= Add the possibility to create private addresses, only accessible for a subset of users. Specification ============= - Add a new 'Private' partner type - Add a res.groups in base 'Access to Private Addresses' - Add ir.rules for the following behavior: - Every employees/internal users can read non-private addresses - Only users in group_private_addresses can access private addresses - Add in base a simplified form view for private addresses The following points won't be backported: - A HR Officer is automatically granted in group_private_addresses - Use the simplified form view to open the address_home_id form on employees That's because it requires to update 'base' to make it work. If a user only update 'hr', this will break his instance while 'base' isn't updated. But these modifications can be applied manually quite easily.
-
Goffin Simon authored
When installing the website with a lang different than the one set on the user, the button unsubscribe in the mass mailing snippets didn't work because the unsubscribe link contains the code of the language. The function send_get_email_dict in model mail.mail didn't expect this behavior and so couldn't set the right unsubscribe link in the mail. opw:1850696
-
- May 23, 2018
-
-
David authored
Before this commit, if you enable website_form_enable_metadata, that will crash with a "KeyError: 'meta'" This commit closes #24848
-
- May 22, 2018
-
-
Christophe Simonis authored
-
Randall Castro authored
[FIX] l10n_cr: adapt state code Change res.country.state code to follow ISO 3166-2:CR https://www.iso.org/obp/ui/#iso:code:3166:CR Backport asked at #24673
-
- May 20, 2018
-
-
Odoo Translation Bot authored
-
- May 18, 2018
-
-
Joren Van Onder authored
Mercury can partially approve transactions in case a card does not have enough credit available to cover the full amount. Before this the payment amount was kept as the full purchase amount leading to a difference between what Mercury charged and what Odoo registered as charged. opw-1840946
-
Carlos Dauden authored
Courtesy of Carlos Dauden. Was PR #24660
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Fabien Meghazi authored
Before this patch the registry and cache signaling was only activated for PreforkServer. In case Odoo was deployed in a multi process/multi threaded architecture the signaling was not ensured, causing registry de-synchronisation amongst threaded servers.
-
Lucas Perais (lpe) authored
Commit bcd4c90a was intendend to make get_file handle uncaught/unserialized exceptions in the context of a http request The drawback is that when get_file received a serialized exception (route: /report/download) the JS modal was empty in that case This commit handles both the cases OPW 1848606 closes #24794
-
- May 17, 2018
-
-
Fabien Meghazi authored
This patches fixes the untested and broken draft of inetd and systemd activation support in the threaded server. This patch also fixes the loss of the process environment in the `_reexec()` function when Odoo is respawning during the following events: - SIGHUP signal is received - one click install has been triggered - code reload needed when using `--dev=reload`
-
Goffin Simon authored
The field quantity_done_store had the same label as the field product_uom_qty on model "stock.move" and there were confusions in the pivot view of "stock.move". opw:1841097
-
Lucas Perais (lpe) authored
Make an account move with two move lines. In those lines' label, just hit the space bar, and post your entry. Now, get the FEC report. Before this commit, the EcritureLib field was empty After, it has the value '/' closes #24734
-
Lucas Perais (lpe) authored
open a pos, change cashier hit F5 Before this commit, the previous user was set as cashier, forgetting about the change we made This was because of two things: - The original fix to do just this use case was pushed in v9.0 as e14ab697 - In v10.0 the commit 475027b9 (For v11.0: a9caef0e) Was intended to update the res.users objects at their loading to ensure that their access rights were loaded too But it did this using the wrong condition After this commit, it reworks fine OPW 1844006 related #24762 closes #24764
-
- May 16, 2018
-
-
Raphael Collet authored
Suppose we have a delta between two datetimes: delta = dt1 - dt0 If delta is negative but less than a day, ``delta.days`` returns -1 (which is compensated by positive seconds). In order to avoid this surprising effect, use ``delta.total_seconds()`` to compute the number of days.
-
Christophe Simonis authored
-
Xavier ALT authored
In case we define a field like, <field name="my_domain" widget="char_domain" context="{'active_test': False}"/> when selecting records the dialog should display all records (as asked by the context), but it's not the case. This commit ensure the field context is passed to the selection dialog. opw-1831902
-
Christophe Simonis authored
Consequence of 19878d01 Backport of fb17edd0
-
len-odoo authored
The field signup_valid is a non stored computed field based on signup_token. The cache is filled with prefetched values, so in a loop the field is read from the cache and not recomputed due to the missing dependency. opw 1843442
-
- May 15, 2018
-
-
Christophe Simonis authored
-
Quentin De Paoli authored
This commits removes a disambiguation on the choices of the 'Adjustment Type' selection as 'in your favor' could be achieved by debitting the 'Collected Tax' account or creditting the 'Paid Tax' accounts (respectively for 'in favor of the Estate'). The choices now refers directly to the journal item where the tax is gonna be copied Related to https://github.com/odoo/odoo/commit/c58ef14a01f600d75391f2a9c38bb2b30e0e2528 Related to OPW 1826242
-
Lucas Perais (lpe) authored
Display a slide, enter fullscreen mode Make the navigation bar appear. Now, try to push on any button of the nav bar Before this commit, none of the button work This is because the fullscreen mode is handled by the browser, and won't let any non-fullscreen elements be interactive After this commit, the nav bar is part of the element that are in fullscreen And the button work OPW 1839503 closes #24522
-
RomainLibert authored
We need to fix a problem with the users where someone might get informations on registrations.
-
Nicolas Lempereur authored
In 9.0, stages of a job position in recruitment are not share by default, there is a "New" stage and existing stages can be added in the form view (since 780f46ae). When creating a job position, the "New" is not working with the given widget type. This commit doesn't show stages in the form view until the record is created. opw-1839217 closes #24706
-
- May 14, 2018
-
-
Christophe Simonis authored
-
Christophe Simonis authored
Attribute is different for country and continent objects.
-