odoo/odoo.git
9 years ago[MERGE] forward port of branch saas-3 up to 8c4a7cb
Denis Ledoux [Tue, 4 Nov 2014 11:30:01 +0000 (12:30 +0100)]
[MERGE] forward port of branch saas-3 up to 8c4a7cb

9 years ago[MERGE] forward port of branch 7.0 up to 5035c76
Denis Ledoux [Tue, 4 Nov 2014 11:19:58 +0000 (12:19 +0100)]
[MERGE] forward port of branch 7.0 up to 5035c76

9 years ago[FIX] product: product prices can be company dependent
Denis Ledoux [Tue, 4 Nov 2014 10:54:03 +0000 (11:54 +0100)]
[FIX] product: product prices can be company dependent

Some prices, as standard_price, being a property, are company dependent. Therefore, when browsing as superuser, force_company is mandatory to get the property of the user company

9 years ago[FIX] gamification: call _send_badge on right object
Martin Trigaux [Tue, 4 Nov 2014 10:49:31 +0000 (11:49 +0100)]
[FIX] gamification: call _send_badge on right object

9 years agoMerge pull request #3332 from akretion/8.0-prepare-analytic-pos
Frédéric Van der Essen [Tue, 4 Nov 2014 10:39:03 +0000 (11:39 +0100)]
Merge pull request #3332 from akretion/8.0-prepare-analytic-pos

point_of_sale: Add _prepare_analytic_account method

9 years ago[FIX] account: backport of 12a39db
Stéphane Bidoul [Mon, 23 Jun 2014 15:23:32 +0000 (17:23 +0200)]
[FIX] account: backport of 12a39db

[FIX] account: Preserve analytic account on tax lines which are on same general account as invoice line

After careful analysis, I'm now convinced it is a good thing to preserve
the analytic account on taxes line which have the same general account
as the invoice line.

This is the best default case and will save time for users,
while leaving the flexibility to adapt the analytic account on
taxes manually.

9 years ago[FIX] account: backport of 3470643
Stéphane Bidoul [Fri, 6 Jun 2014 14:51:09 +0000 (16:51 +0200)]
[FIX] account: backport of 3470643

[FIX] account: Error when manually adding analytic account in the generated tax lines on an invoice

fixes #374
fixes https://bugs.launchpad.net/ocb-addons/+bug/1084822

The fix considers invoice tax lines with different analytic account
are equivalent for the purpose of checking if the list of tax line
is complete.

Caveat, this changes the structure of keys in the dictionary
returned by account.invoice.tax's compute method, I suppose this
is ok for the master branch.

