odoo/odoo.git
9 years ago[FIX] mail, BaseModel, portal_sale: fixes and improvements in the URL
Thibault Delavallée [Thu, 7 Aug 2014 12:43:21 +0000 (14:43 +0200)]
[FIX] mail, BaseModel, portal_sale: fixes and improvements in the URL
management to access documents in notification emails, as well as for the
'view quotation' link in portal_sale module.

models: added a get_access_action method: basically, returns the action to
access a document. It uses the get_formview_action by default (form view
of the document). However for some documents we want to directly go to the
website, leading to an act_url action for some documents. This method allows
this behavior.

portal_sale: get_signup_url now uses the mail.action_mail_redirect method
instead of directly redirecting towards a portal menu. This allows to fall
back on a standard behavior.

portal_sale: get_formview_action updated, to match actions tailored for
portal users.

website_quote: get_access_action of sale order updated. If the sale order
has a template defined, the returned action is an act_url (website view
of the quotation), not the form action anymore.

mail: fixed signature + company signature in notification emails. Even without
user signature, the company signature + access link should be correct.

portal: signup url in notification emali was not using the mail redirection
as action. It is now the case.

9 years ago[FIX] email_template: when generating body containing the user's signature, add it...
Thibault Delavallée [Thu, 7 Aug 2014 12:34:58 +0000 (14:34 +0200)]
[FIX] email_template: when generating body containing the user's signature, add it as html as it is now pure html, not plaintext anymore.

9 years ago[FIX] tools: html_sanitize: keep mako tags (<% ... %>), required for example in the...
Thibault Delavallée [Thu, 7 Aug 2014 09:21:41 +0000 (11:21 +0200)]
[FIX] tools: html_sanitize: keep mako tags (<% ... %>), required for example in the portal sale quotation email.

9 years ago[MERGE] pos improvements
Christophe Simonis [Thu, 7 Aug 2014 13:17:43 +0000 (15:17 +0200)]
[MERGE] pos improvements

manual fix of fp-style merge

9 years agoMerge branch '8.0' into 8.0-pos-imps2-fva
Frederic van der Essen [Thu, 7 Aug 2014 12:59:26 +0000 (14:59 +0200)]
Merge branch '8.0' into 8.0-pos-imps2-fva

9 years ago[IMP] pos_restaurant: update some paths due to module name change
Frederic van der Essen [Thu, 7 Aug 2014 12:05:30 +0000 (14:05 +0200)]
[IMP] pos_restaurant: update some paths due to module name change

9 years ago[FIX] fields.py: correct copy/paste error, use the right attribute
Christophe Simonis [Thu, 7 Aug 2014 11:50:27 +0000 (13:50 +0200)]
[FIX] fields.py: correct copy/paste error, use the right attribute

9 years ago[IMP] restaurant: renamed to pos_restaurant
Frederic van der Essen [Thu, 7 Aug 2014 11:27:51 +0000 (13:27 +0200)]
[IMP] restaurant: renamed to pos_restaurant

9 years ago[FIX] fields.py: handle "change_default" and "deprecated" attributes in new fields
Christophe Simonis [Thu, 7 Aug 2014 11:04:26 +0000 (13:04 +0200)]
[FIX] fields.py: handle "change_default" and "deprecated" attributes in new fields

9 years ago[FIX] fields.py: fix old field to new field convertion
Christophe Simonis [Thu, 7 Aug 2014 11:01:03 +0000 (13:01 +0200)]
[FIX] fields.py: fix old field to new field convertion

9 years ago[FIX] website_sale_option: make options work
Richard Mathot [Thu, 7 Aug 2014 07:50:16 +0000 (09:50 +0200)]
[FIX] website_sale_option: make options work

9 years ago[FIX] mail: compose wizard: fixed default_get overrides not correctly managing the...
Thibault Delavallée [Wed, 6 Aug 2014 12:29:48 +0000 (14:29 +0200)]
[FIX] mail: compose wizard: fixed default_get overrides not correctly managing the received field_list + improved custom call to default_get to correctly manage its in and out values.

