- Sep 02, 2014
-
-
Olivier Dony authored
Added some cryptic comments so we remember a bit why we have a complicated dance with on_close. Basically we do not want to reload the original form view until the last popup is closed, in the case where several wizard (steps) are opened one after the other.
-
Denis Ledoux authored
-
Denis Ledoux authored
If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
-
- Sep 01, 2014
-
-
Anaël Closson authored
When parsing incoming messages, ignore white-space around In-Reply-To headers, and extract message-id items inside the References header using a regex. This actually serves as a workaround for broken MTAs mangling References (such as outlook.com nesting past ones with commas, violating RFC2822). Closes #516 as a manual rebase.
-
- Aug 29, 2014
-
-
Denis Ledoux authored
This reverts commit 97d097a2. As explained in the commit comments (on Github), this patch leads to an infinite loop in 7.0, the filter of the pos orders report using the '=' operator in its domain, which is not available for datetime fields, but is for date fields. This should not be forward ported to newer release (saas-3)
-
Denis Ledoux authored
-
- Aug 28, 2014
-
-
Christophe Simonis authored
This was added as a security check, but access to this field is need by the wizard itself. As non employee users can't read/create email templates, this will not be problematic
-
Christophe Simonis authored
-
- Aug 27, 2014
-
-
Leonardo Donelli authored
Fixes #811
-
Ravi Gohil authored
Explicitely refresh invoice browse_record(...) in order to have correct 'date' in account.move. Use context_today() date instead of time.strftime() for date_invoice. (opw 611210)
-
- Aug 26, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Denis Ledoux authored
without having the rights to read ir.config_parameter
-
Denis Ledoux authored
-
- Aug 25, 2014
-
-
Daniel Dico authored
-
Daniel Dico authored
-
Denis Ledoux authored
Nor modify once approved It wasn't possible for employees to approve their holidays themself, thanks to the GUI, but this was possible through xmlrpc calls, or when altering the html directly in the browser. Besides, this was also possible to edit the holiday through the same trick once the holiday validated
-
Ravish Murari authored
In case we have no defined action (e.g. redirection by python code), adding a dashboard should not be possible as the rendering based on the action. This patch hides the 'Add to Dashboard' button in search view (opw 611288)
-
- Aug 22, 2014
-
-
Martin Trigaux authored
When a pos session is closed & confirmed, the account.move were generated with the commercial partner except for the bank statement which prevented automatic reconciliation. This patch uses the commercial partner also for bank statement. Fixes #1558, #1764
-
Martin Trigaux authored
In case of IMAP, the email is simply set as read but in case of POP, the email is deleted. To avoid loosing data (e.g. misconfiguration of server), the email is kept for POP. Bug lp:1296724, opw 605667
-
- Aug 21, 2014
-
-
Martin Trigaux authored
When a new ir.model.field is created, add the new field in the fields_by_model (cache of custom fields). This is required as the __init__ method would not retrieve the new field if fields_by_model is already set. Otherwise, the _columns would not contain the new fields and we could not access it without restarting the server (e.g. the installation of a module adds ir.model.fields and use it in the a view.
-
Binjal Desai authored
-
Martin Trigaux authored
Comparing an id and a browse record will always fail so the exception would have always been raised when changing a model (e.g. updating a module with custom fields).
-
Foram Katharotiya authored
Fixes #1743, opw 611307
-
Denis Ledoux authored
product_id column of pos_order_line is a product_product the left join of l.product_id was done on product_template, instead of product_product It worked as long as the ids product_product were the same as product_template. Meaning that, if you used variants, this report view was screwed.
-
- Aug 20, 2014
-
-
Guewen Baconnier authored
When this situation happens. the 'cost' is None and the web interface cannot handle this value, provoking a JS error. Thus, prefer to fallback on the standard way to get the cost: based on the current standard price of the product. Fixes #1032
-
Martin Ambroz authored
-
- Aug 19, 2014
-
-
Sandy Carter authored
The buttons for new providers needs at least the zocial css class to be seen as button. As the field css_class is not in the default form view, add it by default.
-
Sébastien Beau authored
-
David Arnold authored
The type 'general' no longer exists on a account.voucher. As in general context, removed the default value on this menu. Fixes #1261, it produces a traceback in 8.0 where the selection fields are less fault-tolerant.
-
- Aug 18, 2014
-
-
Martin Trigaux authored
The field tax_amount is fieled with onchanges and the compute_tax method. Setting a different value than the one computed by the system may lead to unbalanced move (which is obviously wrong). In the future, handeling these operations by setting the correct value to the tax accounts would be better.
-
Martin Trigaux authored
The field partner_id is not required on an account.voucher but the validation was failing if none was set (opw 611663). This patch makes a fallback on the account of the voucher if neither a partner nor a writeoff account is specified.
-
Thomas Groutars authored
When uninstalling/updating a module, we may execute unlink method on product.template before product.product. In such cases, the product is already removed after removeing the template (_inherits) and the chained unlink of the product would fail (traceback when browsing).
-
- Aug 14, 2014
-
-
Denis Ledoux authored
The date_order field of the pos.order is a datetime, not a date As, in report.pos.order, the date field is related to date_order of the pos.order We usually do not commit fixes altering the model fields structure in 7.0, but this one is retro-compatible, as the database structure won't change
-
Denis Ledoux authored
Sometimes, focus_field could be a button, and in such cases, we should not focus on it opw-612045
-
Rifakat Haradwala authored
Inventory lines without production lot number should be compared with the stock level of products without a production lot. Otherwise the final result of a validated inventory is wrong as soon as there are lines with and without production lot for the same product. Adds corresponding regression test. Fixes https://bugs.launchpad.net/openobject-addons/+bug/1008099 Manual rebase of #1658, courtesy of Numerigraphe
-
Olivier Dony authored
Avoid revalidating the complete account moves that contain the lines being reconciled. The reconciliation does not change the validity of those moves anyway. This represents a very important speed up of reconciliation when moves with several hundred lines are involved.
-