9 years ago[FIX] website: main layout - title more flexible for customization. (additionnal_...
Jeremy Kersten [Tue, 4 Nov 2014 10:20:21 +0000 (11:20 +0100)]
[FIX] website: main layout - title more flexible for customization. (additionnal_)title was overwritted by website_meta_title or main_object.name

9 years ago[FIX] web: t-attf expects #{} or {{}} for variables
Denis Ledoux [Tue, 4 Nov 2014 09:54:15 +0000 (10:54 +0100)]
[FIX] web: t-attf expects #{} or {{}} for variables

not just {}. Nevertheless, It somehow worked in Odoo 7.0 and saas-3.

9 years ago[IMP] project_issue : correct model name in onchange method
Sheth Sunny [Mon, 3 Nov 2014 10:08:22 +0000 (15:38 +0530)]
[IMP] project_issue : correct model name in onchange method

There is no model project.issueS, making the onchange select an inexistant model.
Fixes #3418

9 years ago[FIX] base_iban: IBAN constraint trigger
Alexis de Lattre [Fri, 31 Oct 2014 21:33:58 +0000 (22:33 +0100)]
[FIX] base_iban: IBAN constraint trigger

Make sure the constraint on IBAN format is checked when either the state or the account number is changed.
'iban' field was not modified so the check never triggered and could enter invalid IBAN
Fixes #3426

9 years ago[FIX] web: more backports for cleditor
Thibault Delavallée [Wed, 5 Mar 2014 10:49:31 +0000 (11:49 +0100)]
[FIX] web: more backports for cleditor

Restauring changes removed by the update of the library
bff34f4014aee31aac7412cc38598adbeb8230f0
17a23c60b80474f053997f90d05a94acb8561604
cc23ddd0cec62342d538c17140840f7dda569d0b
5c45aac7ef9df8f2f0d2aeb213813a99dfb2a8c7

9 years ago[IMP] marketing_campaign: forbid creation of activities from transitions
Christophe Simonis [Mon, 3 Nov 2014 16:42:19 +0000 (17:42 +0100)]
[IMP] marketing_campaign: forbid creation of activities from transitions

9 years ago[IMP] doc: remove guides section, move themes to tutorials and rest to reference
Xavier Morel [Mon, 3 Nov 2014 16:31:54 +0000 (17:31 +0100)]
[IMP] doc: remove guides section, move themes to tutorials and rest to reference

also pass PNGs through crusher, turns out dot produces pretty terrible PNGs

9 years ago[FIX] web: backport of 2331b14
Paramjit Singh Sahota [Tue, 4 Mar 2014 13:25:34 +0000 (18:55 +0530)]
[FIX] web: backport of 2331b14

Update the cleditor lib from v1.3.0 to v1.4.4 fixing IE11 issue, opw 614826

9 years ago[FIX] Remove duplicate "Can be purchased" filter.
Leonardo Donelli [Thu, 2 Oct 2014 13:31:08 +0000 (15:31 +0200)]
[FIX] Remove duplicate "Can be purchased" filter.

Duplicate product filter "To Purchase" and "Can be Purchased". Same search
criteria and same name, so removing one doesn't affect people who were
referencing it (e.g. with search_default_* key in context).  Left the one
named "Can be Purchased" because consistent with the equivalent sale filter
"Can be Sold".

Fixes #2718, closes #2864

9 years ago[FIX] payment_paypal: add company name in paypal item name
Denis Ledoux [Mon, 3 Nov 2014 14:13:38 +0000 (15:13 +0100)]
[FIX] payment_paypal: add company name in paypal item name

So the company name is displayed in the paypal payment form

9 years ago[IMP] doc: add some diagrams to workflow doc
Xavier Morel [Mon, 3 Nov 2014 13:53:38 +0000 (14:53 +0100)]
[IMP] doc: add some diagrams to workflow doc

Also move transitions to the bottom of the document, and try to clarify the
documentation for split, join and activity kinds.

9 years ago[FIX] payment_paypal: env field has been renamed with environment in 8.0
Denis Ledoux [Mon, 3 Nov 2014 13:06:52 +0000 (14:06 +0100)]
[FIX] payment_paypal: env field has been renamed with environment in 8.0

as env is a built-in orm variable.

9 years ago[DOC] fields.py: oldname key
Richard Mathot [Mon, 3 Nov 2014 12:39:16 +0000 (18:09 +0530)]
[DOC] fields.py: oldname key

9 years ago[FIX] doc: graph <field> does not use :grouping
Xavier Morel [Mon, 3 Nov 2014 12:00:54 +0000 (13:00 +0100)]
[FIX] doc: graph <field> does not use :grouping

see #3403 and 7ad4af8

9 years ago[CHG] doc: promote individual view types to document toplevel
Xavier Morel [Mon, 3 Nov 2014 11:59:59 +0000 (12:59 +0100)]
[CHG] doc: promote individual view types to document toplevel

9 years ago[FIX] point_of_sale: details of sales report: include discount when computing taxes
Simon Lejeune [Mon, 3 Nov 2014 11:24:09 +0000 (12:24 +0100)]
[FIX] point_of_sale: details of sales report: include discount when computing taxes

Also, fixed a typo in the report's view.

9 years ago[IMP] account: Add multi-company record rule for analytic entries report
Adrien Peiffer [Mon, 29 Sep 2014 15:26:14 +0000 (17:26 +0200)]
[IMP] account: Add multi-company record rule for analytic entries report

As a multi-company rule is already present for account.analytic.account and account.analytic.line, should have one on the report on both of them.

9 years ago[IMP] account: remove duplicated field in view
Martin Trigaux [Mon, 3 Nov 2014 10:41:03 +0000 (11:41 +0100)]
[IMP] account: remove duplicated field in view

Partial backport of 5f06129.
Fixes #2837

9 years ago[FIX] doc: fit code example to new API
Nicolas Bustillos [Thu, 30 Oct 2014 22:34:48 +0000 (18:34 -0400)]
[FIX] doc: fit code example to new API

When using this code as is, the 'ids' variable throws an exception for not
being defined. In the new API, 'ids' is no longer given as a function variable
but as a variable within 'self'.

close #3406

9 years ago[FIX] corrected a word in a comment
hiekmann [Fri, 31 Oct 2014 14:44:52 +0000 (14:44 +0000)]
[FIX] corrected a word in a comment

closes #3423

9 years ago[FIX] product_visible_discount: display full unit price only when the discount column...
David Monjoie [Fri, 31 Oct 2014 13:49:33 +0000 (14:49 +0100)]
[FIX] product_visible_discount: display full unit price only when the discount column is displayed

Without this, the unit price is visually set to full, the discount column is not visible, but the actual price used in computation is the discounted price, very misleading !

9 years ago[FIX] product: pricelist now consider the quantity in product uom qty for rule applic...
David Monjoie [Thu, 30 Oct 2014 16:08:12 +0000 (17:08 +0100)]
[FIX] product: pricelist now consider the quantity in product uom qty for rule application purposes

9 years ago[FIX] purchase: fixed recomputation of unit price when changing product quantity...
David Monjoie [Thu, 30 Oct 2014 13:41:15 +0000 (14:41 +0100)]
[FIX] purchase: fixed recomputation of unit price when changing product quantity or uom

9 years ago[FIX] web: on editable list save, valid all records
Denis Ledoux [Fri, 31 Oct 2014 16:40:56 +0000 (17:40 +0100)]
[FIX] web: on editable list save, valid all records

opw-617036:
In my current timesheet, if you add a a required field on the timesheet ids lines, and add data in the summary tab, it was possible to validate the timesheet lines while requried fields were missing.

9 years ago[FIX] pad: hide navbar when passing in fullscreen mode
Christophe Simonis [Fri, 31 Oct 2014 16:38:11 +0000 (17:38 +0100)]
[FIX] pad: hide navbar when passing in fullscreen mode

9 years ago[FIX] stock: more tolerant copy method
Mohammad Alhashash [Fri, 31 Oct 2014 12:47:18 +0000 (14:47 +0200)]
[FIX] stock: more tolerant copy method

Allow setting origin/backorder when copying new stock.picking
Fixes #379, lp:1098557

9 years ago[IMP] stock: avoid errors with picking without quantity
Martin Trigaux [Fri, 31 Oct 2014 11:20:56 +0000 (12:20 +0100)]
[IMP] stock: avoid errors with picking without quantity

When a line is not present in the partial delivery wizard, computation variables are initialized with generic values (zero quantity, zero price,...). Instead of setting the uom to False, keep the quantity of the move.
This makes a difference only when the quantity of the move is 0. That means that the move will be marked as complete and can be processed.
This avoids trying to update the stock.move with a uom at False. opw 616844

9 years ago[FIX] updates the graph view documentation
Géry Debongnie [Fri, 31 Oct 2014 08:43:56 +0000 (09:43 +0100)]
[FIX] updates the graph view documentation

It was wrong.

9 years ago[IMP] doc: link directly to edition mode in docfiles
Xavier Morel [Thu, 30 Oct 2014 15:24:03 +0000 (16:24 +0100)]
[IMP] doc: link directly to edition mode in docfiles

9 years ago[IMP] doc: add link to company website in footer, fix release version
Xavier Morel [Thu, 30 Oct 2014 15:18:52 +0000 (16:18 +0100)]
[IMP] doc: add link to company website in footer, fix release version

9 years ago[IMP] doc: link logo to current doc's root, not to odoo.com
Xavier Morel [Thu, 30 Oct 2014 15:14:35 +0000 (16:14 +0100)]
[IMP] doc: link logo to current doc's root, not to odoo.com

9 years ago[FIX] account: default partner format
Martin Trigaux [Fri, 31 Oct 2014 07:38:34 +0000 (08:38 +0100)]
[FIX] account: default partner format

When creating a new account.move.line, the computation of the default values should accept both `id` and `(id, name)` format.
The key partner_id may be containing a tuple so browsing should only be done on the first element of the tuple.
Fixes #3386

9 years ago[FIX] project_issue: explicit store attribute for the progress function field
Julien Legros [Thu, 30 Oct 2014 16:58:29 +0000 (17:58 +0100)]
[FIX] project_issue: explicit store attribute for the progress function field

This is a workaround for an ORM limitation. A stored function field is
not updated when it should if the "source" field is also a stored function
field

9 years ago[FIX] packaging: debian: set /var/lib/odoo as odoo user home dir
Simon Lejeune [Thu, 30 Oct 2014 14:50:45 +0000 (15:50 +0100)]
[FIX] packaging: debian: set /var/lib/odoo as odoo user home dir

9 years ago[FIX] account: domain on wrong field
Somesh Khare [Mon, 13 Oct 2014 12:24:25 +0000 (17:54 +0530)]
[FIX] account: domain on wrong field

The store recomputation method failed as the search was made comparing id of account.move.line to the account.journal values. Search was returing no result most of the time (opw 615554)
Fixes #2454

9 years ago[FIX] fields: make field.store=False on old-style function fields
Raphael Collet [Thu, 30 Oct 2014 10:00:10 +0000 (11:00 +0100)]
[FIX] fields: make field.store=False on old-style function fields

Clarify the semantics of field attributes:
 - field.store is True when the field is actually stored in the database;
 - field.column is the column corresponding to field or None.

The various field definitions correspond to:
 - new-style stored field: field.store and field.column
 - new-style non-stored field: not field.store and not field.column
 - old-style regular field: field.store and field.column
 - old-style function field: not field.store and field.column

9 years ago[FIX] purchase: fixed product_uom and price_unit update on product_id change on purch...
David Monjoie [Thu, 30 Oct 2014 10:19:18 +0000 (11:19 +0100)]
[FIX] purchase: fixed product_uom and price_unit update on product_id change on purchase.order_line form view

9 years ago[FIX] report: fix report HTML editor scrollbar in Firefox
David Monjoie [Thu, 30 Oct 2014 11:25:13 +0000 (12:25 +0100)]
[FIX] report: fix report HTML editor scrollbar in Firefox

9 years ago[FIX] website_sale: don't display twice some products
Jorge [Thu, 30 Oct 2014 11:04:42 +0000 (12:04 +0100)]
[FIX] website_sale: don't display twice some products

In list view, the 10 last products of a page were the 10 first products of the next page.
Fixes #3373

9 years ago[FIX] core: correct cron thread registry iteration
Christophe Simonis [Thu, 30 Oct 2014 10:05:07 +0000 (11:05 +0100)]
[FIX] core: correct cron thread registry iteration

Fixes #3387

9 years ago[FIX] base_action_rule: Make sure model exists before trying to wrap hooks
Sandy Carter [Thu, 23 Oct 2014 21:45:55 +0000 (17:45 -0400)]
[FIX] base_action_rule: Make sure model exists before trying to wrap hooks

In certain cases, before running an update unregistered models will try to
register hooks. Trying to wrap create and write on these will cause
AttributeError on model_obj which would be None

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>

9 years ago[IMP] .gitignore maintenance migration scripts
Christophe Simonis [Wed, 29 Oct 2014 18:49:26 +0000 (19:49 +0100)]
[IMP] .gitignore maintenance migration scripts

9 years ago[FIX] account: indendation error in 82588fa
Olivier Dony [Wed, 29 Oct 2014 18:42:13 +0000 (19:42 +0100)]
[FIX] account: indendation error in 82588fa

The original tax should not be included if
it was found in the tax mapping, even
if it has no replacement.

Fixes #2261 (hopefully, this time)

9 years ago[MERGE] forward port of branch saas-3 up to 21b1203
Christophe Simonis [Wed, 29 Oct 2014 18:33:02 +0000 (19:33 +0100)]
[MERGE] forward port of branch saas-3 up to 21b1203

9 years ago[MERGE] forward port of branch 7.0 up to 43db726
Christophe Simonis [Wed, 29 Oct 2014 18:05:43 +0000 (19:05 +0100)]
[MERGE] forward port of branch 7.0 up to 43db726

9 years ago[FIX] l10n_fr: "passif" part of the "bilan" report
Simon Lejeune [Wed, 29 Oct 2014 17:45:25 +0000 (18:45 +0100)]
[FIX] l10n_fr: "passif" part of the "bilan" report

Report's model was full, but not the view. Leftover of rev 7e8dcc5600b61d68af
refactoring.

9 years ago[IMP] core: manage registries via an LRU.
Christophe Simonis [Wed, 29 Oct 2014 17:28:07 +0000 (18:28 +0100)]
[IMP] core: manage registries via an LRU.

When working with a large number of databases, the memory allocated to
registries wasn't limited, resulting to waste memory (especially in the
longpolling worker, which is not recycled).
The size of the LRU is depending on the soft limit configured for
workers.

