Commit Graph

88872 Commits

Author SHA1 Message Date
Christophe Simonis 9e8e3653f2 [MERGE] forward port of branch saas-4 up to f68c835 2014-06-25 12:43:41 +02:00
Christophe Simonis f68c83545a [MERGE] forward port of branch saas-3 up to a66f3dd 2014-06-25 12:33:17 +02:00
Christophe Simonis a66f3dd992 [MERGE] forward port of branch 7.0 up to df6b37c 2014-06-25 12:27:43 +02:00
dhr-odoo df6b37c472 [FIX] account: add multicompany rule to account.subscription.line
The wizard to generate recurring entries did not respect multicompany rules as the request was done in plain sql.
Add ir.rule and use the orm (opw 607782)
2014-06-25 12:07:02 +02:00
Denis Ledoux dee969929a [FIX] purchase_requisition: duplicated stock moves
When a purchase requisition is created from a procurement order, a first stock move is created, not associated to any purchase orders
Then, on purchase order creation and confirmation, in the purchase requisition, new stock moves are created, associated to the purchase order.
The existing stock move issued from the procurement order which created the purchase requisition remained untouched, leading to wrong inventory values
To fix this, the destination location of the stock move of the procurement order is written on the source location
A proper fix should be to use a dedicated workflow for puchase requisition, but this can't be done in 7.0, it has to be done in master/trunk
2014-06-25 12:00:14 +02:00
Christophe Simonis a1b3e22a17 [MERGE] forward port of branch 7.0 up to 4bfcbb2 2014-06-25 11:35:11 +02:00
Alexandre Fayolle 4bfcbb2a48 [FIX] fields property: do not create empty properties
fixes #595
In the case where a property for the company exists but has no related record (e.g. in case of type m2o with no defined value), not setting a value to this field for a new record would create a new property (as browse_null is not an instance of browse_record)
2014-06-25 10:57:10 +02:00
Thibault Delavallée 50871bb4fe Merge pull request #725 from odoo-dev/7.0-bug-1235237-ypa
[FIX] crm_claim: copy: reset stage + add a copy marker to the name
2014-06-25 09:15:11 +02:00
dhr-odoo b466e6e6b9 Displayed the name of Intrasat code in Intrasat Invoice report instead of browse record 2014-06-24 17:01:07 +02:00
Yogesh Parekh ac5a0b046b [IMP]: Improve copy method to set stage_id in draft stage 2014-06-24 19:05:46 +05:30
Christophe Simonis 53f7a5594b Merge pull request #622 from odoo-dev/7.0-opw-592890-msh
[FIX] search on translated field: Only search on source field if not translated.
2014-06-24 15:05:53 +02:00
Mohammed Shekha 0b593ada11 Server Translation: Fixed the issue search on translated field do not return true result, search on tranlsated field fails due to expression parsing which fetches ids from ir_translation as well as working table and UNION of this makes search fruitless, also search fails for in language other then english when you enter part of a string for the field to search. 2014-06-24 17:42:48 +05:30
Denis Ledoux e1e0cfbba8 [MERGE] Forward-port of 7.0 bugfixes up to e2201369a3 2014-06-24 13:56:51 +02:00
Denis Ledoux e2201369a3 [FIX] web: format.js, toString while parsing date
When attempting to parse client date, value is not always a string.
We force the toString when adding the leading 0, as the replace method is for string
2014-06-24 13:53:02 +02:00
Martin Trigaux 90deaf386a Merge pull request #650 from yvaucher/patch-1
[7.0] sale_stock: field sale_id should be on stock.picking.out view
2014-06-24 13:49:50 +02:00
sle-odoo fd7809f97f Merge pull request #745 from odoo-dev/saas-4-update-bootswatch-sle
[MERGE] manual merge of latest bootswatch minified stylesheets
2014-06-24 13:40:58 +02:00
Denis Ledoux 8e83dbff5d [MERGE] Forward-port of 7.0 bugfixes up to 7d3453d119 2014-06-24 12:27:09 +02:00
Denis Ledoux 7d3453d119 [FIX] purchase_requisition: broken procurement wkf
If a purchase requisition is created instead of a purchase order for a procurement order, the method make_po should not return the id of this requisition, as methods calling the make_po method expects ids of purchase orders, not purchase requisition ids.

Besides, on purchase requisition done or cancel, we set the procurement order accordingly, without the use of the workflow. We consider this as crappy, the proper fix should be the use of a dedicated workflow for purchase requisition, but I cannot be done in stable branches. This aims trunk/master.
2014-06-24 12:12:27 +02:00
Simon Lejeune 478a763cac [MERGE] manual merge of latest bootswatch minified stylesheets 2014-06-24 11:48:49 +02:00
Martin Trigaux 05a87c9f8d Merge pull request #739 from apertoso/7.0-bug-vat_intra
[FIX] l10n_be: VAT number for Intra XML declaration should not contain county code
2014-06-24 09:27:16 +02:00
Jos De Graeve b86e0a4392 [FIX] Partner VAT Intra XML delaration: Vat number format correction
The Partner VAT Intra XML delaration needs to have the VAT number
in the format without the country code prefix.

The current behaviour was to include the country code prefix in the
report which causes an SQLException error on uploading the XML file
to the Federal goverment's website.  While the error is non-descriptive
fixing the VAT number format fixes the error.
2014-06-23 18:18:42 +02:00
Martin Trigaux f9ce9a00d0 Merge pull request #17 from savoirfairelinux/7.0-m2m-context
[FIX] view_list: Add context propagation for m2m list view

