odoo/odoo.git
9 years agoCSS Fix for Products in /shop
Fabien Pinckaers [Wed, 9 Jul 2014 16:48:25 +0000 (18:48 +0200)]
CSS Fix for Products in /shop

9 years agoMerge pull request #1001 from odoo-dev/master-fix-website_sale-double-price-chm
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

9 years ago[IMP] website_sale: Add google analytics on checkout process
Jeremy Kersten [Wed, 9 Jul 2014 15:45:40 +0000 (17:45 +0200)]
[IMP] website_sale: Add google analytics on checkout process

9 years agoMerge pull request #1037 from odoo-dev/8.0-accesserror-on-logaccess-rco
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

9 years ago[FIX] mass_mailing: load images in emails
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.

9 years agomerge from 8.0
Christophe Matthieu [Wed, 9 Jul 2014 14:10:08 +0000 (16:10 +0200)]
merge from 8.0

9 years ago[FIX] website: error for rendering of the sitemap template. qweb can't render the...
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.

9 years agoMerge pull request #1036 from odoo-dev/8.0-fix-log-error-tour-chm
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

9 years ago[IMP] models: iterating over record._cache also returns log_access fields
Raphael Collet [Wed, 9 Jul 2014 13:34:51 +0000 (15:34 +0200)]
[IMP] models: iterating over record._cache also returns log_access fields

9 years ago[FIX] models: store FailedValue in cache on log_access fields, too
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'.

9 years agoMerge pull request #1034 from odoo-dev/8.0-hr-recruitement-onchange-fix-csn
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...

9 years ago[FIX] tour.js: display a wrong error message when an error is detected with phantomjs...
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

9 years agoMerge pull request #999 from odoo-dev/8.0-test-ui-fixes-chm
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

9 years ago[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment
Cedric Snauwaert [Wed, 9 Jul 2014 09:15:19 +0000 (11:15 +0200)]
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment

9 years agoMerge pull request #1021 from odoo-dev/saas-5-fix-routing-for-index-chm
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.

9 years ago[FIX] product: allow user to set price at template creation
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

9 years agoMerge pull request #1028 from odoo-dev/master-hr-recruitement-onchange-fix-csn
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...

9 years ago[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment
Cedric Snauwaert [Wed, 9 Jul 2014 09:15:19 +0000 (11:15 +0200)]
[FIX]hr_recruitment: fix onchange_job user_id referenced before assignment

9 years agoMerge pull request #1018 from odoo-dev/8.0-fix-display-name-rco
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

9 years ago[FIX] website_crm: the path '/crm/contactus' have an error if you does'nt use the...
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.

9 years ago[FIX] website: if the first menu refered to a website page and the route for this...
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)

9 years ago[FIX] models: wrong var used in _compute_display_name(), fixes issue #1002
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

9 years agomerge from 8.0
Christophe Matthieu [Wed, 9 Jul 2014 07:43:02 +0000 (09:43 +0200)]
merge from 8.0

9 years ago[FIX] False module description blows up in docutils
Xavier Morel [Wed, 9 Jul 2014 06:47:37 +0000 (08:47 +0200)]
[FIX] False module description blows up in docutils

fixes issue 1005

9 years ago[FIX] fetchmail: add api decorator on method connect() to fix issue #980
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)

9 years ago[FIX] account_analytic_account: handle partners without fiscal position gracefully
Olivier Dony [Tue, 8 Jul 2014 15:44:40 +0000 (17:44 +0200)]
[FIX] account_analytic_account: handle partners without fiscal position gracefully

9 years ago[IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_maili...
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

9 years agoMerge pull request #989 from odoo-dev/8.0-sql-models-rco
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

9 years agoChanged the type of fields.date_order on purhcase.order object from date to datetime
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

9 years ago[FIX] orm: better removal of custom m2m fields
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).

9 years ago[FIX] account_analytic_analysis: fix _depends
Raphael Collet [Tue, 8 Jul 2014 13:55:42 +0000 (15:55 +0200)]
[FIX] account_analytic_analysis: fix _depends

9 years ago[FIX] Crm partner assign: Sort the partners by grade / published implemented. else...
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

9 years ago[IMP] fields: improve code in former commit
Raphael Collet [Tue, 8 Jul 2014 13:52:02 +0000 (15:52 +0200)]
[IMP] fields: improve code in former commit

9 years ago[IMP] fields: add missing case for invalidating fields, when path is None
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