9 years ago[FIX] web_calendar: cast the id into int. When you open a form view in a popup via...
Jeremy Kersten [Wed, 29 Oct 2014 16:43:44 +0000 (17:43 +0100)]
[FIX] web_calendar: cast the id into int. When you open a form view in a popup via the attr 'event_open_popup', in some cases the id is a string and so the popup is empty... FIX #545  PR #551

9 years ago[FIX] account: tax mapping logic was broken by 7508b7c
Olivier Dony [Tue, 28 Oct 2014 12:30:26 +0000 (13:30 +0100)]
[FIX] account: tax mapping logic was broken by 7508b7c

The original tax should not be applied
if at least one destination tax was
applied. It should only be applied if
explicitly included in target taxes.

(Re-)Fixes #2261

9 years ago[FIX] bus: useless setTimeout call
Andrea Stirpe [Wed, 29 Oct 2014 11:54:52 +0000 (12:54 +0100)]
[FIX] bus: useless setTimeout call

Partial backport of master fix eb52156
Solving javascript error after refresh in ie9 `Error: useless setTimeout call (missing quotes around argument?)`

9 years ago[FIX] website_sale: usability fixes in the checkout/address form
Simon Lejeune [Wed, 29 Oct 2014 12:31:52 +0000 (13:31 +0100)]
[FIX] website_sale: usability fixes in the checkout/address form