If the _rec_name field of a model is translatable, the value was not translated when displayed in a list view through a many2many field (e.g. server_action_ids on base.action.rule).
2014-06-23 17:41:03 +02:00
Martin Trigaux d9e6a7a9ae [FIX] calendar: do not parse date to date
When creating an event from the calendar view, no need to parse a date to date (error undefined is not a function)
2014-06-23 16:33:41 +02:00
Martin Trigaux caea4a9aec Merge pull request #621 from odoo-dev/saas-4-fix_actions_server_controller_return-vta
[FIX] website: controller for server actions should accept basic werkzeug requests (e.g. redirections)
2014-06-23 16:05:04 +02:00
Martin Trigaux d0b3e3b8c6 [IMP] module: when uninstalling a module, do not redirect to a useless screen 2014-06-23 13:09:36 +02:00
kevin wang 59c27970b5 [FIX] orm: allow unicode in inherit views with attribute
When extending a view with position='attributes', prevent crash if view contains unicode char
Fixes #706
2014-06-23 12:48:27 +02:00
Jeremy Kersten 2b44ac2cd6 [MERGE] Gengo - Merge saas-4-gengo-jke - Fix gengo to make it working 2014-06-23 12:22:25 +02:00
Cédric Snauwaert f39ea24f0b Merge pull request #718 from odoo-dev/saas-4-modal-dropdb-fix-csn
[FIX]change password and dropdb error modal not closing
2014-06-23 12:17:02 +02:00
Cedric Snauwaert 0f825ed48e [FIX]modal: when trying to dropdb or change password, if rpc call result in error, modal was stuck 2014-06-23 11:25:22 +02:00
Jeremy Kersten 7165c0106b [IMP] Gengo - Improve call back url to have the dbname in url, else doesn't work if no dbfilter, or if more than one db (runbot) 2014-06-23 11:08:53 +02:00
Christophe Simonis 4cb5381dee [MERGE] forward port of branch saas-4 up to 1f20f61 2014-06-22 15:33:22 +02:00
Christophe Simonis 1f20f61ab4 [MERGE] forward port of branch saas-3 up to 75884c3 2014-06-22 15:30:57 +02:00
Christophe Simonis 75884c3e1a [MERGE] forward port of branch 7.0 up to 7e85786 2014-06-22 13:44:30 +02:00
Christophe Simonis 631e309554 [FIX] server: log network errors via logging. ignore EPIPE 2014-06-22 13:21:34 +02:00
Jeremy Kersten 98d5be160d [FIX] Add mising param for the call of super get_source_query 2014-06-21 18:07:31 +02:00
Jacques-Etienne Baudoux 7e85786b83 web: do not select the first result if click on search more
When searching for a record in a m2o field, if we click on 'search more' we loose the focus on the field and select the first suggestion (which triggers potential on_change). This prevents the selection for this case.
2014-06-20 17:41:09 +02:00
Ruchir Shukla 86c2426555 [IMP] module: warning when uninstalling modules
When a module is uninstalled, this will also uninstall modules depending of it. To avoid unexpected loss of data, this patch list the modules that will get impacted during the installation.
This also affects the configuration pages with on change warnings.
2014-06-20 17:36:26 +02:00
Jeremy Kersten 18bb52ee88 [FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order. 2014-06-20 17:33:09 +02:00
Richard Mathot 866dff79df [REM] Old .bzrignore file 2014-06-20 14:21:32 +02:00
Martin Trigaux bccd75796e [IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields 2014-06-20 14:11:21 +02:00
Christophe Simonis c9f6587dbc [MERGE] forward port of branch saas-4 up to 4be9142 2014-06-20 12:30:44 +02:00
Christophe Simonis 4be9142c11 [FIX] web: regenerate messed up `base.css` during commit 5087612 2014-06-20 12:27:55 +02:00
odony e32cf31fa6 Merge pull request #611 from odoo-dev/saas-3-really-fix-session-expired-fme
[MERGE]  http routing: fix handle_exception logic and _authenticate exceptions

* Better separate JsonRequest and HttpRequest handling
for exceptions, so each type of request handles exception
the right way. Previously HttpRequest would supersede
JsonRequest in some cases and generate pure HTML
responses where a JSON result was expected.
* Also ensure that ir.http._authenticate() only raises
two possible exception types, hiding any other kind
of internal errors:
 - openerp.exceptions.AccessDenied
 - openerp.http.SessionExpiredException
2014-06-20 11:02:22 +02:00
Thibault Delavallée 452c1e32da [IMP] account: removed demo data about unexisting field, causing a warning. 2014-06-19 19:04:10 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Martin Trigaux f855f1c162 Merge pull request #325 from odoo-dev/saas-3-opw-608186-acl
[FIX] sale: cannot filter on paid = False (opw 608186)
2014-06-19 16:01:23 +02:00
Christophe Simonis 5087612d1d [MERGE] forward port of branch saas-3 up to bf53aed 2014-06-19 15:44:07 +02:00
Christophe Simonis bf53aeda94 [MERGE] forward port of branch 7.0 up to e5533d0 2014-06-19 15:32:32 +02:00
Niels Huylebroeck e59077b0f9 Fix displaying of minKarma requirements 2014-06-19 15:23:54 +02:00
Martin Trigaux e5533d0c14 Merge pull request #654 from nel-odoo/patch-3
Production : Use the source location of the MO instead of the one of the BOM
2014-06-19 15:16:01 +02:00