- Jul 29, 2014
-
-
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)
-
Stéphane Bidoul authored
The accounts "TVA en amont" were not used by the l10n_lu chart of accounts. Instead the accounts "TVA en aval" were used for all taxes both sale and purchase taxes. (Manual rebase of PR #735)
-
Olivier Dony authored
-
Richard Mathot authored
Also fixes some weird inheritance bugs in upper versions
-
Martin Trigaux authored
At rev 84e9a67c a check to avoid the creation of ir.model.relation for custom modules was added. The condition is not correct as based on the string instead of the field name. We do not have access to column name at this level but the the m2m relation table do start with x_ for custom fields (see __init__ method).
-
- Jul 10, 2014
-
-
Thibault Delavallée authored
[FIX] mail: misc bug fixing - avoid deleting the Whole Company mail group if still present, because it is required for some module installation. In 7.0 installing some modules may crash if this group is not present. - fixed an issue when computing possible recipients in the Chatter - small fix in html2plaintext about blank lines
-
Loïc Bellier authored
There's a big risk of mistake with the fast-create feature and they don't need it (Rebase of PR #1073)
-
Anand-Dharampuriya authored
-
Victor Tabuenca Calvo authored
-
- Jul 08, 2014
-
-
Martin Trigaux authored
orm: do not try to create ir.model.relation for custom m2m as self._module is either empty (for custom models), either the one of the last inheriting module (which is wrong). The field should be removed manually and should not be impacted by the uninstallation of modules. The removal of the relation table can be done when removing manually the custom field (see rev 6af3193d). ir.model: when removing a model, drop the table with the CASCADE instruction. This will remove left constraints from remaining m2m tables. This means that dropping a table (either manually removing a custom model or uninstalling a module) will not drop the relation table for a custom m2m field. This is not ideal but better than the previous behaviour (which was to fail the DROP TABLE instruction and keep the table with a few columns and unconsistent data).
-
Martin Trigaux authored
When droping a column, remove also the relation table in case of custom m2m field. The relation table needs to be dropped otherwise an unremovable constraint to the targetted table is kept (and anyway is not needed anymore).
-
- Jul 07, 2014
-
-
Antony Lesuisse authored
skip the inactivate employee in leaves summary
-
Fabien Meghazi authored
lp bug: https://launchpad.net/bugs/940439 fixed bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
-