odoo/odoo.git
9 years agoForward port of branch saas-3 up to fc9fc3e
Martin Trigaux [Mon, 6 Oct 2014 13:52:23 +0000 (15:52 +0200)]
Forward port of branch saas-3 up to fc9fc3e

9 years ago[FIX] account: res_config: gain/loss exch. account onchange
Simon Lejeune [Mon, 6 Oct 2014 12:30:23 +0000 (14:30 +0200)]
[FIX] account: res_config: gain/loss exch. account onchange

Commit f4e350ca3 defined an `onchange_company_id` method, never executed
because another `onchange_company_id` was defined below. Merged the first
in the second.

9 years ago[FIX] website_quote: forbid to define a quote template on a sale order
Simon Lejeune [Mon, 6 Oct 2014 13:13:30 +0000 (15:13 +0200)]
[FIX] website_quote: forbid to define a quote template on a sale order

Defining a quote template may change the product list. The field template_id is now editable
only when the sale.order is in draft or sent state.

9 years ago[IMP] website_crm: allow the response from crm thanks page to be overridable
Jeremy Kersten [Mon, 6 Oct 2014 12:34:29 +0000 (14:34 +0200)]
[IMP] website_crm: allow the response from crm thanks page to be overridable

9 years ago[FIX] google_calendar: add missing parameter to logger_info
Jeremy Kersten [Mon, 6 Oct 2014 12:32:28 +0000 (14:32 +0200)]
[FIX] google_calendar: add missing parameter to logger_info

9 years ago[FIX] common.py: missing import
Martin Zlámal [Wed, 27 Aug 2014 14:58:55 +0000 (16:58 +0200)]
[FIX] common.py: missing import

It was not possible to call "about" function via remote control
(XML-RPC), because it contains string translation without import.

9 years ago[FIX] models: fields_get() shall not return info about fields not set up yet
Raphael Collet [Mon, 6 Oct 2014 09:56:03 +0000 (11:56 +0200)]
[FIX] models: fields_get() shall not return info about fields not set up yet

When processing data files during a module installation/upgrade, not all fields
are set up yet, in particular relational custom fields.  Make fields_get()
ignore those fields, so that views can be created/updated and validated,
provided they do not refer to those fields...

9 years ago[FIX] project: typo in protect.task create
Young Joy [Mon, 6 Oct 2014 03:27:55 +0000 (11:27 +0800)]
[FIX] project: typo in protect.task create

that typo will cause project task create error when set date_end before the time right now

9 years agoMerge pull request #2918 from odoo-dev/8.0-wmsextramoves-jco
Josse Colpaert [Mon, 6 Oct 2014 07:52:12 +0000 (09:52 +0200)]
Merge pull request #2918 from odoo-dev/8.0-wmsextramoves-jco

[IMP] Make sure invoice_state of picking is used when creating extra moves

9 years agoMerge pull request #2827 from odoo-dev/8.0-eanproductviews-2772-jco
Josse Colpaert [Mon, 6 Oct 2014 07:50:01 +0000 (09:50 +0200)]
Merge pull request #2827 from odoo-dev/8.0-eanproductviews-2772-jco

8.0 eanproductviews 2772 jco

9 years ago[FIX] Fix inheritance in point_of_sale views + ean visible on creation + landed costs...
Josse Colpaert [Tue, 30 Sep 2014 11:34:44 +0000 (13:34 +0200)]
[FIX] Fix inheritance in point_of_sale views + ean visible on creation + landed costs views

[IMP] Set custom EAN not visible when multiple variants

[IMP] Change landed costs views + make ean visible upon creation

9 years ago[FIX] Adapt product variants in order to show internal code and ean13 #2772
Josse Colpaert [Tue, 30 Sep 2014 09:08:50 +0000 (11:08 +0200)]
[FIX] Adapt product variants in order to show internal code and ean13 #2772

[IMP] Typo

9 years ago[IMP] Make sure invoice_state of picking is used when creating extra moves and take...
Josse Colpaert [Thu, 2 Oct 2014 10:00:46 +0000 (12:00 +0200)]
[IMP] Make sure invoice_state of picking is used when creating extra moves and take price of related move if there is one

