Commit Graph

91826 Commits

Author SHA1 Message Date
Martin Trigaux e84b569fe4 [FIX] mrp_operation: missing context
It is present in mrp declaration but was not in mrp_production which was problematic if another module inherit as well from action_produce_end.
2014-11-26 09:18:53 +01:00
antonylesuisse 6fe2723e52 Merge pull request #3822 from the-digital-engineer/patch-1
updated deb-repository URL
2014-11-25 23:26:30 +01:00
Denis Ledoux b499eac2ed [FIX] website: the attachment creation improvment of a3e578068e must be done on res_model
instead of type
2014-11-25 19:26:13 +01:00
Martin Trigaux 7dca12ee08 [FIX] product: comparison of currency rounding
Setting 0.0001 as precision used to be converted to 9.999999999999999e-05
precision_digits of 6 is the precision of the field 'rounding' on res.currency
Fixes #3875
2014-11-25 18:41:00 +01:00
Olivier Dony e5f7b56735 [FIX] ir.ui.view: deletion of parent view should not cascade
This is safer to avoid inadvertently dropping customizations,
and does not impact the normal update/uninstall process, which
is based on the dependency order.
2014-11-25 18:38:39 +01:00
Denis Ledoux bd338a779a [FIX] stock: typo incomming -> incoming in demo & tests
I avoid to change external ids, in case some custom/community modules use it in their own tests
2014-11-25 17:38:32 +01:00
Arthur Maniet a8ae0ffbb4 [IMP] account: bank statement reconciliation proposition:
- find a move line whose amount exactly matches the bank statement line amount even if it has no partner
- properly handle multicurrency
- if there's no exact match, look for a set of move line whose amount is <= to the statement line's amount
2014-11-25 16:48:32 +01:00
Jeremy Kersten ade51a9ea1 [FIX] survey: Was browsing a browse record, useless and traceback... https://github.com/odoo/odoo/issues/2383 2014-11-25 15:06:59 +01:00
Denis Ledoux a3e578068e [FIX] website: improve performance for attachment creation
website introduces two new stored function fields, which depend on the attachment data
The thing is, these two fields are pertinent for website attachments only
Therefore, we avoid to read the datas field when the attachment is not a website attachment(when not needed), as this is the most costly field to read
2014-11-25 14:39:54 +01:00
Géry Debongnie 20a8b0e66a [FIX] correctly set searchview id (web client)
The issue is that when a default searchview is requested, it is
initialized without its view_id.  Result: debug mode can't edit the
search view.  This commit makes sure that when the field_view_get is
received, the correct view_id is set.
2014-11-25 13:11:15 +01:00
Raphael Collet cd2a432362 Merge pull request #3645 from odoo-dev/8.0-fix2manyupdateonchanges-chs
[FIX] api: avoid to return all fields *2many in onchanges
2014-11-25 12:42:36 +01:00
Raphael Collet ebdbd9f8b7 [FIX] fields: in *2many convert_to_write(), return all fields for new records and dirty fields for existing records 2014-11-25 11:25:50 +01:00
Martin Trigaux 1b4953c892 [FIX] mrp: allow to select BoM with a product template only 2014-11-25 09:55:21 +01:00
Josse Colpaert 23c010c9b4 [IMP] Incoming, outgoing and virtual quantities should not take draft moves into account 2014-11-24 22:38:51 +01:00
Olivier Dony 784665e6bd [DOC] web: search view: extra info about key events handling
Complements bde1a4432f
2014-11-24 18:50:35 +01:00
Denis Ledoux bb5d32b4b6 Revert "[FIX] stock_picking_wave: removed obsolete many2many widget from stock_picking_wave_view"
This reverts commit 436bbb0a48.

The many2many widget is usefull, as it allows to select an existing picking instead of creating a new one when clicking add an item from the list
2014-11-24 18:38:14 +01:00
Denis Ledoux 6feefe4d10 [FIX] product_extended: price from bom is build for product templates
As it sets the standard_price field, which is defined on product templates only: setting the standard price of a product variant will lead to set the standard price to all the variants of the product template.

There is therefore no meaning to compute and set the standard price of product variants according to the boms
2014-11-24 18:01:20 +01:00
Raphael Collet 5ae3215f21 [FIX] test_new_api: fix/simplify the result of the onchange on one2many fields 2014-11-24 17:22:47 +01:00
Jamin Shah 1276d01f27 [IMP] account : Add reference field to Invoice report 2014-11-24 16:58:36 +01:00
Denis Ledoux 6061ccda54 [FIX] mail: batch_size expects an integer 2014-11-24 16:42:26 +01:00
Denis Ledoux bbd20dbbc5 [FIX] mail: allow to set own batch size for mass mailing 2014-11-24 16:38:12 +01:00
Raphael Collet bc8c7596a5 [IMP] models: rework the API that deals with dirty fields on records 2014-11-24 15:31:18 +01:00
the-digital-engineer 839e69e6d1 updated deb-repository URL
was : openerp.com; new : odoo.com
2014-11-23 21:08:36 +01:00
Simon Lejeune 467968b79a [FIX] tools: find_in_path: config is not ready at import time
commit f76d4525a was not actually working: extra keys from
config files are not yet into the config options dict at
import time. The fix is to move the logic inside the method,
like in `find_pg_tool` just below.

Also fix the use of `find_in_path` in report.py: the subprocess
may also raise AttributeError exception, so instead of listing
all the possible ones just re-raise the IOError shallowed by
`find_in_path` when the result is None.

