- Oct 12, 2016
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
vnsoft authored
When orderby argument is 'id desc', an error occurs: "read_group order by 'id' ignored, cannot sort on empty..."
-
Alexandre Fayolle authored
when extending these methods with the new api, the context is a frozendict so we need to copy before mutating. this patch was made by searching for key addition to context and calls to the update() method on the 8.0 addons, and checking if a copy was made before in the method.
-
Cédric Snauwaert authored
[FIX] account: add a constraint to prevent the change of the reconciliation flag on account when there are already account_move_line existing
-
Richard deMeester authored
Using the read method should generally pass a single id as a list due to the new API inheritance of the read method. If an attempt is made to use the new API, the result is inconsistent. Following 4f0ca6d9 Closes #13678
-
Sebastián Ramírez authored
To respect the folders created by scaffold and the coding guidelines Closes #13676
-
Sebastián Ramírez authored
From #13676
-
开阖软件 Jeff Wang authored
The patched add_sheet method lacks from the keyword argument cell_overwrite_ok that is present in original code. Closes #13755
-
Martin Trigaux authored
The validation_date was using the creation_date value in the follwing scenario: 1. create a new order with a few lines (creation_date=t1) 2. reload the page, `init_from_JSON` uses validation_date=t1 3. validate the order at t2, ignored due to already stored value creation_date must be kept for tracablity reasons (e.g. pos_blackbox_be) Fixes https://www.odoo.com/groups/59/20542134
-
Nicolas Lempereur authored
The field in stock configuration group_stock_adv_location is toggling the group "stock.group_adv_location". There was a typo which was using on the form view of purchase.requisition the group "stock.group_stock_adv_location" instead. opw-690804
-
- Oct 11, 2016
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Jeremy Kersten authored
See more details here: odoo/odoo@6191e3f6d0d064de9acdf0d1455b7de589dddb5a This commit closes #13704
-
Christophe Simonis authored
-
Jeremy Kersten authored
See previous commit odoo/odoo@4ca06e02558b202183592f4d7c67f76f302bc0d1
-
Christophe Simonis authored
Theses config options should not share the same dict as `init` dict may be modified by migration scripts to handle new module dependencies.
-
Olivier Dony authored
Most people install the im_livechat module and expect it to be enabled automatically on their website. When it doesn't work they try to use the integration JS code and add it to their website layout, which does not work as expected. Setting it as auto-installed solves the issue.
-
Jairo Llopis authored
* Failing test for one2many [(5,)] action, when domain is callable. The problem is that `self` inside a callable domain becomes the comodel when at [(5,)]. * [FIX][fields] Make [(5,)] with computed domain work. To reproduce this failure, declare a field like: ``` child_ids = fields.One2many( comodel_name="other.model", domain=lambda self: [("id", "in", self._ids_to_find())], ) ``` Now set some value to it. Now unset them. Impossible because ``self`` becomes ``other.model`` in domain evaluation.
-
Aaron Bohy authored
-
Jeremy Kersten authored
Remove useless avg defined on crm view. If you define avg='Average Values' in a view, now we see in the footer of list view the average.
-
Jeremy Kersten authored
Web client use fields_get (which one call get_description) to know if a group operator exists. But until now, group_operator are never returned. Without it, the web client cannot display the sub-total except for sum (the fallback in the web client). This commit closes #13713 Todo: do the same on Class Monetary in next branch
-
Ravi Gadhia authored
Make it such that the buttons "Save" and "Discard" are still visible.
-
Thibault Francois authored
This commit closes #13716
-
Goffin Simon authored
According to the documentation it makes sens to map an excluded tax with an included tax. For example in Belgium, B2C taxes are generaly included and B2B taxes are excluded. Then we can manage this situation by creating a pricelist with prices for B2B and B2C. opw:688085
-
- Oct 10, 2016
-
-
Nicolas Martinelli authored
When an analytic account is specified on a write-off move, it should be written on the move line linked to the write-off account, as it was the case in v8. opw-688635
-
Nicolas Martinelli authored
When importing an action rule, an error occurs: - The import is committed when the user clicks on "Validate" - The import fails with a traceback when the user clicks on "Import" This is because commit 7d648542 introduces a `cr.commit()` in the `_update_registry`, while nothing should be committed upon import validation. opw-683874
-
Martin Trigaux authored
Invalid rst made the description rendering to crash Fixes #13695
-
Martin Trigaux authored
The field bank_statement_id was removed at c04065ab The rule is no longer working and we have no link between a cashbox and a bank statement anymore. Fixes #13550
-
qsm-odoo authored
On old apple devices (IPad 2, IPhone 4, ...), the FAQ Roller could not be opened on click. This is because the snippet does not use standard bootstrap correctly and put the toggle on a <div/> element instead of a <a/> element. This fix forces an empty click handler on these <div/>, which allows standard bootstrap to work.
-
Christophe Simonis authored
-
Jeremy Kersten authored
These data should be in no update. Else at next update, it can change the configuration of the production. This commit closes #13404 Courtesy of @bealdav
-
Jeremy Kersten authored
Since Chrome 53.0.2785, the input select is hover the existing tag. With this fix, the existing tag are displayed at the right side of the input to create a new one. This commit closes #13655 Courtesy of @8cells
-
Nicolas Martinelli authored
When a user registers for an event on the front-end, the confirmation of the associated SO will also confirm the registration. However, if a SO is created manually and a ticket event is added to it, the confirmation of the SO will not trigger the confirmation of the registration. In the second case, the registration simply doesn't exist yet at confirmation and is created by the method `default_get` of `registration.editor`. We make sure to confirm these registration when we make the final reservation. opw-688665
-
Nicolas Martinelli authored
An issue occurs in the following situation: - Define a currency exchange rate at day 1 and day 2 - Create an invoice at day 1, and calculate the taxes. Do not set an invoice date! - Validate the invoice at day 2 The exchange rate for taxes is the rate at day 1, while the exchange rate for other amounts is the rate at day 2. There is actually no way to know what was the rate applied for the taxes at invoice validation. There are two solutions: - recompute the taxes at validation - force the user to set an invoice date and recompute manually the taxes The first solution might have unexpected effects, therefore the second solution is applied. Fixes #13473 opw-688517
-
Sébastien Beau authored
In a multi-company environment, we need to make sure to copy the company of the PO to the company of the picking. Otherwise, it might happen than the PO as a different company than the picking. Closes #13129
-
- Oct 09, 2016
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- Oct 06, 2016
-
-
Michael Brown authored
If a model uses nested sets to maintain a hierarchical record ordering, then bulk inserts (e.g. via a CSV import) are likely to suffer from an O(n^2) performance penalty, since there is a high chance that each new record will require many of the existing records' parent_left and parent_right fields to be updated. The context parameter 'defer_parent_store_computation' may be passed to the load() method, in order to defer updating the parent_left and parent_right fields until after the bulk operation is complete. This appears to have last been fully supported in version 7 (via the old import_data() method). It is still possible to specify 'defer_parent_store_computation', e.g. via an XML-RPC call such as m.execute_kw(dbname, uid, password, 'stock.location', 'load', [], {'fields': fields, 'data': data, 'context': {'defer_parent_store_computation': True}}) This will currently defer the recalculation of parent_left and parent_right, but does not correctly call _parent_store_compute() after the bulk operation is complete. Add the missing call to _parent_store_compute() to perform a one-time update of the parent_left and parent_right fields if needed after the import operation is complete. Also fix the child_of_domain() and parent_of_domain() expression methods, so that the 'child_of' and 'parent_of' operators give correct answers when updates to parent_left and parent_right have been deferred. Signed-off-by:
Michael Brown <mbrown@fensystems.co.uk> Closes #13688 (part 2/2)
-