When we would copy, it gives problems as it won't be invoiced the correct way on sale, so we provide for a simpler solution.

9 years ago[FIX] website_crm: move the input hidden generated with kwargs at bottom of the form...
Jeremy Kersten [Fri, 3 Oct 2014 20:26:26 +0000 (22:26 +0200)]
[FIX] website_crm: move the input hidden generated with kwargs at bottom of the form. Else, if the args is a field displayed later, form never look about the new value and error remains. When we post a form with 2 fields with the same name, we got only the first one into kwargs from controller.

9 years ago[IMP] hr_holiday/calendar : allow to pass no_email into context when we create a...
Jeremy Kersten [Fri, 3 Oct 2014 18:43:48 +0000 (20:43 +0200)]
[IMP] hr_holiday/calendar : allow to pass no_email into context when we create a meeting to avoid to send a mail to attendees.

9 years ago[IMP] google_calendar: add missing file google_calendar.xml
Jeremy Kersten [Fri, 3 Oct 2014 16:08:28 +0000 (18:08 +0200)]
[IMP] google_calendar: add missing file google_calendar.xml

9 years ago[IMP] Google calendar - add function to allow the cron to run google calendar synchro...
Jeremy Kersten [Fri, 3 Oct 2014 15:52:31 +0000 (17:52 +0200)]
[IMP] Google calendar - add function to allow the cron to run google calendar synchronization

9 years ago[FIX] account_anglo_saxon: avoid two box purchase_ok field
Prashant Panchal [Wed, 1 Oct 2014 05:03:26 +0000 (10:33 +0530)]
[FIX] account_anglo_saxon: avoid two box purchase_ok field

as account_anglo_saxon depends from purchase and purchase already adds the field purchase_ok
Fixes #2630

9 years ago[FIX] auth_ldap: remove insignificant spaces in login
Holger Brunn [Thu, 2 Oct 2014 13:52:07 +0000 (15:52 +0200)]
[FIX] auth_ldap: remove insignificant spaces in login

strip spaces from user name as they will probably be ignored by ldap's search (rfc4518)
Fixes #2865

9 years agoMerge pull request #2894 from erwin-bas-solutions/translation-reconcile
Arthur Maniet [Fri, 3 Oct 2014 14:00:10 +0000 (16:00 +0200)]
Merge pull request #2894 from erwin-bas-solutions/translation-reconcile

[FIX] Account. Missing translation on write-off comment

9 years ago[FIX] Account. Missing translation on write-off comment
Erwin van der Ploeg [Fri, 3 Oct 2014 13:38:45 +0000 (15:38 +0200)]
[FIX] Account. Missing translation on write-off comment

9 years agoForward port of branch 7.0 up to b3485fb
Martin Trigaux [Fri, 3 Oct 2014 13:17:36 +0000 (15:17 +0200)]
Forward port of branch 7.0 up to b3485fb

9 years ago[FIX] event: double context
Martin Trigaux [Fri, 3 Oct 2014 13:15:12 +0000 (15:15 +0200)]
[FIX] event: double context

9 years ago[FIX] event: missing context
Martin Trigaux [Fri, 3 Oct 2014 13:12:04 +0000 (15:12 +0200)]
[FIX] event: missing context

This fixes some translation issues (templates not translated at event confirmation)

9 years ago[FIX] website_quote: use dedicated email template if a quote template exists
Julien Legros [Fri, 3 Oct 2014 09:26:48 +0000 (11:26 +0200)]
[FIX] website_quote: use dedicated email template if a quote template exists

9 years ago[Revert] cb30783aba642627c6bf71d4aa812de00e7d536d & 6349048ba0e5e74c74e783ffce8c3c008...
Denis Ledoux [Fri, 3 Oct 2014 12:02:25 +0000 (14:02 +0200)]
[Revert] cb30783aba642627c6bf71d4aa812de00e7d536d & 6349048ba0e5e74c74e783ffce8c3c0083d2f060

[FIX] web: avoid force_reload in list editable
[FIX] web: force load record after reload page

These fixes prevent to open existing record form

9 years ago[FIX] account_anglo_saxon: price difference, discount and taxes
Martin Trigaux [Mon, 29 Sep 2014 12:48:11 +0000 (14:48 +0200)]
[FIX] account_anglo_saxon: price difference, discount and taxes

