- 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).
-
Humberto Arocha authored
As for the view accounts, the consolidation accounts should not allow to create journal items. Fixes #1090
-
- Jul 25, 2014
-
-
Mathieu Benoit authored
-
Denis Ledoux authored
In the Employee form, a remaining legal leaves field is available, which shows remaining validated leaves from allocation requests As this is not allowed to delete a validated allocation requets, it shouldn't be possible to reduce the validated remaining leaves of an employee. To reduce the remaining leaves of an employee, the user should cancel and remove the allocation request
-
Denis Ledoux authored
Allowing UNPACK_SEQUENCE allows the use of the "multi" assignation: a, b = [1,2] for a,b in items
-
Denis Ledoux authored
If the selection label (not value) had accents, it wasn't possible to import it using the label having accents
-
Sabrina Romero authored
-
- Jul 24, 2014
-
-
Denis Ledoux authored
The user_id is already set by the prepare_invoice method, which is called before the prepare_invoice_group (the user_id is already set, thus) Besides, _prepare_invoice is overriden in sale_stock, to set the picking sale order salesman as user_id, and, without this correct, grouping invoicse by partner re-set the user_id to uid, which is wrong.
-
Yannick Vaucher authored
lp:1223922, opw 609656
-
Ravi Gohil authored
Purchase orders created with invoice policy 'Based on incoming shipments' were not keeping the reference to the account analytic distribution when invoiced. opw 607577
-
- Jul 23, 2014
-
-
Sandy Carter authored
When a record is created, if it inherits from mail.thread, a message 'OBJECT created' is posted. 'created' is translated but the name of the model wasn't. This fix uses the name of the linked ir.model which is already a translatable field. lp:1262000, opw 611043
-
Martin Trigaux authored
Missing backport of commit f652402d for buffered dataset Again, should not be forwardported
-
Hardik Ansodariya authored
Bug lp:1222289, opw 597639
-
- Jul 22, 2014
-
-
Martin Trigaux authored
The computation expects uom and it was wrongly passing uos qunatities.
-
Anaël Closson authored
If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883) This is a partial backport of saas-4 code (rev c0db6aec, 162ad1c0) and should not be forward ported.
-
Dhruti Shastri authored
fixes #938, opw 610318
-
- Jul 18, 2014
-
-
Denis Ledoux authored
When creating an invoice from a sale order, if the user choose to invoice a fixed price (deposit), he has the possibility to choose an advance product. As described in the help message, this product should be a service product. Therefore, we add a domain so only services are displayed in the dropdown list
-
Martin Trigaux authored
If we try to generate twice entries on the same fiscal year, we can get completly unrelated errors ("You can only reconcile journal items with the same partner"). With this, we make sure people will first cancel the entries before regeneraing the entries.
-
Denis Ledoux authored
Avoid to run the procurement scheduler multiple times in the same time, otherwise, they tend to interfere with each others
-
Jérome Maes authored
-
Mario Arias Badila authored
To search the contracts for payroll, the domain is constructed with three clauses. Each of these clauses needs to start with a '&' to make sure they are correctly combined with the OR clause'
-
- Jul 17, 2014
-
-
Martin Trigaux authored
When searching for default values, if we set a condition (e.g. 'type=out_invoice'), fetch also the default values without any condition set. Thanks to the order by clause, the one with a condition have an higher priority than the one without and will not affect existing result. This fixes default journal/currency on an invoice where the journal is retrieved in the onchange_company_id method (domain is forced). Without this patch only ir.values with a domain set will match, opw 610645
-
- Jul 11, 2014
-
-
Thibault Delavallée authored
[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version.
-
Stéphane Bidoul authored
Account 655 and its child 6554 were both mapped. Fixed by unmapping 655 and mapping all its direct children. (Manual rebase of PR #733)
-