* `disabled` on the country select tag instead of `readonly`
* `create a new address` selected when the user set an invalid shipping
address and must correct it. Else the user was correcting the shipping
address but the option "ship to the same address" was selected.

9 years ago[FIX] website_sale: don't apply the company name as street logic in shipping address
Simon Lejeune [Wed, 29 Oct 2014 12:27:15 +0000 (13:27 +0100)]
[FIX] website_sale: don't apply the company name as street logic in shipping address

9 years ago[FIX] website_sale: remove spurious print
Simon Lejeune [Wed, 29 Oct 2014 12:25:43 +0000 (13:25 +0100)]
[FIX] website_sale: remove spurious print

9 years ago[ADD] doc: support for analytics keys
Xavier Morel [Wed, 29 Oct 2014 14:53:41 +0000 (15:53 +0100)]
[ADD] doc: support for analytics keys

9 years ago[FIX] purchase: translate purchaseorder and quotation reports
David Monjoie [Wed, 29 Oct 2014 09:56:48 +0000 (10:56 +0100)]
[FIX] purchase: translate purchaseorder and quotation reports

9 years ago[FIX] stock: UoS quantity in stock.picking
Mohammad Alhashash [Tue, 21 Oct 2014 19:12:58 +0000 (21:12 +0200)]
[FIX] stock: UoS quantity in stock.picking