When computing the price difference amount do not integrate the eventual discount and taxes included in the price.
Otherwise the total of the generated accounting enty would be higher than the total of the invoice. opw 611350

9 years ago[MERGE] forward port of branch 7.0 up to 9066da3
Denis Ledoux [Fri, 3 Oct 2014 10:13:07 +0000 (12:13 +0200)]
[MERGE] forward port of branch 7.0 up to 9066da3

9 years ago[FIX] point_of_sale: do not display False as currency if symbol is not set
Denis Ledoux [Fri, 3 Oct 2014 10:09:48 +0000 (12:09 +0200)]
[FIX] point_of_sale: do not display False as currency if symbol is not set

9 years ago[FIX] ir_translation: apply tools.ustr on the trad itself
Denis Ledoux [Fri, 3 Oct 2014 10:08:49 +0000 (12:08 +0200)]
[FIX] ir_translation: apply tools.ustr on the trad itself

tools.ustr(None) returns u'None', res[0] can be None.

9 years ago[FIX] web: avoid force_reload in list editable
Martin Trigaux [Fri, 3 Oct 2014 09:21:48 +0000 (11:21 +0200)]
[FIX] web: avoid force_reload in list editable

When creating a new record in list editable, due to previous commit 6349048, the load_record was called twice and the first record of the current list view (self.dataset.index) was used to fill the new record.
With this, we make sure a new record is indeed created.
Fix the web test to have a default_get call in mock models and increase the number of default_get assertions (for creations in list editable, the default_get is then called twice, not optimal but due to the absence of distinction between empty datarecord and filled with default values).

9 years ago[MERGE] forward port of branch 7.0 up to 6d4e1cc
Denis Ledoux [Fri, 3 Oct 2014 09:22:47 +0000 (11:22 +0200)]
[MERGE] forward port of branch 7.0 up to 6d4e1cc

9 years ago[FIX] ir_translation: remove control characters from translations
Denis Ledoux [Fri, 3 Oct 2014 09:20:19 +0000 (11:20 +0200)]
[FIX] ir_translation: remove control characters from translations

This is possible that control characters (such as line returns) are inserted wrongly in translations
These should not influence on the web interface

9 years ago[FIX] account: return format of function field
dhr-odoo [Fri, 19 Sep 2014 09:38:46 +0000 (15:08 +0530)]
[FIX] account: return format of function field

When no result is found on the function field 'invoice' (account.move.line), instead of returning {move_id: (False, '')}, return {move_id: False} (expected for m2o fields)
Fixes #2138, opw 613096

9 years ago[FIX] web: force load record after reload page
Martin Trigaux [Fri, 3 Oct 2014 07:29:07 +0000 (09:29 +0200)]
[FIX] web: force load record after reload page

When reloading a page, the _actualize_mode is called before the record is loaded and the form is displayed partially in edit mode (o2m fields with delete/add icons).
This patch forces to trigger a load_record when the datarecord has not been loaded yet in the do_show merthod (opw 607910)

9 years ago[REF] website*: set spinner style in class, instead of inline
Denis Ledoux [Thu, 2 Oct 2014 18:33:53 +0000 (20:33 +0200)]
[REF] website*: set spinner style in class, instead of inline

This fix is related to:
8298cf6510db906006c43f8c96f712adb2740633
51e399d9acbda42a7ae59226f4302fb7c2a3aed7
9056c58cb8d12d17080ed4e5ede7a6466a0e1f75

9 years ago[FIX] website_sale: shopping cart quantity width (qty > 9)
Wolfgang Taferner [Thu, 2 Oct 2014 16:36:15 +0000 (18:36 +0200)]
[FIX] website_sale: shopping cart quantity width (qty > 9)

9 years ago[FIX] website_sale: too tiny quantity input (if qty > 9) for all occurences
Wolfgang Taferner [Thu, 2 Oct 2014 16:04:48 +0000 (18:04 +0200)]
[FIX] website_sale: too tiny quantity input (if qty > 9) for all occurences