9 years ago[IMP] addons: add _depends on models backed up by an sql view and used by other models
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

9 years agoMerge pull request #998 from xmo-odoo/8.0-module-descriptions-xmo
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

9 years ago[IMP] models: add an extension mechanism for attribute _depends on models
Raphael Collet [Tue, 8 Jul 2014 12:52:23 +0000 (14:52 +0200)]
[IMP] models: add an extension mechanism for attribute _depends on models

9 years ago[FIX] compile of rst module descriptions to HTML
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.

9 years agoMerge pull request #993 from odoo-dev/saas-5-issue-902
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

9 years ago[FIX] mail: issue of action_id used before being defined. My bad.
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.

9 years agoMerge pull request #996 from odoo-dev/8.0-id-field-type-rco
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

9 years ago[FIX] ir.model.fields: better unlink
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).

9 years ago[FIX] fields: add a type to field Id; this fixes #990
Raphael Collet [Tue, 8 Jul 2014 11:29:45 +0000 (13:29 +0200)]
[FIX] fields: add a type to field Id; this fixes #990

9 years agoMerge pull request #936 from odoo-dev/master-send-failmail-warning-avo
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.

9 years ago[IMP ]add failure_reason field and counting number of fail mail
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

9 years ago[FIX]product: disable menu name come from report declaration.because it's called...
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

9 years ago[FIX] models, fields: add model dependencies for models backed up by sql views
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

9 years ago[FIX] product: add menu item to attributes and attribute values. Adding constraint...
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.

9 years agoMerge pull request #946 from joshuajan/7.0_hr_holidays_report_fix
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

9 years agoMerge pull request #976 from odoo-dev/8.0-fix-model-init-rco
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

9 years ago[FIX] configuration file dbfilter's option has no effect
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

9 years ago[FIX] portal: avoid errors during autovacuum
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

9 years ago[FIX] stock: update and request procurment button use active_id to se the product...
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.

9 years ago[FIX] Fix broken translation cache for absent translation of 'false'
Christophe Combelles [Mon, 7 Jul 2014 14:29:11 +0000 (17:29 +0300)]
[FIX] Fix broken translation cache for absent translation of 'false'

9 years agoMerge pull request #970 from xmo-odoo/8.0-remove-unnecessary-listifications-xmo
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()

9 years agoMerge pull request #969 from xmo-odoo/8.0-fix-weakset-listification-xmo
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

9 years ago[FIX] crm: missing image for description
Christophe Matthieu [Mon, 7 Jul 2014 14:14:50 +0000 (16:14 +0200)]
[FIX] crm: missing image for description

9 years agoMerge pull request #975 from odoo-dev/master-bundlification-remains-fme
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.

9 years ago[FIX] data-dir management
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)

9 years ago[FIX] models: reorganize model instantiation, which was broken when adding custom...
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

9 years ago[MERGE] Fwd-port 8.0 up to 139d868
Olivier Dony [Mon, 7 Jul 2014 13:32:47 +0000 (15:32 +0200)]
[MERGE] Fwd-port 8.0 up to 139d868

9 years ago[REL] 8.0 RC1
Olivier Dony [Mon, 7 Jul 2014 13:25:07 +0000 (15:25 +0200)]
[REL] 8.0 RC1

9 years ago[FIX] web_kanban_gauge: don't use fit=true for raphael.js because preserveAspectRatio...
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

9 years ago[FIX] web_diagram: don't try to load raphael.js lib. The lib is already loaded in...
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

9 years agoMerge pull request #964 from odoo-dev/8.0-remove-getattr-rco
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()

9 years ago[FIX] account: typo in get_fiscal_position()
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

9 years agoMerge pull request #972 from odoo-dev/8.0-menubar-cosmetics-csn
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

9 years agoLoad blog discussion template only when widget is instanciated
Fabien Meghazi [Mon, 7 Jul 2014 12:39:17 +0000 (14:39 +0200)]
Load blog discussion template only when widget is instanciated

9 years ago[I18N] base: fix Hungarian translations
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)

9 years ago[FIX]menu bar: clean up css and few cosmetics
Cedric Snauwaert [Mon, 7 Jul 2014 09:48:31 +0000 (11:48 +0200)]
[FIX]menu bar: clean up css and few cosmetics

9 years ago[REM] unecessary calls to list()
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)

9 years ago[FIX] unsafe listification of weakref in Python < 2.7.4
Xavier Morel [Mon, 7 Jul 2014 11:51:53 +0000 (13:51 +0200)]
[FIX] unsafe listification of weakref in Python < 2.7.4