Implements the UoS TODO items on stock.picking.do_partial() to fix #1432.
Add a new method _compute_uos_qty() on product.product to computes
product's invoicing quantity in UoS from quantity in UoM.

The created invoice will use the product_uos of the stock.move, meaning keeping
the quantity specified on the partial picking and the unit of measure of the
original stock.move (e.g. recieving 1 dozen from a 12 unit picking should either
get uos=dozen, uos_qty=1 or uos=unit, uos_qty=12, not a mix of both)

Fixes #1432, opw 611479

9 years ago[MERGE] forward port of branch 7.0 up to f4870f8
Denis Ledoux [Tue, 28 Oct 2014 16:58:50 +0000 (17:58 +0100)]
[MERGE] forward port of branch 7.0 up to f4870f8

9 years ago[FIX] sale: when invoicing on lines, set order in progress when all lines invoiced
Denis Ledoux [Tue, 28 Oct 2014 16:57:08 +0000 (17:57 +0100)]
[FIX] sale: when invoicing on lines, set order in progress when all lines invoiced

This fix is related to rev. b1df5aab6e529e9667bb97c96c9196e1a4e5e0ce

9 years agoMerge pull request #1678 from sebalix/8.0-fix-web_diagram
Frédéric Van der Essen [Tue, 28 Oct 2014 16:15:50 +0000 (17:15 +0100)]
Merge pull request #1678 from sebalix/8.0-fix-web_diagram

