Thibault Delavallée [Mon, 14 Jul 2014 09:04:40 +0000 (11:04 +0200)]
Merge pull request #1141 from odoo-dev/master-supplier_invoice_issue-rda
[IMP] accounting: fixed small inconsistency in demo data
Fabien Pinckaers [Fri, 11 Jul 2014 15:20:49 +0000 (17:20 +0200)]
[IMP] SEO layout
Fabien Meghazi [Fri, 11 Jul 2014 11:52:24 +0000 (13:52 +0200)]
Merge pull request #1101 from odoo-dev/master-less-support-in-bundles-fme
[ADD] Support for LessCSS in asset bundles
Also added option in order to include asset bundles in
templates list available to the HTML editor
Fabien Meghazi [Fri, 11 Jul 2014 08:56:17 +0000 (10:56 +0200)]
[ADD] Support for LessCSS in asset bundles
Also added option in order to include asset bundles in
templates list available to the HTML editor
Fabien Meghazi [Fri, 11 Jul 2014 07:47:05 +0000 (09:47 +0200)]
Merge remote-tracking branch 'odoo/master' into master-less-support-in-bundles-fme
Christophe Simonis [Thu, 10 Jul 2014 20:50:21 +0000 (22:50 +0200)]
[MERGE] forward port of branch 8.0 up to f654a77
Christophe Simonis [Thu, 10 Jul 2014 20:49:53 +0000 (22:49 +0200)]
[MERGE] forward port of branch saas-5 up to 73d39a0
Christophe Simonis [Thu, 10 Jul 2014 20:12:16 +0000 (22:12 +0200)]
[MERGE] forward port of branch saas-4 up to a361947
Christophe Simonis [Thu, 10 Jul 2014 20:02:58 +0000 (22:02 +0200)]
[MERGE] forward port of branch saas-3 up to a35aec2
Christophe Simonis [Thu, 10 Jul 2014 20:02:01 +0000 (22:02 +0200)]
[MERGE] forward port of branch 7.0 up to 6e96ffd
Richard Mathot [Thu, 10 Jul 2014 18:28:21 +0000 (20:28 +0200)]
[TYPO] in website_partner
Loïc Bellier [Thu, 10 Jul 2014 11:20:00 +0000 (13:20 +0200)]
[FIX] stock: remove permission to create locations for partner managers
There's a big risk of mistake with the fast-create
feature and they don't need it
(Rebase of PR #1073)
Josse Colpaert [Mon, 23 Jun 2014 07:30:42 +0000 (09:30 +0200)]
[IMP] default priority if no moves in picking
qdp-odoo [Thu, 10 Jul 2014 17:03:07 +0000 (19:03 +0200)]
[FIX] purchase_requisition: converting the date into datetime using the timezone of the requisition's responsible
Xavier Morel [Thu, 10 Jul 2014 15:34:48 +0000 (17:34 +0200)]
[FIX] small potential encoding issue in custom models
Thibault Delavallée [Thu, 10 Jul 2014 14:54:43 +0000 (16:54 +0200)]
Merge pull request #1067 from odoo-dev/saas-5-forum-answer-order-fix-htr
[FIX] website_forum: fix answers display order (correct, then votes, then write_date)
Thibault Delavallée [Thu, 10 Jul 2014 14:42:57 +0000 (16:42 +0200)]
Merge pull request #1066 from odoo-dev/master-setting-paa
[IMP] event: better settings to install some event-related modules
qdp-odoo [Thu, 10 Jul 2014 14:24:04 +0000 (16:24 +0200)]
[FIX] purchase_requisition: use fields.date.date_to_datetime() to convert date into datetime... which simply makre sense
parthiv patel [Thu, 10 Jul 2014 06:43:20 +0000 (23:43 -0700)]
[ADD] l10n_sg: Chart of accounts and chart of taxes for Singapore
(Rebase of PR #1057)
Richard Mathot [Thu, 10 Jul 2014 13:22:03 +0000 (15:22 +0200)]
[FIX] mail: bad display of aliases on user forms
(Partial backport of commit
1f8615699105e75ccbe9dc36c8ff9266868bbfb0)
Closes #800.
sle-odoo [Thu, 10 Jul 2014 12:37:33 +0000 (14:37 +0200)]
Merge pull request #1072 from anybox/fix_address_display
[FIX] #1065 display_name does not display the address
Richard Mathot [Thu, 10 Jul 2014 12:11:01 +0000 (14:11 +0200)]
[TYPO] in event, event_sale
Fabien Meghazi [Thu, 10 Jul 2014 12:01:03 +0000 (14:01 +0200)]
[ADD] Option to list asset bundles in templates editor
Christophe Combelles [Thu, 10 Jul 2014 11:26:38 +0000 (14:26 +0300)]
[FIX] #1065 display_name does not display the address
FalcoBolger [Wed, 9 Jul 2014 08:33:01 +0000 (10:33 +0200)]
FIX email_template: Update help from lang field leading to confusion while creating a template
FalcoBolger [Thu, 10 Jul 2014 09:26:19 +0000 (11:26 +0200)]
[FIX] event_sale: do not crash when empty field product in ticket types lines
Christophe Matthieu [Thu, 10 Jul 2014 09:05:01 +0000 (11:05 +0200)]
Merge pull request #1039 from odoo-dev/8.0-fix-sitemap-chm
[FIX] website: error for rendering of the sitemap template. qweb can't render the xmlns attribute.
qdp-odoo [Thu, 10 Jul 2014 07:18:34 +0000 (09:18 +0200)]
Merge pull request #1000 from odoo-dev/8.0-po-as-datetime-qdp
Changed fields.date_order on purchase.order from date to datetime
Thibault Delavallée [Wed, 9 Jul 2014 14:47:09 +0000 (16:47 +0200)]
[FIX] website_forum: fixed issue with user vote badly taken into account when upvoting / downvoting + crash due to wrong field name. Backport of Leonardo Donelli PR for
Fabien Pinckaers [Wed, 9 Jul 2014 16:51:07 +0000 (18:51 +0200)]
CSS Fix: /shop
Fabien Pinckaers [Wed, 9 Jul 2014 16:48:25 +0000 (18:48 +0200)]
CSS Fix for Products in /shop
Christophe Matthieu [Wed, 9 Jul 2014 16:00:24 +0000 (18:00 +0200)]
Merge pull request #1001 from odoo-dev/master-fix-website_sale-double-price-chm
[FIX] website_sale: discount price is never hide
Jeremy Kersten [Wed, 9 Jul 2014 15:45:40 +0000 (17:45 +0200)]
[IMP] website_sale: Add google analytics on checkout process
Raphael Collet [Wed, 9 Jul 2014 14:42:56 +0000 (16:42 +0200)]
Merge pull request #1037 from odoo-dev/8.0-accesserror-on-logaccess-rco
[FIX] models: store FailedValue in cache on log_access fields, too
Martin Trigaux [Wed, 9 Jul 2014 14:42:22 +0000 (16:42 +0200)]
[FIX] mass_mailing: load images in emails
The emails containing emails generated with the image widget have absolute path (src='/website/static/...'), adding <base> tag allows the mail client to load it correctly.
Christophe Matthieu [Wed, 9 Jul 2014 14:10:08 +0000 (16:10 +0200)]
merge from 8.0
Christophe Matthieu [Wed, 9 Jul 2014 14:03:54 +0000 (16:03 +0200)]
[FIX] website: error for rendering of the sitemap template. qweb can't render the xmlns attribute.
Christophe Matthieu [Wed, 9 Jul 2014 13:57:15 +0000 (15:57 +0200)]
Merge pull request #1036 from odoo-dev/8.0-fix-log-error-tour-chm
[FIX] tour.js: display a wrong error message when an error is detected with phantomjs test tour
Raphael Collet [Wed, 9 Jul 2014 13:34:51 +0000 (15:34 +0200)]
[IMP] models: iterating over record._cache also returns log_access fields
Raphael Collet [Wed, 9 Jul 2014 13:08:29 +0000 (15:08 +0200)]
[FIX] models: store FailedValue in cache on log_access fields, too
This should fix an issue discovered by tde when reading all fields on a record
on which you don't have access right:
- _read_from_database() fetches result and store it in cache
- read() retrieves values from cache, starting with field 'create_date'...
- ... which is not in cache, so prefetch that field, read it, which goes into
an infinite loop
The problem is that _read_from_database() finds out that you don't have access
on the record, and stores a FailedValue in cache on all fields... except magic
fields. Fix the problem by storing the FailedValue on all fields but 'id'.
Cédric Snauwaert [Wed, 9 Jul 2014 13:12:33 +0000 (15:12 +0200)]
Merge pull request #1034 from odoo-dev/8.0-hr-recruitement-onchange-fix-csn
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignme...
Christophe Matthieu [Wed, 9 Jul 2014 12:58:19 +0000 (14:58 +0200)]
[FIX] tour.js: display a wrong error message when an error is detected with phantomjs test tour
Christophe Matthieu [Wed, 9 Jul 2014 11:52:14 +0000 (13:52 +0200)]
Merge pull request #999 from odoo-dev/8.0-test-ui-fixes-chm
[FIX] errors when the user click on a menu item; add menu items for product attributes
Cedric Snauwaert [Wed, 9 Jul 2014 09:15:19 +0000 (11:15 +0200)]
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment
Christophe Matthieu [Wed, 9 Jul 2014 11:30:17 +0000 (13:30 +0200)]
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.
Martin Trigaux [Wed, 9 Jul 2014 11:20:48 +0000 (13:20 +0200)]
[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
Cédric Snauwaert [Wed, 9 Jul 2014 10:03:18 +0000 (12:03 +0200)]
Merge pull request #1028 from odoo-dev/master-hr-recruitement-onchange-fix-csn
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignme...
Cedric Snauwaert [Wed, 9 Jul 2014 09:15:19 +0000 (11:15 +0200)]
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment
Raphael Collet [Wed, 9 Jul 2014 08:56:55 +0000 (10:56 +0200)]
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
Christophe Matthieu [Wed, 9 Jul 2014 08:45:35 +0000 (10:45 +0200)]
[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.
Christophe Matthieu [Wed, 9 Jul 2014 08:39:00 +0000 (10:39 +0200)]
[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)
Raphael Collet [Wed, 9 Jul 2014 08:26:01 +0000 (10:26 +0200)]
[FIX] models: wrong var used in _compute_display_name(), fixes issue #1002
Christophe Matthieu [Wed, 9 Jul 2014 07:43:02 +0000 (09:43 +0200)]
merge from 8.0
Xavier Morel [Wed, 9 Jul 2014 06:47:37 +0000 (08:47 +0200)]
[FIX] False module description blows up in docutils
fixes issue 1005
Raphael Collet [Tue, 8 Jul 2014 15:03:00 +0000 (17:03 +0200)]
[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)
Olivier Dony [Tue, 8 Jul 2014 15:44:40 +0000 (17:44 +0200)]
[FIX] account_analytic_account: handle partners without fiscal position gracefully
Jeremy Kersten [Tue, 8 Jul 2014 15:33:00 +0000 (17:33 +0200)]
[IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_mailing, crm_lead and sale_order
Raphael Collet [Tue, 8 Jul 2014 14:27:01 +0000 (16:27 +0200)]
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
qdp-odoo [Tue, 8 Jul 2014 14:04:09 +0000 (16:04 +0200)]
Changed the type of fields.date_order on purhcase.order object from date to datetime
Martin Trigaux [Tue, 8 Jul 2014 13:56:24 +0000 (15:56 +0200)]
[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).
Raphael Collet [Tue, 8 Jul 2014 13:55:42 +0000 (15:55 +0200)]
[FIX] account_analytic_analysis: fix _depends
Jeremy Kersten [Tue, 8 Jul 2014 13:54:00 +0000 (15:54 +0200)]
[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
Raphael Collet [Tue, 8 Jul 2014 13:52:02 +0000 (15:52 +0200)]
[IMP] fields: improve code in former commit
Raphael Collet [Tue, 8 Jul 2014 13:47:44 +0000 (15:47 +0200)]
[IMP] fields: add missing case for invalidating fields, when path is None
Raphael Collet [Tue, 8 Jul 2014 13:32:38 +0000 (15:32 +0200)]
[IMP] addons: add _depends on models backed up by an sql view and used by other models
xmo-odoo [Tue, 8 Jul 2014 13:31:38 +0000 (15:31 +0200)]
Merge pull request #998 from xmo-odoo/8.0-module-descriptions-xmo
Don't include xml declaration when compiling rST module descriptions to HTML
Raphael Collet [Tue, 8 Jul 2014 12:52:23 +0000 (14:52 +0200)]
[IMP] models: add an extension mechanism for attribute _depends on models
Xavier Morel [Tue, 8 Jul 2014 12:39:24 +0000 (14:39 +0200)]
[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.
sle-odoo [Tue, 8 Jul 2014 12:29:38 +0000 (14:29 +0200)]
Merge pull request #993 from odoo-dev/saas-5-issue-902
[MERGE][FIX] product: incomplete declaration of report pricelist
Thibault Delavallée [Tue, 8 Jul 2014 12:19:33 +0000 (14:19 +0200)]
[FIX] mail: issue of action_id used before being defined. My bad.
Raphael Collet [Tue, 8 Jul 2014 11:59:21 +0000 (13:59 +0200)]
Merge pull request #996 from odoo-dev/8.0-id-field-type-rco
[FIX] fields: add a type to field Id; this fixes #990
Martin Trigaux [Tue, 8 Jul 2014 11:55:48 +0000 (13:55 +0200)]
[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).
Raphael Collet [Tue, 8 Jul 2014 11:29:45 +0000 (13:29 +0200)]
[FIX] fields: add a type to field Id; this fixes #990
Thibault Delavallée [Tue, 8 Jul 2014 11:13:07 +0000 (13:13 +0200)]
Merge pull request #936 from odoo-dev/master-send-failmail-warning-avo
[IMP] mail: store the reason when failing to send an email; usability improvements in configuration, now showing the number of failed emails + links for easier configuration.
Amit Vora [Tue, 20 May 2014 11:04:19 +0000 (16:34 +0530)]
[IMP ]add failure_reason field and counting number of fail mail
[IMP] improve help and change field name fail_mail to fail_counter and change method name of counting fail mail
Atul Patel [Tue, 8 Jul 2014 10:41:28 +0000 (16:11 +0530)]
[FIX]product: disable menu name come from report declaration.because it's called from wizard
Raphael Collet [Tue, 8 Jul 2014 08:16:16 +0000 (10:16 +0200)]
[FIX] models, fields: add model dependencies for models backed up by sql views
Christophe Matthieu [Tue, 8 Jul 2014 07:12:17 +0000 (09:12 +0200)]
[FIX] product: add menu item to attributes and attribute values. Adding constraint to prevent deleting attributes with references to products.
antonylesuisse [Mon, 7 Jul 2014 18:48:19 +0000 (20:48 +0200)]
Merge pull request #946 from joshuajan/7.0_hr_holidays_report_fix
skip the inactivate employee in leaves summary
Raphael Collet [Mon, 7 Jul 2014 18:37:11 +0000 (20:37 +0200)]
Merge pull request #976 from odoo-dev/8.0-fix-model-init-rco
[FIX] models: reorganize model instantiation
Fabien Meghazi [Thu, 8 May 2014 07:50:25 +0000 (09:50 +0200)]
[FIX] configuration file dbfilter's option has no effect
lp bug: https://launchpad.net/bugs/940439 fixed
bzr revid: fme@openerp.com-
20140508075025-yszqmzie1z4n7l4j
Martin Trigaux [Mon, 7 Jul 2014 15:12:27 +0000 (17:12 +0200)]
[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
Christophe Matthieu [Mon, 7 Jul 2014 14:58:47 +0000 (16:58 +0200)]
[FIX] stock: update and request procurment button use active_id to se the product. Fix to use this buttons on product template.
xmo-odoo [Mon, 7 Jul 2014 14:15:23 +0000 (16:15 +0200)]
Merge pull request #970 from xmo-odoo/8.0-remove-unnecessary-listifications-xmo
Remove redundant calls to list()
xmo-odoo [Mon, 7 Jul 2014 14:15:02 +0000 (16:15 +0200)]
Merge pull request #969 from xmo-odoo/8.0-fix-weakset-listification-xmo
Unsafe listification of weakref in Python < 2.7.4
Christophe Matthieu [Mon, 7 Jul 2014 14:14:50 +0000 (16:14 +0200)]
[FIX] crm: missing image for description
Fabien Meghazi [Mon, 7 Jul 2014 13:50:20 +0000 (15:50 +0200)]
Merge pull request #975 from odoo-dev/master-bundlification-remains-fme
[IMP] bundlification remains for website_* addons
Only done for public pages at first.
Added a custom special bundle for forum.
Christophe Simonis [Mon, 7 Jul 2014 13:32:25 +0000 (15:32 +0200)]
[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)
Raphael Collet [Mon, 7 Jul 2014 13:47:27 +0000 (15:47 +0200)]
[FIX] models: reorganize model instantiation, which was broken when adding custom fields
Olivier Dony [Mon, 7 Jul 2014 13:32:47 +0000 (15:32 +0200)]
[MERGE] Fwd-port 8.0 up to 139d868
Olivier Dony [Mon, 7 Jul 2014 13:25:07 +0000 (15:25 +0200)]
[REL] 8.0 RC1
Christophe Matthieu [Mon, 7 Jul 2014 13:20:14 +0000 (15:20 +0200)]
[FIX] web_kanban_gauge: don't use fit=true for raphael.js because preserveAspectRatio svg attribute is wrong
Christophe Matthieu [Mon, 7 Jul 2014 12:58:12 +0000 (14:58 +0200)]
[FIX] web_diagram: don't try to load raphael.js lib. The lib is already loaded in the js asset
Raphael Collet [Mon, 7 Jul 2014 12:49:49 +0000 (14:49 +0200)]
Merge pull request #964 from odoo-dev/8.0-remove-getattr-rco
[REM] models: remove the magic methods signal_XXX()
jkei [Mon, 7 Jul 2014 12:24:05 +0000 (14:24 +0200)]
[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
Cédric Snauwaert [Mon, 7 Jul 2014 12:46:56 +0000 (14:46 +0200)]
Merge pull request #972 from odoo-dev/8.0-menubar-cosmetics-csn
[FIX]menu bar: clean up css and few cosmetics
Fabien Meghazi [Mon, 7 Jul 2014 12:39:17 +0000 (14:39 +0200)]
Load blog discussion template only when widget is instanciated
krnkris [Mon, 7 Jul 2014 08:18:58 +0000 (10:18 +0200)]
[I18N] base: fix Hungarian translations
(Manual rebase of #956, pending update in Launchpad translations)
Cedric Snauwaert [Mon, 7 Jul 2014 09:48:31 +0000 (11:48 +0200)]
[FIX]menu bar: clean up css and few cosmetics
Xavier Morel [Mon, 7 Jul 2014 12:01:07 +0000 (14:01 +0200)]
[REM] unecessary calls to list()
* Either further operations don't really care (e.g. ``str.join`` takes any
iterable)
* Or they do their own seq (``browse`` calls ``tuple()`` on iterable params)