9 years ago[FIX] api: clear environments on module installation
Denis Ledoux [Thu, 2 Oct 2014 08:36:42 +0000 (10:36 +0200)]
[FIX] api: clear environments on module installation

9 years ago[FIX] mail: keep breadcrumb on click on chatter follower
Denis Ledoux [Thu, 2 Oct 2014 15:34:59 +0000 (17:34 +0200)]
[FIX] mail: keep breadcrumb on click on chatter follower

9 years ago[FIX] email_template: don't escape the signature, it's a field `html`
Simon Lejeune [Tue, 30 Sep 2014 12:16:25 +0000 (14:16 +0200)]
[FIX] email_template: don't escape the signature, it's a field `html`

Fields of html type are already escaped in database and the method
`append_content_to_html` defaults the argument `plaintext` to True,
then calls `plaintext2html` if this argument is True, resulting in
the html signature being escaped twice.

9 years ago[FIX] ir_qweb: search assets as superuser
Denis Ledoux [Thu, 2 Oct 2014 14:33:57 +0000 (16:33 +0200)]
[FIX] ir_qweb: search assets as superuser

A security has been introduce in eb9113c04d66627fbe04b473b9010e5de973c6aa to restrict access to orphan attachments to employees only

Assets need to be build and accessed as superuser, thus

9 years ago[FIX] odoo.py windows compatibility
jmustonen [Wed, 1 Oct 2014 09:28:09 +0000 (12:28 +0300)]
[FIX] odoo.py windows compatibility

Prevent infinite loop when installing on windows
Fixes #2825

Tested to work on
* Git Bash v1.9.4 on Windows 8.1 Professional
* Ubuntu 12.04.5 LTS

9 years ago[FIX] web: manual update of select2 lib to 3.5.1 version
Simon Lejeune [Wed, 1 Oct 2014 16:53:07 +0000 (18:53 +0200)]
[FIX] web: manual update of select2 lib to 3.5.1 version

The previous version of the lib seemed to be in an inconsistent state.
This fix the select2-offscreen class when the page is larger than
10 000px (this situation happens when importing a file with lots
of column).

9 years ago[MERGE] forward port of branch saas-3 up to 77500e5
Denis Ledoux [Thu, 2 Oct 2014 13:36:58 +0000 (15:36 +0200)]
[MERGE] forward port of branch saas-3 up to 77500e5

9 years ago[MERGE] forward port of branch 7.0 up to eb9113c
Denis Ledoux [Thu, 2 Oct 2014 13:34:02 +0000 (15:34 +0200)]
[MERGE] forward port of branch 7.0 up to eb9113c

9 years ago[FIX] ir_attachment: restrict access to orphan attachments to employees
Denis Ledoux [Thu, 2 Oct 2014 13:17:48 +0000 (15:17 +0200)]
[FIX] ir_attachment: restrict access to orphan attachments to employees

9 years ago[FIX] barcode interface: a lot of deferred were not correctly returned
Cedric Snauwaert [Thu, 2 Oct 2014 12:09:13 +0000 (14:09 +0200)]
[FIX] barcode interface: a lot of deferred were not correctly returned

9 years ago[FIX] sale_order_date: requested_date editable in `sent` state
Simon Lejeune [Tue, 30 Sep 2014 14:41:26 +0000 (16:41 +0200)]
[FIX] sale_order_date: requested_date editable in `sent` state

9 years ago[IMP] ir_qweb: allow to display a datetime like a date
Jeremy Kersten [Thu, 2 Oct 2014 11:22:39 +0000 (13:22 +0200)]
[IMP] ir_qweb: allow to display a datetime like a date

9 years ago[IMP] website: add snippet for floating picture
Christophe Matthieu [Thu, 2 Oct 2014 10:39:49 +0000 (12:39 +0200)]
[IMP] website: add snippet for floating picture

