- Aug 08, 2014
-
-
Denis Ledoux authored
-
Martin Trigaux authored
[FIX] account_anglo_savon: round prices according to account precision to avoid getting unbalanced move The standard move_line_get from account.invoice returns prices rounded (price_subtotal field as account precision) while the anglo-saxon module could return dict with non-rounded prices. With amounts with bigger precision, we could get a difference of a few cents when comparing the debit/credits and then not be able to balance the invoice (opw 597208).
-
Denis Ledoux authored
In the return result of an on_change, having keys which are not ine the view is not that bad, it is not an actual problem. Display warning instead of asserting all the keys are in the views.
-
Hardik Ansodariya authored
The id of the journal is passed in the context. Avoid trying to browse on jounral_id=False Fixes #821
-
- Aug 07, 2014
-
-
Dharti Ratani authored
The fields procure_method and supply_method are not present if we just install project_timesheet which makes the tests fail (opw 610590).
-
Denis Ledoux authored
in view_form.js, in do_show method, if the dataset index is not set, the on_button_new method is triggered, opening a new record In regular kanbans (non-grouped kanban), the dataset index wasn't set, and, therefore, when switching to the view mode, it opened a form for a new record instead of opening the first record of the list, like this is the case for the view list and the grouped kanban
-
Somesh Khare authored
-
Denis Ledoux authored
-
Foram Katharotiya authored
When displaying invoice analysis of a company, include the invoices of the members of this company (opw 611084)
-
- Aug 06, 2014
-
-
Denis Ledoux authored
-
Humberto Arocha authored
-
Stéphane Bidoul authored
-
Martin Trigaux authored
Fixing several issues for refunds in multicurrency mode that prevented the moves to be balanced. The amount_currency needs to use the absolute value, as a refund will have a negative amount. The sign for currency_rate_difference needs to use the line instead of the voucher as they can have different value. e.g. a voucher of 1000$ with invoice of 1200$ and refund of 200$ will have two lines and their currency_rate_difference should have different signs. Avoids doubling the value in foreign_currency_diff Fixes #1490, opw 607118 & 611580
-
Denis Ledoux authored
-
Denis Ledoux authored
It wasn't possible to create claims as a portal user when the portal user had a parent_id
-
Paulius Sladkevičius authored
Without clear tag total amounts breaks sheet layout.
-
Rifakat Haradwala authored
The onchange_product_id method used to only change the description if the stock.move is not saved yet. That does not make much sense. opw 607347, bug lp:1314700
-
Anaël Closson authored
The name_search was hardcoding ilike operator while it could be different. This means that a name_search "name != Agrolait" would return accounts with agrolait. A side effect of this was the impossibility to import account_analytic_account whose parent is a substring of another - opw 607315
-
- Aug 05, 2014
-
-
Anaël Closson authored
Avoid to get company names such as "L'abc" to be transformed as "L'abc" opw 607221
-
- Aug 04, 2014
-
-
Denis Ledoux authored
-
Dharti Ratani authored
As the survey hardcode lot's of views and reports in python, we do not beneficiate from automatic timezone conversions in the webclient. Hopefully this is fixed in v8 after refactoring of the survey module. opw 608786
-
Denis Ledoux authored
On child partner creation of a parent partner, the commercial_partner_id is not computed (and stored) in the create method. Therefore, we should compute the commercial_partner_id before trying to sync his data
-
Olivier Dony authored
Fixes an error introduced in f6fb2b69
-
- Aug 01, 2014
-
-
Olivier Dony authored
If any missing or partially incorrect values cause an exception other than a psycopg2 error, we should still catch it, rollback that record and report the error, rather than letting bubble and fail without any feedback to the user. Fixes #1485
-
Martin Trigaux authored
-
Martin Trigaux authored
When we compute the discount of a product to display (result of product_id_change), we compare prices in the currency of the product while we expect prices in the currency of the pricelist. opw 606188
-
Dharti Ratani authored
When a record is created, the magic fields (id, create_date,...) are first removed from the vals as the user should not set a value for these. However if a value for this is given in default value (e.g. defined in an ir.value), the creation would crash (sql error : column specified more than once) as the magic column would be added again.
-
- Jul 31, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
-
- Jul 30, 2014
-
-
Guewen Baconnier authored
-
Dharti Ratani authored
-
Martin Trigaux authored
When we duplicate a project, the related phases need to be duplicated as well but keeping references between each other. e.g. 'project 1' with 'phase A' follwed by 'phase B' should become 'project 1 (copy)' with 'phase A (copy)' followed by 'phase B (copy)'. Fixing bug lp:1212860, opw 607062
-
Ravi Gohil authored
When we cancel a voucher, we may be trying to unlink a reconciliation that was already removed on another move (just looking at the version in cache). In such cases, the unlink would fail with traceback. opw 610287
-
Denis Ledoux authored
In Settings > Sales, the onchange_timesheet ensure that if you check timesheet, it checks module_account_analytic_analysis. Therefore, if module_account_analytic_analysis is installed, timesheet should be checked by default Until now, it worked "luckily", because the onchange_timesheet of the field module_account_analytic_analysis was triggered before the onchange_timesheet of the timesheet field. Nevertheless, we shouldn't trust the onchange calls order.
-
- Jul 29, 2014
-
-
Lionel Sausin authored
Users don't care for the backorder picking precisely because they can't process it, whereas they may have to do some more things on the picking they processed: invoice it, print delivery orders or transportation stickers.. Refresh the browse record after changing the name to avoid the need to rebrowse. Fixes #1372
-
Stefan Rijnhart authored
When creating a new message, we need to reset the default_type key to avoid context propagation (e.g. invoice menu). However we used to compare the key in context (char) with the list of selections (tuple) so it was never matching and always reset.
-
Xavier Morel authored
[FIX] translate: Fix debug print when parse path list to translate.
-
- Jul 28, 2014
-
-
Denis Ledoux authored
-
Ravi Gohil authored
Display a different error message so that users are aware if the test failed with VIES enabled or not (opw 609823)
-
Martin Trigaux authored
An ir.value without condition should not match when searching with a condition. When a field with change_default on it is modified, the method get_defaults is called with the new value. This means that manually modifying a field with this trigger would put back the default value (opw 611193).
-