[FIX] 8.0 web_diagram, unlink connectors/transitions between nodes from the diagram view

9 years ago[FIX] add charset declaration to dashboard.sass so sassc stops freaking out
Xavier Morel [Tue, 28 Oct 2014 15:38:03 +0000 (16:38 +0100)]
[FIX] add charset declaration to dashboard.sass so sassc stops freaking out

9 years ago[FIX] account_analytic_plans: convert_ref method has been removed.
Denis Ledoux [Tue, 28 Oct 2014 15:19:26 +0000 (16:19 +0100)]
[FIX] account_analytic_plans: convert_ref method has been removed.

This issue is related to f4e350ca36668d13c9eb09fbf77c85df110ce40c

9 years ago[MERGE] forward port of branch 7.0 up to b1df5aa
Denis Ledoux [Tue, 28 Oct 2014 14:37:11 +0000 (15:37 +0100)]
[MERGE] forward port of branch 7.0 up to b1df5aa

9 years ago[FIX] sale: trigger all_lines signal when all lines are invoiced
Julien Legros [Tue, 28 Oct 2014 14:12:53 +0000 (15:12 +0100)]
[FIX] sale: trigger all_lines signal when all lines are invoiced

9 years ago[FIX] sql_db: don't log dsn with unmasked passwords
Florian Kisser [Thu, 7 Aug 2014 10:33:03 +0000 (12:33 +0200)]
[FIX] sql_db: don't log dsn with unmasked passwords

The dsn may contain the connection password of the database when not accessed from a psycopg connection object.
Replace the unfiltered logs to use cxn.dsn avoiding password leakage in logs.
Fixes #1433

9 years ago[FIX] website_blog: use related to display the image from the author from a blog...
Jeremy Kersten [Tue, 28 Oct 2014 13:12:39 +0000 (14:12 +0100)]
[FIX] website_blog: use related to display the image from the author from a blog without that the partner is 'website_published'.

9 years agoRevert "[FIX] mail: read more show original message"
Denis Ledoux [Tue, 28 Oct 2014 12:43:25 +0000 (13:43 +0100)]
Revert "[FIX] mail: read more show original message"

This reverts commit 0790682296e43989e4e232189009c3ba380e32ba.

This fix is not yet ready. See PR #3295

9 years ago[MERGE] forward port of branch 7.0 up to 00ec786
Denis Ledoux [Tue, 28 Oct 2014 12:40:17 +0000 (13:40 +0100)]
[MERGE] forward port of branch 7.0 up to 00ec786

9 years ago[FIX] account: partner balance general totals
Denis Ledoux [Tue, 28 Oct 2014 12:18:22 +0000 (13:18 +0100)]
[FIX] account: partner balance general totals

General totals were not computed at all, due to the condition "if not self.ids" which was always true as self.ids wasn't set.