Fixes #966

* As a preallocation optimization, ``list()`` calls ``__len__`` on its
  parameter if it's available
* Before Python 2.7.4, WeakSet has a bug[0] where ``len()`` is unsafe: it is
  done by iteration and weakrefs may be removed from the underlying set during
  the iteration

As a result, the safety feature of listifying a WeakSet to ensure we have
strong refs on all items during iteration may blow up.

Wrapping the weakset in a ``iter()`` makes ``__len__()`` invisible and ensures
we're within the IterationGuard[1].

Which now that I think about it means we *should* be able to safely iterate
weaksets in the first place and may not have needed to listify them...

[0] http://bugs.python.org/issue14159
[1] http://hg.python.org/cpython/file/b6acfbe2bdbe/Lib/_weakrefset.py#l58

9 years agoMerge pull request #967 from xmo-odoo/master-id-type-xmo
xmo-odoo [Mon, 7 Jul 2014 11:23:50 +0000 (13:23 +0200)]
Merge pull request #967 from xmo-odoo/master-id-type-xmo

Raise exception when a DB request fetches ids it was not asked for

9 years ago[I18N] sale: fix pt translations
hugosdsantos [Wed, 2 Jul 2014 16:07:00 +0000 (17:07 +0100)]
[I18N] sale: fix pt translations

"Ordem de Vendas" changed to "Ordem de Venda"