Fixes #3809 #3811
2014-11-23 15:22:02 +01:00
Jeremy Kersten 4617f665b9 [FIX] website_editor: smallest pictogram was unselectable. 2014-11-21 18:23:22 +01:00
Simon Lejeune 1e009e4c45 [FIX] packaging: windows: installer images odooification 2014-11-21 18:08:12 +01:00
Simon Lejeune f76d4525a3 [ADD] tools: handling of bin_path key in find_in_path
The openerp-server.conf now generates the bin_path record, in order
to resolve calls to external binaries served in the thirdparty dir.

Adpated report.py to use find_in_path and not directly which.
2014-11-21 18:08:12 +01:00
Simon Lejeune d804ba36a8 [ADD] packaging: windows: bundle wkhtmltopdf and lessc 2014-11-21 18:08:12 +01:00
rmu-odoo 299e39555b [FIX] payment_transfer: correctly display transfer information
When moving fields name -> provider on payment.acquire, the condition in payment_transfer was not updated.
This lead to no post_msg value in the Wired Transfert acquire.
Fixes #2423, opw 613934
2014-11-21 17:58:43 +01:00
Jeremy Kersten ef72a96de7 [FIX] google_calendar: update tuto to create credential for google Calendar API. Google changes suddenly the process. Before that was optional, now without it, customers have an error 400 redirect_uri_mismatch 2014-11-21 16:23:38 +01:00
Mario Arias Badila 9db0face13 POS is loading all partners, not only customers
Hi,

Adding domain to res.partner model, so POS only loads "customers"
2014-11-21 09:20:45 -06:00
Denis Ledoux 7a2ba5ca47 [FIX] website_sale: apply reduction code
The line being deleted in this revision looks to have been useful when it was introduced in this commit:
36fc910

As the sale order was updated right away through the update_pricelist method
But since this rev. 22f4c31, the sale order is updated later, and reset the sale_order_code_pricelist_id value in the session right after setting it prevent to apply the pricelist of the promotional code...
2014-11-21 15:56:37 +01:00
Jeremy Kersten cafbf0714e [IMP] website_blog: Add menu, form view and tree view to manage tags. 2014-11-21 15:53:32 +01:00
Christophe Simonis abcba53a7f [FIX] http.py: log 400 errors 2014-11-21 15:25:44 +01:00
Christophe Simonis 3e2eca45cb [FIX] website_crm: contactus: do not polute lead creation values 2014-11-21 15:05:48 +01:00
Christophe Simonis 06246bac9a [FIX] crm: set the oldname of field crm.lead.medium_id 2014-11-21 15:03:12 +01:00
Josse Colpaert 8f20351ef5 [IMP] Show product_uom_qty instead of normalized quantity in mrp order report 2014-11-21 14:55:40 +01:00
Christophe Simonis ad98da68f3 [IMP] http: do not log traceback for Warnings 2014-11-24 13:52:36 +01:00
Denis Ledoux 72874e1a21 [REF] mail: extract auto subscribe notifications sending into a sub-method
To allow customization, such as do not send the notification to the partner that subscribed himself to the thread (he probably already read the thread, no need to send him an email)
2014-11-24 12:15:44 +01:00
Denis Ledoux cfe89db1c9 [FIX] im_chat: unlink im chat presence on user deletion
It wasn't possible to delete a user if he had a im chat presence linked to him.
2014-11-24 11:36:10 +01:00
Richard Mathot f636096638 [FIX] doc/backend: typos in example code 2014-11-24 10:22:47 +01:00
Géry Debongnie 5f756d2510 [FIX] yet another filter fix... (crm reporting)
Same problem as before: filters do not compose properly with the implicit
'&', and they are filtering on the wrong model (should filter on probability
in the crm.case.stage model and not on the crm.opportunity.report)
2014-11-24 09:09:34 +01:00
Xavier Morel 8fb2c06a47 [CHG] doc: company officially renamed 2014-11-24 09:05:23 +01:00
Xavier Morel ec7736a051 [ADD] ws doc: introspection, reports and workflows
* use static imports in java examples to make them terser
* inline ``domain`` in java and php example to make examples more
  self-contained
* try to extend/improve Model.write's docstring
* add convenience kwarg to fields_get, mostly for user-driven
  introspection

Closes #3689
2014-11-24 08:54:55 +01:00
Jeremy Kersten 8251806741 [FIX] web_calendar: improve the commit 787147d. This commit was fixing bug in other module that calendar which was open an event in popup view. Because browse/read by default was unable to read string id. The fix was too restrictif, because calendar need to read/browse string; we cannot cast this id in Int else we loose the virtual part. parseInt('12-20140512') -> 12. 2014-11-21 14:07:09 +01:00
Jeremy Kersten de641ccbf8 [FIX] calendar: allow to sort in tree view the starting date (start, start_date, start_datetime) (hack for V8) 2014-11-21 14:07:09 +01:00
Géry Debongnie bde1a4432f [FIX] fix autocompletion problems with quick presses
Problem was that when the user types quickly in the search bar and press
enter, the keydown event of the enter key happens before the keypress
event of the last key entered.  This means that the autocompletion has
a wrong string.  The fix is to move the enter selection detection from
keydown to keyup.
2014-11-21 12:04:23 +01:00
Olivier Dony cc762004ed [FIX] calendar: support non-ascii chars in date/time format
The calendar module generates string values with
a date/time formatted according to the user
language. Those formats may contain non-ascii
characters and are read as unicode strings,
but fed to str{p,t}time, which only accepts
byte strings (in Python 2).

This would cause an exception when loading calendar
notifications for a user using e.g. Chinese with
some CJK unicode chars in the date/time format.
2014-11-20 18:16:41 +01:00
Binjal Desai 4c550d73c8 [FIX] mass_mailing: attachments were not send. 2014-11-20 16:32:53 +01:00
Christophe Simonis 473fe9a331 [FIX] http.py: invalid request must return a status code 400 2014-11-20 16:06:55 +01:00