Besides, a parameter allows to display only partner with balance greater than 0, which was completely ignored by the totals computation methods: The totals always included all partners, even those having balance equals to 0

9 years ago[FIX] hr_timesheet_invoice: warning in report generation
Antonio Esposito [Mon, 27 Oct 2014 12:00:18 +0000 (13:00 +0100)]
[FIX] hr_timesheet_invoice: warning in report generation

When generating the report 'Timesheet Profit', got a warning "The domain term '('user_id', '=', [...])' should use the 'in' or 'not in' operator."
This warning is due to the use of the '=' operator to compare the field 'user_id' while the reports sends a list of ids.
Fallback to still accept a single id in case of customised reports.

9 years ago[IMP] l10n_fr: remove dependency on l10n_fr_rib
Alexis de Lattre [Mon, 27 Oct 2014 22:35:25 +0000 (23:35 +0100)]
[IMP] l10n_fr: remove dependency on l10n_fr_rib

The RIB (relevé d’identité bancaire) is no longer used in France since 1st of August 2014 (replaced by SEPA).

9 years ago[FIX] fields: inherited fields should get 'string' from their parent field
Raphael Collet [Thu, 23 Oct 2014 09:14:52 +0000 (11:14 +0200)]
[FIX] fields: inherited fields should get 'string' from their parent field

Because some parameters of a field may be determined during its setup, we have
to update the corresponding column after the setup, and recompute _all_columns
to make it consistent.

9 years agopoint_of_sale: Add _prepare_analytic_account method to easily set analytic account...
Alexis de Lattre [Mon, 27 Oct 2014 22:52:43 +0000 (23:52 +0100)]
point_of_sale: Add _prepare_analytic_account method to easily set analytic account from custom module

9 years ago[FIX] sale_margin: cost price uom
Martin Trigaux [Mon, 27 Oct 2014 17:02:59 +0000 (18:02 +0100)]
[FIX] sale_margin: cost price uom

When computing the cost price to display, take the uom into account. The cost of 1 Unit or 1 dozen should not be the same. opw 599727