(Rebase of PR #883)

9 years ago[FIX] signal_XXX -> signal_workflow: forgot quotes around signal name
Raphael Collet [Mon, 7 Jul 2014 11:12:37 +0000 (13:12 +0200)]
[FIX] signal_XXX -> signal_workflow: forgot quotes around signal name

9 years agoUpdate holidays_summary_report.py
JoshuaJan [Mon, 7 Jul 2014 10:17:20 +0000 (18:17 +0800)]
Update holidays_summary_report.py

9 years agoMerge pull request #893 from nafex/patch-1
xmo-odoo [Mon, 7 Jul 2014 10:04:45 +0000 (12:04 +0200)]
Merge pull request #893 from nafex/patch-1

[FIX] missing quotation mark in ir.model.access.csv

9 years ago[REM] models: remove the magic methods signal_XXX()
Raphael Collet [Mon, 7 Jul 2014 09:50:30 +0000 (11:50 +0200)]
[REM] models: remove the magic methods signal_XXX()

9 years agoUpdate holidays_summary_report.py
JoshuaJan [Mon, 7 Jul 2014 09:30:25 +0000 (17:30 +0800)]
Update holidays_summary_report.py

Add context to search method

9 years agoRevert "[IMP] addons: use the magic methods signal_XXX() instead of signal_workflow...
Raphael Collet [Mon, 7 Jul 2014 09:23:06 +0000 (11:23 +0200)]
Revert "[IMP] addons: use the magic methods signal_XXX() instead of signal_workflow('XXX')"

This reverts commit beea451e547e3f56c477459c6d0e6dbbb8d712bc.

9 years agoMerge pull request #957 from odoo-dev/master-signal-workflow-rco
Raphael Collet [Mon, 7 Jul 2014 08:58:55 +0000 (10:58 +0200)]
Merge pull request #957 from odoo-dev/master-signal-workflow-rco

[IMP] addons: use the magic signal_XXX() instead of signal_workflow('XXX')

9 years agoBundlify blog
Fabien Meghazi [Mon, 7 Jul 2014 08:39:10 +0000 (10:39 +0200)]
Bundlify blog

9 years agoMerge pull request #947 from chrispetsos/odoo-807
xmo-odoo [Mon, 7 Jul 2014 08:37:23 +0000 (10:37 +0200)]
Merge pull request #947 from chrispetsos/odoo-807

Changed follower's e-mail to reference Odoo instead of OpenERP, fixes #807

9 years ago[IMP] raise exception when a DB request fetches ids it was not asked for
Xavier Morel [Mon, 7 Jul 2014 07:59:05 +0000 (09:59 +0200)]
[IMP] raise exception when a DB request fetches ids it was not asked for

Likely caused by a type incoherence e.g. providing an id as string when the
table uses integer ids. Postgres performs an implicit conversion from string
to integer[0], this wasn't much of an issue in the old API, whatever cache was
there would simply not be used, but because the new API's cache is part of its
behavior it has a semantic impact and can lead to infinite recursion.

[0] more precisely from quoted value, which is untyped

9 years agoMerge pull request #926 from xmo-odoo/master-cleanup-gauge-xmo
xmo-odoo [Mon, 7 Jul 2014 07:50:48 +0000 (09:50 +0200)]
Merge pull request #926 from xmo-odoo/master-cleanup-gauge-xmo

Fix implicit globals in kanban_gauge JS

9 years ago[IMP] addons: use the magic methods signal_XXX() instead of signal_workflow('XXX')
Raphael Collet [Mon, 7 Jul 2014 07:42:27 +0000 (09:42 +0200)]
[IMP] addons: use the magic methods signal_XXX() instead of signal_workflow('XXX')

9 years ago[FIX]Display answers in order by posted date in descending (latest to old)
Hitesh Trivedi [Mon, 7 Jul 2014 06:30:19 +0000 (12:00 +0530)]
[FIX]Display answers in order by posted date in descending (latest to old)

9 years ago[MERGE] new v8 api by rco
Raphael Collet [Sun, 6 Jul 2014 14:44:26 +0000 (16:44 +0200)]
[MERGE] new v8 api by rco

A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes

9 years agoodoo-807: Changed follower's e-mail to reference Odoo instead of OpenERP
Chris Petsos [Sun, 6 Jul 2014 11:10:57 +0000 (14:10 +0300)]
odoo-807: Changed follower's e-mail to reference Odoo instead of OpenERP

9 years agoskip the inactivate employee in leaves summary
JoshuaJan [Sun, 6 Jul 2014 09:41:07 +0000 (17:41 +0800)]
skip the inactivate employee in leaves summary

9 years ago[IMP] account: add context in invoice onchange_partner_id method
Raphaël Valyi [Fri, 4 Jul 2014 03:45:33 +0000 (00:45 -0300)]
[IMP] account: add context in invoice onchange_partner_id method

(Manual rebase of PR #915)

9 years ago[IMP] purchase: add context in PO onchange_partner_id and onchange_dest_address_id
Raphaël Valyi [Fri, 4 Jul 2014 02:58:15 +0000 (23:58 -0300)]
[IMP] purchase: add context in PO onchange_partner_id and onchange_dest_address_id

(Manual rebase of PR #913)

9 years ago[FIX] website_sale_delivery: bundlify JS file inclusion
Olivier Dony [Sat, 5 Jul 2014 00:24:43 +0000 (02:24 +0200)]
[FIX] website_sale_delivery: bundlify JS file inclusion

9 years ago[MERGE] Forward-port saas-5 up to d9cda97
Olivier Dony [Fri, 4 Jul 2014 23:45:45 +0000 (01:45 +0200)]
[MERGE] Forward-port saas-5 up to d9cda97

9 years ago[MERGE] Forward-port saas-4 up to 5ceded9
Olivier Dony [Fri, 4 Jul 2014 23:28:19 +0000 (01:28 +0200)]
[MERGE] Forward-port saas-4 up to 5ceded9

9 years ago[MERGE] Forward-port saas-3 up to 4fa30f5
Olivier Dony [Fri, 4 Jul 2014 23:04:19 +0000 (01:04 +0200)]
[MERGE] Forward-port saas-3 up to 4fa30f5

9 years ago[FIX] mass_mailing: avoid mutable values for dict.fromkeys(), simplify with RIGHT...
Olivier Dony [Fri, 4 Jul 2014 21:56:22 +0000 (23:56 +0200)]
[FIX] mass_mailing: avoid mutable values for dict.fromkeys(), simplify with RIGHT JOIN

9 years ago[FIX] mass_mailing: wrong copy-paste of statistics computation code
Olivier Dony [Fri, 4 Jul 2014 21:15:22 +0000 (23:15 +0200)]
[FIX] mass_mailing: wrong copy-paste of statistics computation code

Mixes the mass_mailing_id and mass_mailing_campaign_id
between the two models. Introduced by 9fc4ad9, PR #472

9 years ago[MERGE] Forward-port of 7.0 up to 64ac1b0
Olivier Dony [Fri, 4 Jul 2014 15:07:53 +0000 (17:07 +0200)]
[MERGE] Forward-port of 7.0 up to 64ac1b0

9 years ago[FIX] document: replace raw SQL constraint with bad parameter passing with builtin...
Olivier Dony [Fri, 4 Jul 2014 14:53:26 +0000 (16:53 +0200)]
[FIX] document: replace raw SQL constraint with bad parameter passing with builtin check_recursion

This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.