Commit Graph

89921 Commits

Author SHA1 Message Date
Cedric Snauwaert 9ea75c7dd8 [FIX]hr_recruitment: fix onchange_job user_id referenced before assignment 2014-07-09 13:40:21 +02:00
Christophe Matthieu 407bb5d23e Merge pull request #1021 from odoo-dev/saas-5-fix-routing-for-index-chm
[FIX] website: if the first menu referred to a website page and the route for this path is overwritten, the route is not used, the template has not the values of the route. (e.g. contact-us menu in first position if website_crm is installed)
[FIX] website_crm: the path '/crm/contactus' have an error if you doesn't use the website contact form or if you reload the page, instead of redirect to contact form.
2014-07-09 13:30:17 +02:00
Martin Trigaux bd163d7bd4 [FIX] product: allow user to set price at template creation
The lst_price field on product.template is a related to list_price. As we do not allow to set a value for related fields at creation (see orm.py , L4180), we display the list_price instead (float field).
On the product.product form, we display the lst_price (function field, readonly) as we don't want to allow changing the template price from the product. opw 609497
2014-07-09 13:20:48 +02:00
Raphael Collet ba5f0e7ce5 Merge pull request #1018 from odoo-dev/8.0-fix-display-name-rco
[FIX] models: wrong var used in _compute_display_name(), fixes issue #1002
2014-07-09 10:56:55 +02:00
Christophe Matthieu 6183fb105e [FIX] website_crm: the path '/crm/contactus' have an error if you does'nt use the website contact form or if you reload the page, insead of redirect to contact form. 2014-07-09 10:45:35 +02:00
Christophe Matthieu e0ed658044 [FIX] website: if the first menu refered to a website page and the route for this path is overwrited, the route is not used, the template has not the values of the route. (e.g. contact-us menu in first position if website_crm is installed) 2014-07-09 10:39:00 +02:00
Raphael Collet ca1be04d7a [FIX] models: wrong var used in _compute_display_name(), fixes issue #1002 2014-07-09 10:26:01 +02:00
Christophe Matthieu e26623da01 merge from 8.0 2014-07-09 09:43:02 +02:00
Xavier Morel 4ac8682b52 [FIX] False module description blows up in docutils
fixes issue 1005
2014-07-09 08:47:37 +02:00
Raphael Collet 37b82523e8 [FIX] fetchmail: add api decorator on method connect() to fix issue #980
The method does not follow naming conventions. Therefore the "guessing" api
decorator picks the wrong method wrapper.

(Manual rebase of #1003)
2014-07-08 18:30:22 +02:00
Olivier Dony 1ddb3439be [FIX] account_analytic_account: handle partners without fiscal position gracefully 2014-07-08 17:44:40 +02:00
Jeremy Kersten faba7cd5aa [IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_mailing, crm_lead and sale_order 2014-07-08 17:33:00 +02:00
Raphael Collet 9ccdbcaca3 Merge pull request #989 from odoo-dev/8.0-sql-models-rco
[FIX] models, fields: add model dependencies for models backed up by sql views
2014-07-08 16:27:01 +02:00
qdp-odoo e9abc723c0 Changed the type of fields.date_order on purhcase.order object from date to datetime 2014-07-08 16:04:09 +02:00
Martin Trigaux 84e9a67cdf [FIX] orm: better removal of custom m2m fields
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 6af3193).

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).
2014-07-08 15:56:24 +02:00
Raphael Collet 2d39a4fada [FIX] account_analytic_analysis: fix _depends 2014-07-08 15:55:42 +02:00
Jeremy Kersten 8b3d19921a [FIX] Crm partner assign: Sort the partners by grade / published implemented. else the display are not explicit on website, because old order takes all the implemented partner but on website we display the number of reference published 2014-07-08 15:54:00 +02:00
Raphael Collet 603bde1b1b [IMP] fields: improve code in former commit 2014-07-08 15:52:02 +02:00
Raphael Collet b05cf32b8f [IMP] fields: add missing case for invalidating fields, when path is None 2014-07-08 15:47:44 +02:00
Raphael Collet 2398f480cd [IMP] addons: add _depends on models backed up by an sql view and used by other models 2014-07-08 15:32:38 +02:00
xmo-odoo f5fb6613d6 Merge pull request #998 from xmo-odoo/8.0-module-descriptions-xmo
Don't include xml declaration when compiling rST module descriptions to HTML
2014-07-08 15:31:38 +02:00
Raphael Collet 34dac62d32 [IMP] models: add an extension mechanism for attribute _depends on models 2014-07-08 14:52:23 +02:00
Xavier Morel 2f3aa63617 [FIX] compile of rst module descriptions to HTML
lxml (used by the html sanitizer) really does not like documents as unicode
strings with an encoding declaration (which doesn't make sense indeed), yet
docutils with output_encoding=unicode generates one (a stupid one too, says
"encoding=unicode").

Disable the xml declaration altogether when compiling rST module declarations
to HTML.
2014-07-08 14:39:24 +02:00
sle-odoo 95cc7054ec Merge pull request #993 from odoo-dev/saas-5-issue-902
[MERGE][FIX] product: incomplete declaration of report pricelist
2014-07-08 14:29:38 +02:00
Raphael Collet 2859d24c5e Merge pull request #996 from odoo-dev/8.0-id-field-type-rco
[FIX] fields: add a type to field Id; this fixes #990
2014-07-08 13:59:21 +02:00
Martin Trigaux 6af3193d17 [FIX] ir.model.fields: better unlink
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).
2014-07-08 13:55:48 +02:00
Raphael Collet 3fdc232352 [FIX] fields: add a type to field Id; this fixes #990 2014-07-08 13:29:45 +02:00
Atul Patel 5207f12be0 [FIX]product: disable menu name come from report declaration.because it's called from wizard 2014-07-08 16:11:28 +05:30
Raphael Collet a6b025d6d9 [FIX] models, fields: add model dependencies for models backed up by sql views 2014-07-08 10:16:16 +02:00
Christophe Matthieu 4117c9c3ed [FIX] product: add menu item to attributes and attribute values. Adding constraint to prevent deleting attributes with references to products. 2014-07-08 09:12:17 +02:00
Josse Colpaert beb12f71f1 Merge branch 'odoo/8.0' into master-wmsstaging4-jco 2014-07-07 23:34:42 +02:00
Josse Colpaert e309159eb1 Merge branch '8.0' of https://github.com/odoo/odoo into odoo/8.0 2014-07-07 23:34:12 +02:00
Josse Colpaert bdfdba0de4 [IMP] Update manufacturing 2014-07-07 23:33:47 +02:00
Josse Colpaert 2518767005 [IMP] Start of extra primary view on product template that is not inherited by product_product 2014-07-07 21:45:11 +02:00
antonylesuisse 6b274e4451 Merge pull request #946 from joshuajan/7.0_hr_holidays_report_fix
skip the inactivate employee in leaves summary
2014-07-07 20:48:19 +02:00
Raphael Collet e9fae40faf Merge pull request #976 from odoo-dev/8.0-fix-model-init-rco
[FIX] models: reorganize model instantiation
2014-07-07 20:37:11 +02:00
Fabien Meghazi c0aa86b9ab [FIX] configuration file dbfilter's option has no effect
lp bug: https://launchpad.net/bugs/940439 fixed

bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
2014-07-07 18:08:31 +02:00
Martin Trigaux 90f7eaa094 [FIX] portal: avoid errors during autovacuum
When the cron for autovacuum runs, the osv_memory objects are deleted. The portal.wizard.user object has a required field (wizard_id) linked to another osv_memory object (portal.user) which causes a traceback when the cron tries to delete portal.user object before the portal.wizard.user. opw 609918
2014-07-07 17:12:27 +02:00
Christophe Matthieu e3d9db2bab [FIX] stock: update and request procurment button use active_id to se the product. Fix to use this buttons on product template. 2014-07-07 16:58:47 +02:00
Christophe Combelles 740d5c6cd3 [FIX] Fix broken translation cache for absent translation of 'false' 2014-07-07 17:29:11 +03:00
xmo-odoo 957c0cca1c Merge pull request #970 from xmo-odoo/8.0-remove-unnecessary-listifications-xmo
Remove redundant calls to list()
2014-07-07 16:15:23 +02:00
xmo-odoo 48c16e4b26 Merge pull request #969 from xmo-odoo/8.0-fix-weakset-listification-xmo
Unsafe listification of weakref in Python < 2.7.4
2014-07-07 16:15:02 +02:00
Christophe Matthieu 78acd983b6 [FIX] crm: missing image for description 2014-07-07 16:14:50 +02:00
Christophe Simonis e5b0933743 [FIX] data-dir management
- sessions are now shared between series.
- use site data dir instead of user data dir if user has no home dir.
- in http and module handling, `data-dir` was used before being
initialized, using the default value instead of user input

(fixes #308, #904)
2014-07-07 15:49:24 +02:00
Raphael Collet 09f094ff7f [FIX] models: reorganize model instantiation, which was broken when adding custom fields 2014-07-07 15:47:27 +02:00
Olivier Dony 139d868c94 [REL] 8.0 RC1 2014-07-07 15:25:42 +02:00
Christophe Matthieu ac43bda48a [FIX] web_kanban_gauge: don't use fit=true for raphael.js because preserveAspectRatio svg attribute is wrong 2014-07-07 15:20:14 +02:00
Christophe Matthieu fff2660c0c [FIX] web_diagram: don't try to load raphael.js lib. The lib is already loaded in the js asset 2014-07-07 14:58:12 +02:00
Raphael Collet 130f890215 Merge pull request #964 from odoo-dev/8.0-remove-getattr-rco
[REM] models: remove the magic methods signal_XXX()
2014-07-07 14:49:49 +02:00
jkei 47dd44be43 [FIX] account: typo in get_fiscal_position()
Fixes #971:

File "/Users/keje/src/odoo/addons/account/partner.py", line 107, in get_fiscal_position
    return part.property_account_position.id
NameError: global name 'part' is not defined
2014-07-07 14:48:20 +02:00