9 years ago[FIX] Regression in image resize helper (Fixes #2529)
Fabien Meghazi [Mon, 27 Oct 2014 16:55:08 +0000 (17:55 +0100)]
[FIX] Regression in image resize helper (Fixes #2529)

Commit 57ad514b makes the function preserve the aspect ration of the
original picture. Error of mine because the expected behavior was to
lose it for kanban view purpose.

For backward compatibility sake, this commit will keep the old behavior
by default.

9 years ago[ADD] doc: language switcher
Xavier Morel [Mon, 27 Oct 2014 15:41:42 +0000 (16:41 +0100)]
[ADD] doc: language switcher

9 years ago[ADD] Stripe-style APIDoc: content
Xavier Morel [Mon, 20 Oct 2014 05:47:14 +0000 (07:47 +0200)]
[ADD] Stripe-style APIDoc: content

9 years ago[FIX] Error in excel export when sheet name > 31 characters
Alexis de Lattre [Mon, 27 Oct 2014 11:28:48 +0000 (12:28 +0100)]
[FIX] Error in excel export when sheet name > 31 characters

XLWT only accepts sheet names smaller than 31 characters because that's the
excel limit.

Fixes #2548
Fixes #3318

9 years ago[FIX] account: fiscal position may map single tax to multiple taxes
Alexis de Lattre [Mon, 27 Oct 2014 11:14:19 +0000 (12:14 +0100)]
[FIX] account: fiscal position may map single tax to multiple taxes

(This is a regression in Odoo 8)

It should now work when a fiscal position replaces 1 tax with
several taxes (for example : Fiscal position "Intra-EU B2B" in l10n_fr)

Fixes #2261, manual merge of PR #3316

9 years ago[FIX] stock: forbid adding new lines when processing picking
Ravi Gohil [Thu, 9 Oct 2014 11:21:29 +0000 (16:51 +0530)]
[FIX] stock: forbid adding new lines when processing picking

Source and destination locations are required and not displayed in the form view.
Adding new items when recieving a picking can not be easily guessed as we can put different locations for each line, using default locations may not be the expected result.
Instead should modify the original picking or create new one.
Fixes #2074, opw 612768

9 years ago[IMP] fields: reduce the number of attributes on _column instances
Raphael Collet [Mon, 27 Oct 2014 13:08:08 +0000 (14:08 +0100)]
[IMP] fields: reduce the number of attributes on _column instances

This is a memory optimization: instead of setting all attributes on all
instances, set them with their default value on the class, and only set
specific ones on instances.  This reduces the memory footprint of around 14Mb
per registry with modules crm, sale, purchase and stock installed.

9 years ago[FIX] Fix for Issue 2716: Hide 'Print' button for the report 'Timesheet Profit'
Antonio Esposito [Mon, 27 Oct 2014 11:13:18 +0000 (12:13 +0100)]
[FIX] Fix for Issue 2716: Hide 'Print' button for the report 'Timesheet Profit'

The report 'Profit Timesheet' shouldn't be directly displayed in the views related to the model 'account.analytic.line' but only from the reporting menu. In facts the report requires a popup to specify the report parameters.

Fixes #2716

9 years ago[FIX] product_visible_discount: use on_change result for product value
Martin Trigaux [Mon, 27 Oct 2014 12:45:53 +0000 (13:45 +0100)]
[FIX] product_visible_discount: use on_change result for product value

At the end of the onchange call product_id_change, the uom may have changed (e.g. if product in different category).
To compute the quantity, we need to use the new uom and not the first one (that may be Unit, default value)

9 years agoMerge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco
Josse Colpaert [Mon, 27 Oct 2014 12:29:00 +0000 (13:29 +0100)]
Merge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco

[FIX] When extra move for consumption lines, copy lot and when producing...

9 years ago[FIX] account: limit search for fields_view_get to one result
Denis Ledoux [Mon, 27 Oct 2014 12:23:16 +0000 (13:23 +0100)]
[FIX] account: limit search for fields_view_get to one result

+ use ir.model.data get_object_reference method for better performance (cached result)

opw-616616

9 years ago[FIX] mail: read more show original message
Denis Ledoux [Sat, 25 Oct 2014 12:26:52 +0000 (14:26 +0200)]
[FIX] mail: read more show original message

Instead of html cleaned html, to allow display blockquotes

opw-614729

9 years ago[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions...
Frederic van der Essen [Mon, 27 Oct 2014 11:28:47 +0000 (12:28 +0100)]
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call

9 years ago[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions...
Frederic van der Essen [Mon, 27 Oct 2014 11:21:04 +0000 (12:21 +0100)]
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call

9 years agoForward port of branch 7.0 up to rev 8abd003
Martin Trigaux [Mon, 27 Oct 2014 11:03:01 +0000 (12:03 +0100)]
Forward port of branch 7.0 up to rev 8abd003

9 years ago[FIX] product: reference in test
Martin Trigaux [Mon, 27 Oct 2014 10:41:23 +0000 (11:41 +0100)]
[FIX] product: reference in test

9 years agoForward port of branch 7.0 up to 42bf0a5
Martin Trigaux [Mon, 27 Oct 2014 10:21:41 +0000 (11:21 +0100)]
Forward port of branch 7.0 up to 42bf0a5

9 years ago[FIX] avoid leaving dangling account moves when deleting a bank statement
Stéphane Bidoul [Sat, 25 Oct 2014 13:19:20 +0000 (15:19 +0200)]
[FIX] avoid leaving dangling account moves when deleting a bank statement

Fixes #3292

9 years ago[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerc...
Christophe Matthieu [Mon, 29 Sep 2014 08:32:00 +0000 (10:32 +0200)]
[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerce quantity selector

9 years ago[FIX] account.fiscal.position: Fix get_fiscal_position for auto apply:
Christophe Matthieu [Mon, 29 Sep 2014 10:26:13 +0000 (12:26 +0200)]
[FIX] account.fiscal.position: Fix get_fiscal_position for auto apply:

First match a fiscal position for the given country, then for a country
group containing the country. If none found, search a fiscal position
without country nor country group