9 years ago[FIX] auth_oauth: fb and google oauth providers reset on general settings apply
Denis Ledoux [Thu, 2 Oct 2014 10:32:02 +0000 (12:32 +0200)]
[FIX] auth_oauth: fb and google oauth providers reset on general settings apply

 - The res_config.xml file was missing in the manifest (so couldn't check the use of FB and Google OAuth from the general settings)
 - The default value for these oauth configuration were not set

9 years ago[ADD] contribution files and image removed at 2ad092b
Martin Trigaux [Thu, 2 Oct 2014 10:05:32 +0000 (12:05 +0200)]
[ADD] contribution files and image removed at 2ad092b

9 years ago[FIX] account_analytic_analysis: invoiced field takes customer invoices only
Denis Ledoux [Thu, 2 Oct 2014 09:52:06 +0000 (11:52 +0200)]
[FIX] account_analytic_analysis: invoiced field takes customer invoices only

Besides, it subtracts customer invoices with customer refund invoices

9 years ago[IMP] product: name_get matching on commercial_partner_id for suppliers
Martin Trigaux [Thu, 2 Oct 2014 08:12:51 +0000 (10:12 +0200)]
[IMP] product: name_get matching on commercial_partner_id for suppliers

The name_get of a product will use some information (e.g. default_code) based on the supplier.
The matching of the supplier should use the commercial_partner_id in case the supplier info are on the company and the partner_id in the context belongs to the company (e.g. creates quotation with a contact of the company).
Fixes #1219

9 years ago[FIX] website_sale: too tiny quantity input (if qty > 9)
Denis Ledoux [Thu, 2 Oct 2014 08:58:14 +0000 (10:58 +0200)]
[FIX] website_sale: too tiny quantity input (if qty > 9)

9 years ago[FIX] website: editor: ignore spurious changes for editable content
Olivier Dony [Thu, 2 Oct 2014 08:13:29 +0000 (10:13 +0200)]
[FIX] website: editor: ignore spurious changes for editable content

Changes to contentEditable or attributeEditable attributes
should not cause the corresponding section to be marked
as dirty (oe_dirty). This would otherwise cause an extra
editor save() for those, wrongly marking untouched
templates as `noupdate`, and possibly triggering access
right errors.

9 years ago[FIX] website: repair compatibility with 8.0rc1 carousel (banner) snippets that may...
Christophe Matthieu [Wed, 1 Oct 2014 16:46:13 +0000 (18:46 +0200)]
[FIX] website: repair compatibility with 8.0rc1 carousel (banner) snippets that may be present in existing pages

9 years ago[FIX] account: recordsets are not sortable in-place
Christophe Simonis [Wed, 1 Oct 2014 15:51:01 +0000 (17:51 +0200)]
[FIX] account: recordsets are not sortable in-place

9 years ago[FIX] correct typo introduce during forward-port in commit 388f1a1
Christophe Simonis [Wed, 1 Oct 2014 15:13:38 +0000 (17:13 +0200)]
[FIX] correct typo introduce during forward-port in commit 388f1a1

9 years ago[FIX] stock: allow the user to use the '!=' operator in domains for 'Qty on Hand...
qdp-odoo [Wed, 1 Oct 2014 14:50:10 +0000 (16:50 +0200)]
[FIX] stock: allow the user to use the '!=' operator in domains for 'Qty on Hand' and 'Qty available'. Fixes #2763

9 years ago[MERGE] forward port of branch saas-3 up to 3d4b82c
Christophe Simonis [Wed, 1 Oct 2014 14:46:03 +0000 (16:46 +0200)]
[MERGE] forward port of branch saas-3 up to 3d4b82c

9 years ago[FIX] migration: allow debugging of migration scripts + avoid useless copies
Christophe Simonis [Wed, 1 Oct 2014 14:34:13 +0000 (16:34 +0200)]
[FIX] migration: allow debugging of migration scripts + avoid useless copies

9 years ago[FIX] account: avoid closing fiscalyear with unpost entries
Ravi Gohil [Thu, 31 Jul 2014 10:10:27 +0000 (15:40 +0530)]
[FIX] account: avoid closing fiscalyear with unpost entries

As when closing fiscal periods, forbid to close a fiscal year with unposted entries.
Fixes #1194, opw 610784

9 years ago[FIX] account: remove orphan analytic lines
Humberto Arocha [Thu, 17 Jul 2014 16:44:58 +0000 (12:14 -0430)]
[FIX] account: remove orphan analytic lines

If the analytic account is not present on an entry, still removes the Analytic Journal Items linked to it.
Fixes #1194, opw 610784

9 years ago[FIX] account: fixed broken constraint (due to the passage to the new API) to ensure...
qdp-odoo [Wed, 1 Oct 2014 14:05:53 +0000 (16:05 +0200)]
[FIX] account: fixed broken constraint (due to the passage to the new API) to ensure the same partner is present on journal items we try to reconcile partially. Fixes #2527

9 years ago[IMP] fields: allow sorting on inherited field in list views
Raphael Collet [Wed, 1 Oct 2014 12:47:08 +0000 (14:47 +0200)]
[IMP] fields: allow sorting on inherited field in list views

9 years ago[IMP] fields: split multi-purpose '_origin' into 'column' and 'inherited'
Raphael Collet [Wed, 1 Oct 2014 08:02:10 +0000 (10:02 +0200)]
[IMP] fields: split multi-purpose '_origin' into 'column' and 'inherited'

This makes it easier to determine when a field interfaces a column, and when it
implements an inherited field (with _inherits).

9 years ago[REVERT] typo
xmo-odoo [Wed, 1 Oct 2014 13:19:20 +0000 (15:19 +0200)]
[REVERT] typo

9 years ago[FIX] website_sale: checkout: do not reset address country every time
Olivier Dony [Tue, 30 Sep 2014 15:54:25 +0000 (17:54 +0200)]
[FIX] website_sale: checkout: do not reset address country every time

Once the value is set it can be modified by the user
(e.g. if geoip detection was wrong), so should not be reset.

9 years ago[FIX] doc: branch name in configuration
xmo-odoo [Wed, 1 Oct 2014 13:02:20 +0000 (15:02 +0200)]
[FIX] doc: branch name in configuration

The branch name is used in the version switcher, so the master branch should have a version of "master".

Maybe the release could be the revision hash? Not sure how to extract it from the repo.

9 years ago[MERGE] forward port of branch 7.0 up to 9cc54dc
Denis Ledoux [Wed, 1 Oct 2014 10:41:42 +0000 (12:41 +0200)]
[MERGE] forward port of branch 7.0 up to 9cc54dc

9 years ago[FIX] product: name_search handles negative operators
Denis Ledoux [Wed, 1 Oct 2014 10:39:32 +0000 (12:39 +0200)]
[FIX] product: name_search handles negative operators

9 years ago[FIX] event: jump on the correct menu after installing
Thibault Delavallée [Wed, 1 Oct 2014 08:45:59 +0000 (10:45 +0200)]
[FIX] event: jump on the correct menu after installing
the event application (event kanban view).

Also added a missing description on event.type model.

9 years ago[IMP] fields: split the default value from the compute function
Raphael Collet [Tue, 30 Sep 2014 13:35:24 +0000 (15:35 +0200)]
[IMP] fields: split the default value from the compute function

This separation allows to set a default value on a related field, for instance.

9 years ago[FIX] website*sale: product_id_change qty is 0 by default
Denis Ledoux [Tue, 30 Sep 2014 15:20:28 +0000 (17:20 +0200)]
[FIX] website*sale: product_id_change qty is 0 by default

Thus, need to pass the actual quantity to product_id_change in order to set values correctly

9 years ago[FIX] sale_margin: stored field functions cannot trigger other stored field functions
Denis Ledoux [Tue, 30 Sep 2014 15:19:00 +0000 (17:19 +0200)]
[FIX] sale_margin: stored field functions cannot trigger other stored field functions

the update of sale.order margin field was trigger with the margin stored field of sale.order.line: This cannot work with the old api

9 years ago[FIX] purchase: minmum purchase quantity and float precision (opw 610557)
dhr-odoo [Wed, 16 Jul 2014 13:45:56 +0000 (19:15 +0530)]
[FIX] purchase: minmum purchase quantity and float precision (opw 610557)

9 years ago[FIX] hr_payroll_account: do not create entries with amount at 0
Martin Trigaux [Tue, 30 Sep 2014 14:17:57 +0000 (16:17 +0200)]
[FIX] hr_payroll_account: do not create entries with amount at 0

If the salary compuation gives a salary of zero, skip the creation of the account.move.line (not good to have lines at 0).
Fixes lp:1298116, opw 605816

9 years ago[FIX] hr_expense: computation of tax/base amount
Martin Trigaux [Tue, 30 Sep 2014 13:31:52 +0000 (15:31 +0200)]
[FIX] hr_expense: computation of tax/base amount

When computing the amount for a tax (included) with children, accumulate the included taxes to avoid taking only the last one (opw 614867).

9 years ago[MERGE] forward port of branch 7.0 up to 419c439
Denis Ledoux [Tue, 30 Sep 2014 13:46:11 +0000 (15:46 +0200)]
[MERGE] forward port of branch 7.0 up to 419c439

9 years ago[FIX] account: sort partner ledger report by partner ref, name
Denis Ledoux [Tue, 30 Sep 2014 13:44:53 +0000 (15:44 +0200)]
[FIX] account: sort partner ledger report by partner ref, name

9 years ago[FIX] fleet: contract onchange: ensure dict before executing `get`
Simon Lejeune [Fri, 26 Sep 2014 16:36:13 +0000 (18:36 +0200)]
[FIX] fleet: contract onchange: ensure dict before executing `get`

9 years ago[FIX] fields: copy origin to avoid sharing field objects between registries
Denis Ledoux [Tue, 30 Sep 2014 11:29:54 +0000 (13:29 +0200)]
[FIX] fields: copy origin to avoid sharing field objects between registries

Fix a bug introduced in revision f229974, where shared columns objects are
systematically reintroduced in registries.

9 years ago[FIX] im_livechat: ir.config_parameter must be read as superuser
Denis Ledoux [Tue, 30 Sep 2014 12:05:02 +0000 (14:05 +0200)]
[FIX] im_livechat: ir.config_parameter must be read as superuser

As ir.config_parameter is restricted to employees in ACL, for security reasons

9 years agoMerge pull request #2796 from gurneyalex/8.0-improve_report_not_found_exception
xmo-odoo [Tue, 30 Sep 2014 10:54:32 +0000 (12:54 +0200)]
Merge pull request #2796 from gurneyalex/8.0-improve_report_not_found_exception

[FIX] lookup_report: exception message when the report is not found

9 years agofix exception message in report seachr
Alexandre Fayolle [Tue, 30 Sep 2014 09:35:05 +0000 (11:35 +0200)]
fix exception message in report seachr

when we get to the raise statement, `r` is `None`, so displaying it in the
exception message is useless. `name` is what we want to show.

9 years ago[IMP] gamification_sale_crm: change date filed for definition "Logged Calls"
Martin Trigaux [Tue, 30 Sep 2014 09:33:26 +0000 (11:33 +0200)]
[IMP] gamification_sale_crm: change date filed for definition "Logged Calls"

The field date_close is only computed when writing the state done. In v8, the phonecalls are always created in state done if the user is not in the group crm.group_scheduled_calls (displays menus to schedule calls.
As the field date_closed is then almost never set, change the date field by the one displayed in the form view. opw 614893

9 years agoMerge pull request #2771 from odoo-dev/8.0-wmsstaging11-jco
Josse Colpaert [Tue, 30 Sep 2014 09:06:50 +0000 (11:06 +0200)]
Merge pull request #2771 from odoo-dev/8.0-wmsstaging11-jco

8.0 wmsstaging11 jco

9 years ago[FIX] purchase: do not reset price_unit on qty or uom change
Denis Ledoux [Tue, 30 Sep 2014 08:40:42 +0000 (10:40 +0200)]
[FIX] purchase: do not reset price_unit on qty or uom change

only when the product is actually changed

9 years ago[IMP] UoM corrections + Adapt tables in stock doc
Josse Colpaert [Mon, 29 Sep 2014 15:48:38 +0000 (17:48 +0200)]
[IMP] UoM corrections + Adapt tables in stock doc

[IMP] Float_compare before splitting moves in mrp

9 years ago[IMP] Better demo data + property comment + recheck
Josse Colpaert [Mon, 29 Sep 2014 09:13:44 +0000 (11:13 +0200)]
[IMP] Better demo data + property comment + recheck

[IMP] Recheck should be type object and procure_method read only when not in draft

[FIX] Inversion of moves in the correct way and assigning production_id

As the moves are split the other way, the original move needs to be done.  Also the production_id for linking the
new to be produced moves and the production order must be written on those.

[IMP] Clean

9 years ago[FIX] mrp: solve bom structures views
Simon Lejeune [Fri, 26 Sep 2014 14:12:02 +0000 (16:12 +0200)]
[FIX] mrp: solve bom structures views

A previous refactoring brought a bom_line_ids field on the mrp.bom, thus
deprecating the _child_compute method. But the previous refactoring did
not go through all the views, breaking everything that relied on the
_child_compute (tree view, report). As the bom_line_ids refers to the
mrp.bom.line model (introduced by this previous refactoring, note:
_child_compute returned mrp.bom record) and that we can't make a treeview
showing different model, this patch introduce a function field _get_child_bom_lines
on the mrp.line model, allowing to go through the bom_line_ids of a mrp.bom.line
if this mrp.bom.line refers to a mrp.bom.

[IMP] Rename bom_line_ids to child_line_ids in mrp_bom_line to avoid confusion

9 years ago[IMP] Update module descriptions of procurement and product_extended + _bom_find...
Josse Colpaert [Fri, 26 Sep 2014 08:40:55 +0000 (10:40 +0200)]
[IMP] Update module descriptions of procurement and product_extended + _bom_find and properties

Module description of procurement was deprecated (talking about mrp, ...) and in product_extended
it described things not implemented in the module.

In _bom_find, we passed a UoM which was not used in Saas-4 and it would not be logical that you
need to select a BoM that matches the UoM, so I removed it.

In the demo data, there was still a push rule which triggered a move from output to pack.  The copy=False
is correct for production_id when you would have these push rules.

For the properties: we want to allow to take a bom which has no properties, but only when there is no other
BoM matching the properties we pass.

Update module descriptions

[IMP] production_id copy + no round

[IMP] _bom_find without uom, property correction

9 years ago[IMP] Change documentation + new action_consume/qty/origin corrections
Josse Colpaert [Mon, 22 Sep 2014 20:17:15 +0000 (22:17 +0200)]
[IMP] Change documentation + new action_consume/qty/origin corrections

Simplify the action_consume of the consumption lines after the corrections
by Kevin Wang.  Also the UoMs are revised as the action_consume uses the default UoM
of the product.

We have to avoid circular boms where a child bom should not contain the product that
represents the parent bom, but it is possible for example to use another product of the parent bom in
the child bom.

As the consume line move has no procurement rule, its origin will have no description.  So, when there is
none it will also check the description of the previous move (when passed to procurement for example) This way
the chained moves or purchase order for example will have the MO-number as origin and not nothing.

[IMP] Change assignation

[IMP] UoM changes continuation

[IMP] Make sure we can use 2 times the same product in a BoM

[IMP] Source document for consume lines to procurement

9 years agouse warehouse._get_mto_route to get the MTO route
Alexandre Fayolle [Mon, 22 Sep 2014 12:20:45 +0000 (14:20 +0200)]
use warehouse._get_mto_route to get the MTO route

instead of using a custom lookup with a different implementation
closes #2608

pass context as a named argument

9 years ago[FIX]keep primary move when split consume raw materials
kevin wang [Mon, 22 Sep 2014 07:27:52 +0000 (15:27 +0800)]
[FIX]keep primary move when split consume raw materials

9 years ago[IMP] UoM in mrp + rereserve of partial
Josse Colpaert [Mon, 22 Sep 2014 15:42:59 +0000 (17:42 +0200)]
[IMP] UoM in mrp + rereserve of partial

9 years agoMerge pull request #2789 from erwin-bas-solutions/translation-timesheet-alert
xmo-odoo [Tue, 30 Sep 2014 08:30:39 +0000 (10:30 +0200)]
Merge pull request #2789 from erwin-bas-solutions/translation-timesheet-alert

[Fix] hr_timesheet: Make alert translatable

9 years ago[Fix] hr_timesheet: When changing the date in timesheet activities gives alert, but...
Erwin van der Ploeg [Tue, 30 Sep 2014 07:49:17 +0000 (09:49 +0200)]
[Fix] hr_timesheet: When changing the date in timesheet activities gives alert, but alert is not translatable.