9 years ago[FIX] crm: fixed day_open and day_close computation (conditional store + be sure...
Thibault Delavallée [Wed, 6 Aug 2014 11:00:06 +0000 (13:00 +0200)]
[FIX] crm: fixed day_open and day_close computation (conditional store + be sure that date_open and date_closed fields are set)

9 years ago[FIX] project_issue, resource: fixed computation of hours / days to open (assign...
Thibault Delavallée [Wed, 6 Aug 2014 09:36:54 +0000 (11:36 +0200)]
[FIX] project_issue, resource: fixed computation of hours / days to open (assign) or close an issue. Those fields now have a conditional store, because they were not recomputed even when changing date_open and date_closed. Changing the stage now correctly changes the date_closed. Also added some fixes in resource module, the date was not correctly taken into account when computing the number of working hours between two dates.

9 years ago[FIX] orm: _compute_related: ensure prefetch is done in batch
Olivier Dony [Wed, 6 Aug 2014 16:48:35 +0000 (18:48 +0200)]
[FIX] orm: _compute_related: ensure prefetch is done in batch

Due to the use of a sudo env, the records
were being added to the sudo cache one by
one instead of all at once. This meant the
prefetching was not able to load all
records at once, leading to prohibitive
times when processing thousands of
records.

9 years ago[FIX] web: make search by `id` possible.
Christophe Simonis [Wed, 6 Aug 2014 15:27:27 +0000 (17:27 +0200)]
[FIX] web: make search by `id` possible.

+ correct tests

9 years ago[IMP] models: name_search() should call _name_search()
Raphael Collet [Wed, 6 Aug 2014 09:40:03 +0000 (11:40 +0200)]
[IMP] models: name_search() should call _name_search()

This avoids code duplication between methods, and keeps backward compatibility
with existing code overriding _name_search().

9 years ago[IMP] fields: add mechanism to extend a selection field
Raphael Collet [Thu, 10 Jul 2014 20:04:03 +0000 (22:04 +0200)]
[IMP] fields: add mechanism to extend a selection field

If a selection field is defined by a list as selection, such as:

    state = fields.Selection([('a', 'A'), ('b', 'B')])

one can extend it by inheritance by redefining the field, as:

    state = fields.Selection(selection_add=[('c', 'C')])

The result is that the selection field will have the list
[('a', 'A'), ('b', 'B'), ('c', 'C')] as selection.

9 years ago[FIX] Allow search on `_inherits` fields.
Christophe Simonis [Wed, 6 Aug 2014 12:59:57 +0000 (14:59 +0200)]
[FIX] Allow search on `_inherits` fields.

As `_inherits` fields are now handled via `related`
fields (not stored, obviously), a new descriptor
`searchable` has been added to `fields_get()` result
to indicated if the field is searchable or not.

9 years ago[FIX] website_livechat: reference of demo data was preventing to install the module
Daniel Dico [Sat, 2 Aug 2014 08:03:11 +0000 (04:03 -0400)]
[FIX] website_livechat: reference of demo data was preventing to install the module

Added a record of im_livechat.channel in website_livechat data

9 years ago[FIX] Exporting of res.partner works again
Mohammed Shekha [Wed, 6 Aug 2014 09:40:46 +0000 (15:10 +0530)]
[FIX] Exporting of res.partner works again

Singleton object was required while access model properties, but search returns multiple results and hence caused traceback while accessing record.property

9 years ago[FIX] stock: typo when selecting inventory on single product
Fekete Mihai [Wed, 6 Aug 2014 09:36:13 +0000 (11:36 +0200)]
[FIX] stock: typo when selecting inventory on single product

9 years ago[FIX] base: fixes #1167, change password wizard (wrong default value)
Raphael Collet [Wed, 6 Aug 2014 09:20:38 +0000 (11:20 +0200)]
[FIX] base: fixes #1167, change password wizard (wrong default value)

The one2many field 'user_ids' was initialized with an incorrect value for the
inverse field 'wizard_id', using a res.users id. The latter was causing a
MissingError exception. The fix is simply to not define explicitly the inverse
field in the one2many.

Also did a small cleanup of the code of the wizard.

9 years ago[FIX] project_issue: reviewer_id doesn(t exist
Richard Mathot [Wed, 6 Aug 2014 08:28:16 +0000 (10:28 +0200)]
[FIX] project_issue: reviewer_id doesn(t exist

(partial revert of 44a5268c00443cfb0664d7679d93772422a7403)

9 years ago[FIX] fields: convert_to_cache() on *2many fields must take record's current value
Raphael Collet [Wed, 9 Jul 2014 15:06:29 +0000 (17:06 +0200)]
[FIX] fields: convert_to_cache() on *2many fields must take record's current value

The existing code was buggy when writing on *2many fields with a list of
commands: the value was converted for the cache, but taking an empty recordset
as the current value of the field.

9 years ago[FIX] hr_contract: count the number of contracts of an employee as superuser_id as...
Thibault Delavallée [Tue, 5 Aug 2014 12:49:52 +0000 (14:49 +0200)]
[FIX] hr_contract: count the number of contracts of an employee as superuser_id as this field is required in the form view. However no data is displayed, and no data about the contracts are leaked, so no security holes.

9 years ago[MERGE] forward port of branch saas-5 up to 7d7f6fe
Denis Ledoux [Tue, 5 Aug 2014 14:04:58 +0000 (16:04 +0200)]
[MERGE] forward port of branch saas-5 up to 7d7f6fe

9 years ago[FIX] purchase: now allow 'can be purchased' to be checked even if not variant
Denis Ledoux [Tue, 5 Aug 2014 14:01:55 +0000 (16:01 +0200)]
[FIX] purchase: now allow 'can be purchased' to be checked even if not variant

Before, the field purchase_ok was set as readonly on the product form if the product wasn't a variant, to avoid users to set all the products variants associated to the product template to be set as purchase able in one action.

We now consider that this can be done by the end user

9 years ago[FIX] web_kanban: parent can be undefined in some cases
Denis Ledoux [Tue, 5 Aug 2014 13:44:57 +0000 (15:44 +0200)]
[FIX] web_kanban: parent can be undefined in some cases

opw-611106, when clicking quickly Sales > Opportunities than Sales > Leads.

9 years ago[IMP] models: turn _patch_method() and _revert_method() into class methods
Raphael Collet [Tue, 5 Aug 2014 12:50:44 +0000 (14:50 +0200)]
[IMP] models: turn _patch_method() and _revert_method() into class methods

This makes the patching mechanism more flexible, and enables patching BaseModel,
for instance. This should fix #1501.

9 years ago[FIX] account: prevent crash onchange company_id
cod-odoo [Mon, 28 Jul 2014 10:40:46 +0000 (16:10 +0530)]
[FIX] account: prevent crash onchange company_id

(rebase of #1534)

9 years ago[IMP] Do not create FK when destination model is _auto=False
Samus CTO [Tue, 5 Aug 2014 09:34:19 +0000 (11:34 +0200)]
[IMP] Do not create FK when destination model is _auto=False

It is not useful to try to create foreign keys when the destination model is
a PostgreSQL view for example.
We already do this kind of verifications but ir.actions and transient models
but did not for _auto.

9 years ago[IMP] base/res_users: improve reading/writing of reified group fields
Raphael Collet [Mon, 4 Aug 2014 09:37:16 +0000 (11:37 +0200)]
[IMP] base/res_users: improve reading/writing of reified group fields

- simplify the code by removing unused cases
- do not modify input argument 'value' of create/write
- do not call BaseModel.read() with reified group fields (this causes warnings)

9 years ago[FIX] point_of_sale: partner list rendering was not refreshing correctly. + limited...
Frederic van der Essen [Mon, 4 Aug 2014 09:09:47 +0000 (11:09 +0200)]
[FIX] point_of_sale: partner list rendering was not refreshing correctly. + limited display to 1000 partners for performance reasons

9 years ago[IMP] restaurant: discard kitchen order changes when splitting the bill.
Frederic van der Essen [Tue, 29 Jul 2014 13:29:28 +0000 (15:29 +0200)]
[IMP] restaurant: discard kitchen order changes when splitting the bill.

9 years ago[IMP] restaurant: a module that extends the point of sale with restaurant features
Frederic van der Essen [Mon, 28 Jul 2014 11:28:39 +0000 (13:28 +0200)]
[IMP] restaurant: a module that extends the point of sale with restaurant features

9 years ago[FIX] point_of_sale: removed useless console.log()
Frederic van der Essen [Mon, 28 Jul 2014 11:27:44 +0000 (13:27 +0200)]
[FIX] point_of_sale: removed useless console.log()

9 years ago[IMP] point_of_sale: allow an order to remember what screen it was on, instead
Frederic van der Essen [Mon, 28 Jul 2014 09:33:24 +0000 (11:33 +0200)]
[IMP] point_of_sale: allow an order to remember what screen it was on, instead
of switching back to default screen.

This is used by the soon to be merged restaurant addon to create new orders
and display them at a particular screen.  However, this behaviour is more
confusing in the other cases, so I'll think of a better way to solve this.

9 years ago[IMP] pos_discount: a new pos extension that allows you to quickly give a global...
Frederic van der Essen [Thu, 24 Jul 2014 16:08:12 +0000 (18:08 +0200)]
[IMP] pos_discount: a new pos extension that allows you to quickly give a global discount on the current order

9 years ago[IMP] point_of_sale: report errors when loading the point of sale with a traceback...
Frederic van der Essen [Thu, 24 Jul 2014 13:21:54 +0000 (15:21 +0200)]
[IMP] point_of_sale: report errors when loading the point of sale with a traceback and a nice popup

9 years ago[IMP] point_of_sale: made the server data loading more modular for easier development...
Frederic van der Essen [Thu, 24 Jul 2014 12:09:46 +0000 (14:09 +0200)]
[IMP] point_of_sale: made the server data loading more modular for easier development of point_of_sale extensions

9 years ago[IMP] point_of_sale: tests work better when they are loaded and run by the unit test...
Frederic van der Essen [Wed, 23 Jul 2014 14:23:38 +0000 (16:23 +0200)]
[IMP] point_of_sale: tests work better when they are loaded and run by the unit test system!

9 years ago[IMP] point_of_sale: forgot changes in this file in the previous commit that introduc...
Frederic van der Essen [Wed, 23 Jul 2014 13:59:54 +0000 (15:59 +0200)]
[IMP] point_of_sale: forgot changes in this file in the previous commit that introduced unit tests

9 years ago[IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module
Frederic van der Essen [Wed, 23 Jul 2014 13:58:08 +0000 (15:58 +0200)]
[IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module

9 years ago[IMP] point_of_sale: add a debug option to delete all unsent orders
Frederic van der Essen [Tue, 22 Jul 2014 13:58:08 +0000 (15:58 +0200)]
[IMP] point_of_sale: add a debug option to delete all unsent orders

9 years ago[IMP] point_of_sale: add debug popup that displays unsent order data, for when localS...
Frederic van der Essen [Tue, 22 Jul 2014 13:27:34 +0000 (15:27 +0200)]
[IMP] point_of_sale: add debug popup that displays unsent order data, for when localStorage is hard to inspect

Conflicts:
addons/point_of_sale/static/src/js/widgets.js

9 years ago[IMP] point_of_sale: show traceback popup when there is a server error when posting...
Frederic van der Essen [Tue, 22 Jul 2014 12:33:32 +0000 (14:33 +0200)]
[IMP] point_of_sale: show traceback popup when there is a server error when posting orders (which should NEVER happen !)

9 years ago[FIX] point_of_sale: it was impossible to delete a pos session
Frederic van der Essen [Fri, 18 Jul 2014 12:30:13 +0000 (14:30 +0200)]
[FIX] point_of_sale: it was impossible to delete a pos session

9 years ago[FIX] point_of_sale: order invoicing was broken
Frederic van der Essen [Fri, 18 Jul 2014 11:28:22 +0000 (13:28 +0200)]
[FIX] point_of_sale: order invoicing was broken

9 years ago[IMP] point_of_sale: improved rendering speed of the partner list
Frederic van der Essen [Thu, 17 Jul 2014 15:51:27 +0000 (17:51 +0200)]
[IMP] point_of_sale: improved rendering speed of the partner list

9 years ago[IMP] point_of_sale: a little explaination of how the barcode pattern system works
Frederic van der Essen [Thu, 17 Jul 2014 15:20:56 +0000 (17:20 +0200)]
[IMP] point_of_sale: a little explaination of how the barcode pattern system works

9 years ago[IMP] point_of_sale: add an error sound to the error popups
Frederic van der Essen [Wed, 16 Jul 2014 15:11:18 +0000 (17:11 +0200)]
[IMP] point_of_sale: add an error sound to the error popups

9 years ago[FIX] web: tooltip container set to body in all case
Cedric Snauwaert [Tue, 5 Aug 2014 11:55:18 +0000 (13:55 +0200)]
[FIX] web: tooltip container set to body in all case

Mandatory since we changed the structure of the dom since 8.0.

9 years ago[IMP] workflow: add sequence for ordering workflow transitions (split/join mode espec...
Wolfgang Taferner [Mon, 4 Aug 2014 14:07:25 +0000 (16:07 +0200)]
[IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR)

Makes ordering transitions easier and more deterministic.

(Rebase of #1564)

9 years agoMerge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco
qdp-odoo [Tue, 5 Aug 2014 09:48:49 +0000 (11:48 +0200)]
Merge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco

[FIX] account: fix unexpected invalidation of field account_invoice.reconciled

9 years ago[FIX] mrp: Fix spelling error on 'manufacturing'
Florian Hatat [Mon, 4 Aug 2014 08:25:00 +0000 (10:25 +0200)]
[FIX] mrp: Fix spelling error on 'manufacturing'

Changing .po files to avoid to retranslate existing terms.
Fixes #1328

9 years ago[FIX] website_forum: when a user posting a new answer or question does not have a...
Jay Patel [Thu, 10 Jul 2014 10:14:51 +0000 (15:44 +0530)]
[FIX] website_forum: when a user posting a new answer or question does not have a valid email address, redirect to the user's profile instead of crashing when trying to send notifications.

9 years ago[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Raphael Collet [Tue, 5 Aug 2014 08:01:07 +0000 (10:01 +0200)]
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled

Problem: the field account_invoice.reconciled was invalidated by a workflow
signal sent from the compute method of the field. The purpose of the signal was
to re-open the invoice when the account move lines were no longer reconciled,
for instance after cancelling a reconciliation.

Solution: modify the workflow such that it makes an automatic transition from
'paid' to 're-open' when the condition 'not reconciled' is met. This works
because the field 'reconciled' is stored, and each recomputation forces a
reevaluation the workflow. The signal to re-open the invoice is thus no longer
necessary.

9 years ago[FIX] sale_stock: invoice createde from picking was not using the prive list from...
Jitendra Prajapati [Mon, 7 Jul 2014 10:04:01 +0000 (15:34 +0530)]
[FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components

9 years ago[FIX] website_blog: fixed mobile css for the blog footer
Mahendra barad [Mon, 4 Aug 2014 13:38:09 +0000 (19:08 +0530)]
[FIX] website_blog: fixed mobile css for the blog footer

9 years ago[FIX] account: method should return browse records, not set
Martin Trigaux [Tue, 5 Aug 2014 07:30:14 +0000 (09:30 +0200)]
[FIX] account: method should return browse records, not set

9 years ago[FIX] website: use SUPERUSER_ID to browse company for res_company
Denis Ledoux [Mon, 4 Aug 2014 19:08:18 +0000 (21:08 +0200)]
[FIX] website: use SUPERUSER_ID to browse company for res_company

In a multi-company environment,
if the user signed in was not working in the company displayed by the website,
he couldn't browse the website

9 years ago[FIX] account: correct v8 version of map_tax() method of account.fiscal.postion
Christophe Simonis [Mon, 4 Aug 2014 17:41:43 +0000 (19:41 +0200)]
[FIX] account: correct v8 version of map_tax() method of account.fiscal.postion

9 years ago[IMP] base: improved doc for `states` attribute of fields
Olivier Dony [Mon, 4 Aug 2014 16:19:47 +0000 (18:19 +0200)]
[IMP] base: improved doc for `states` attribute of fields

See #1527

9 years ago[FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Denis Ledoux [Mon, 4 Aug 2014 16:12:29 +0000 (18:12 +0200)]
[FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id

Some domains have not been altered according to this rename

9 years ago[MERGE] forward port of branch saas-5 up to 655a5b9
Denis Ledoux [Mon, 4 Aug 2014 14:56:10 +0000 (16:56 +0200)]
[MERGE] forward port of branch saas-5 up to 655a5b9

9 years ago[FIX] mrp: better selection of bom
Martin Trigaux [Mon, 4 Aug 2014 12:22:54 +0000 (14:22 +0200)]
[FIX] mrp: better selection of bom

When searching for a bom based on a product.product, the method used to return any bom linked to the template (so searching for bom for variant A could return bom for variant B if both share the same product.template).
This will allow to return bom not linked to a variant without returning the one of another variant (opw 609358)

9 years ago[MERGE] forward port of branch saas-4 up to 8c0c743
Denis Ledoux [Mon, 4 Aug 2014 14:14:31 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-4 up to 8c0c743

9 years ago[MERGE] forward port of branch saas-3 up to ebf317a
Denis Ledoux [Mon, 4 Aug 2014 14:14:05 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-3 up to ebf317a

9 years ago[MERGE] forward port of branch 7.0 up to e07bc5d
Denis Ledoux [Mon, 4 Aug 2014 14:10:06 +0000 (16:10 +0200)]
[MERGE] forward port of branch 7.0 up to e07bc5d

9 years agoMerge pull request #1563 from odoo-dev/saas-4-sale-report-validity-date-sle
sle-odoo [Mon, 4 Aug 2014 14:09:40 +0000 (16:09 +0200)]
Merge pull request #1563 from odoo-dev/saas-4-sale-report-validity-date-sle

website_quote: renamed validity date to expiry date & adapted the sale order report to display the expiry date in website_quote module instead of sale module

9 years ago[FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com
Christophe Simonis [Mon, 4 Aug 2014 14:00:33 +0000 (16:00 +0200)]
[FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com

9 years ago[ADD] res_partner: test case for fix rev 4a278809741d4e961ac13d3477a046d43b32cfa7
Denis Ledoux [Mon, 4 Aug 2014 13:54:56 +0000 (15:54 +0200)]
[ADD] res_partner: test case for fix rev 4a278809741d4e961ac13d3477a046d43b32cfa7

9 years ago[FIX] purchase: fix test merge_order (check on date_order was not correct)
Raphael Collet [Mon, 4 Aug 2014 09:20:03 +0000 (11:20 +0200)]
[FIX] purchase: fix test merge_order (check on date_order was not correct)

9 years ago[FIX] models: default_get() shall not return a dict as a many2one value
Raphael Collet [Mon, 4 Aug 2014 09:12:39 +0000 (11:12 +0200)]
[FIX] models: default_get() shall not return a dict as a many2one value

When a new record is returned as the value for a many2one on a new record, the
method Many2one.convert_to_write() now returns a NewID, and default_get() then
discards that value from its result. This makes it consistent with its former
behavior.

Manual rebase of #1547

9 years ago[REF] website_quote: displayed string of validity_date field changed from 'Validity...
Simon Lejeune [Mon, 4 Aug 2014 13:49:16 +0000 (15:49 +0200)]
[REF] website_quote: displayed string of validity_date field changed from 'Validity Date' to 'Expiry Date'

9 years ago[FIX] survey: missing timezone conversions
dhr-odoo [Tue, 10 Jun 2014 08:56:08 +0000 (14:26 +0530)]
[FIX] survey: missing timezone conversions

As the survey hardcode lot's of views and reports in python, we do not beneficiate from automatic timezone conversions in the webclient.
Hopefully this is fixed in v8 after refactoring of the survey module. opw 608786

9 years ago[FIX] module loading: manual x2x fields can now refer to manual models
Raphael Collet [Mon, 4 Aug 2014 09:45:11 +0000 (11:45 +0200)]
[FIX] module loading: manual x2x fields can now refer to manual models

The fix consists in this: when setting up models, ignore manual fields that
refer to unknown models if all models have not been loaded yet.

9 years ago[REF] mail: same_thread field changed into no_auto_thread, its contrary, to avoid...
Thibault Delavallée [Mon, 4 Aug 2014 11:02:42 +0000 (13:02 +0200)]
[REF] mail: same_thread field changed into no_auto_thread, its contrary, to avoid migration issues (adding a 'always False' column is easier than an 'always True').

9 years ago[FIX] sale/website_quote: inherit the sale order report to show the validity date
Simon Lejeune [Mon, 4 Aug 2014 12:45:38 +0000 (14:45 +0200)]
[FIX] sale/website_quote: inherit the sale order report to show the validity date

9 years agoMerge pull request #1428 from odoo-dev/sass-5-fixes-chm
Christophe Matthieu [Mon, 4 Aug 2014 12:43:54 +0000 (14:43 +0200)]
Merge pull request #1428 from odoo-dev/sass-5-fixes-chm

[FIX] website_sale and point_of_sale fixes

9 years ago[FIX] mrp: duplicated find bom buttons
Martin Trigaux [Mon, 4 Aug 2014 09:42:40 +0000 (11:42 +0200)]
[FIX] mrp: duplicated find bom buttons

The product_id field is not required on a mrp.bom (while product_tmpl_id is). When searching for BOMs linked to a product.product, we should display the one specific to this product and the ones linked to the template (but not linked to another variant).

9 years ago[FIX] procurement: missing variable
Martin Trigaux [Mon, 4 Aug 2014 10:14:11 +0000 (12:14 +0200)]
[FIX] procurement: missing variable

scheduler_cron_id was not initialised so the scheduler always crashed (with just info message)

9 years ago[FIX] website: encode param for seo search, else multi words will not work.
Jeremy Kersten [Mon, 4 Aug 2014 12:41:55 +0000 (14:41 +0200)]
[FIX] website: encode param for seo search, else multi words will not work.

9 years ago[FIX] res_partner: commercial partner sync
Denis Ledoux [Mon, 4 Aug 2014 12:34:08 +0000 (14:34 +0200)]
[FIX] res_partner: commercial partner sync

On child partner creation of a parent partner, the commercial_partner_id is not computed (and stored) in the create method.
Therefore, we should compute the commercial_partner_id before trying to sync his data

9 years ago[FIX] website: use internal route for SEO suggest keyword, old server is down
Jeremy Kersten [Mon, 4 Aug 2014 10:25:59 +0000 (12:25 +0200)]
[FIX] website: use internal route for SEO suggest keyword, old server is down

9 years ago[FIX] gamification: prevent traceback in goals history
cod-odoo [Fri, 1 Aug 2014 04:40:03 +0000 (10:10 +0530)]
[FIX] gamification: prevent traceback in goals history

Closes #1536

9 years ago[FIX] im_char: correct display over kanban view
rba-odoo [Wed, 30 Jul 2014 07:15:00 +0000 (12:45 +0530)]
[FIX] im_char: correct display over kanban view

9 years ago[FIX] payment*: add the customer state to payment (paypal) transactions
Denis Ledoux [Mon, 4 Aug 2014 09:05:01 +0000 (11:05 +0200)]
[FIX] payment*: add the customer state to payment (paypal) transactions

9 years ago[FIX] payment_paypal: paypal IPN, receiver_id is not always passed
Denis Ledoux [Mon, 4 Aug 2014 08:25:59 +0000 (10:25 +0200)]
[FIX] payment_paypal: paypal IPN, receiver_id is not always passed

The method  _paypal_form_get_invalid_parameters checks that the params passed by the paypal feedback coroborate with the transaction requested by Odoo.

It looks like the 'receiver_id' is not always passed by the paypal feedback. Therefore, we check this param only if it is available in the paypal feeback.

This issue had as side-effect to not validate the paypal transaction, which remained 'draft' permanently.

9 years ago[IMP] openerp.api: improve documentation
Raphael Collet [Mon, 4 Aug 2014 07:49:35 +0000 (09:49 +0200)]
[IMP] openerp.api: improve documentation

9 years ago[MERGE] Forward-port saas-5 up to 37ba23d
Olivier Dony [Sat, 2 Aug 2014 18:42:19 +0000 (20:42 +0200)]
[MERGE] Forward-port saas-5 up to 37ba23d

9 years ago[MERGE] Forward-port saas-3 up to b6acdc4
Olivier Dony [Sat, 2 Aug 2014 18:35:51 +0000 (20:35 +0200)]
[MERGE] Forward-port saas-3 up to b6acdc4

9 years ago[MERGE] Forward-port 7.0 up to 2493395
Olivier Dony [Sat, 2 Aug 2014 18:34:44 +0000 (20:34 +0200)]
[MERGE] Forward-port 7.0 up to 2493395

9 years ago[FIX] product_visible_discount: no crash when no pricelist passed or product without...
Olivier Dony [Sun, 3 Aug 2014 18:12:45 +0000 (20:12 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company

Fixes an error introduced in f6fb2b6

9 years ago[FIX] product_visible_discount: no crash when no pricelist passed or product without...
Olivier Dony [Sat, 2 Aug 2014 01:32:09 +0000 (03:32 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company

Fixes an error introduced in f6fb2b6

9 years ago[MERGE] Forward-port saas-3 up to 7273474
Olivier Dony [Fri, 1 Aug 2014 21:14:59 +0000 (23:14 +0200)]
[MERGE] Forward-port saas-3 up to 7273474

9 years ago[MERGE] Forward-port saas-3 up to fc92027
Olivier Dony [Fri, 1 Aug 2014 21:10:29 +0000 (23:10 +0200)]
[MERGE] Forward-port saas-3 up to fc92027

9 years ago[FIX] website: OpenERP->Odoo in website footer
Olivier Dony [Fri, 1 Aug 2014 21:04:42 +0000 (23:04 +0200)]
[FIX] website: OpenERP->Odoo in website footer

9 years ago[MERGE] Forward-port 7.0 up to 9411a2da
Olivier Dony [Fri, 1 Aug 2014 21:01:57 +0000 (23:01 +0200)]
[MERGE] Forward-port 7.0 up to 9411a2da