Commit Graph

91677 Commits

Author SHA1 Message Date
Simon Lejeune ced8c3cf3f [FIX] website_sale: remove spurious print 2014-10-29 16:05:50 +01:00
Xavier Morel 28a69fa250 [ADD] doc: support for analytics keys 2014-10-29 15:53:41 +01:00
David Monjoie 27fa742a70 [FIX] purchase: translate purchaseorder and quotation reports 2014-10-29 11:23:34 +01:00
Mohammad Alhashash 43db7267c5 [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
2014-10-29 10:10:50 +01:00
Denis Ledoux f01da83a5a [MERGE] forward port of branch 7.0 up to f4870f8 2014-10-28 17:58:50 +01:00
Denis Ledoux f4870f8418 [FIX] sale: when invoicing on lines, set order in progress when all lines invoiced
This fix is related to rev. b1df5aab6e
2014-10-28 17:57:08 +01:00
Frédéric Van der Essen 1b53469738 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
2014-10-28 17:15:50 +01:00
Xavier Morel ba55e31f57 [FIX] add charset declaration to dashboard.sass so sassc stops freaking out 2014-10-28 16:38:32 +01:00
Denis Ledoux b6c0e34b7b [FIX] account_analytic_plans: convert_ref method has been removed.
This issue is related to f4e350ca36
2014-10-28 16:19:57 +01:00
Denis Ledoux 663dc6a5b3 [MERGE] forward port of branch 7.0 up to b1df5aa 2014-10-28 15:37:11 +01:00
Julien Legros b1df5aab6e [FIX] sale: trigger all_lines signal when all lines are invoiced 2014-10-28 15:16:06 +01:00
Florian Kisser c6741fb537 [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
2014-10-28 14:49:57 +01:00
Jeremy Kersten b95b134285 [FIX] website_blog: use related to display the image from the author from a blog without that the partner is 'website_published'. 2014-10-28 14:12:39 +01:00
Denis Ledoux 0021fa977d Revert "[FIX] mail: read more show original message"
This reverts commit 0790682296.

This fix is not yet ready. See PR #3295
2014-10-28 13:43:25 +01:00
Denis Ledoux a6024a6376 [MERGE] forward port of branch 7.0 up to 00ec786 2014-10-28 13:40:17 +01:00
Denis Ledoux 00ec786e48 [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
2014-10-28 13:18:22 +01:00
Antonio Esposito a00de91001 [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.
2014-10-28 11:00:07 +01:00
Alexis de Lattre 4ff1c7c8b9 [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).
2014-10-28 10:05:18 +01:00
Raphael Collet 8db5b84fc1 [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.
2014-10-28 09:12:31 +01:00
Alexis de Lattre 6dcb8232eb point_of_sale: Add _prepare_analytic_account method to easily set analytic account from custom module 2014-10-27 23:52:43 +01:00
Martin Trigaux 79787084ff [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
2014-10-27 18:09:46 +01:00
Fabien Meghazi 3e07eaa308 [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.
2014-10-27 17:55:08 +01:00
Xavier Morel abfe20bff6 [ADD] doc: language switcher 2014-10-27 17:23:16 +01:00
Xavier Morel 4d2b24adcb [ADD] Stripe-style APIDoc: content 2014-10-27 17:23:16 +01:00
Alexis de Lattre eb8aad865e [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
2014-10-27 17:17:31 +01:00
Alexis de Lattre 7508b7cd9c [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
2014-10-27 17:08:09 +01:00
Ravi Gohil d28cab5257 [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
2014-10-27 14:37:36 +01:00
Raphael Collet 7b1ef7085a [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.
2014-10-27 14:36:09 +01:00
Antonio Esposito e9954cd9f9 [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
2014-10-27 14:28:23 +01:00
Martin Trigaux fcc59f12fc [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)
2014-10-27 13:59:41 +01:00
Josse Colpaert b962c5810c Merge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco
[FIX] When extra move for consumption lines, copy lot and when producing...
2014-10-27 13:29:00 +01:00
Denis Ledoux 96bcaadd46 [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
2014-10-27 13:24:47 +01:00
Denis Ledoux 0790682296 [FIX] mail: read more show original message
Instead of html cleaned html, to allow display blockquotes

opw-614729
2014-10-27 13:24:47 +01:00
Frederic van der Essen d68d1d0434 [FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call 2014-10-27 12:28:47 +01:00
Frederic van der Essen 230f55face [FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call 2014-10-27 12:21:04 +01:00
Martin Trigaux 339b549f41 Forward port of branch 7.0 up to rev 8abd003 2014-10-27 12:03:01 +01:00
Martin Trigaux 8abd003ef0 [FIX] product: reference in test 2014-10-27 11:41:23 +01:00
Martin Trigaux 9f5e989d5d Forward port of branch 7.0 up to 42bf0a5 2014-10-27 11:21:41 +01:00
Stéphane Bidoul 24ec228acc [FIX] avoid leaving dangling account moves when deleting a bank statement
Fixes #3292
2014-10-27 10:58:11 +01:00
Christophe Matthieu 59cda06b00 [FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerce quantity selector 2014-10-27 10:24:13 +01:00
Christophe Matthieu c4ae1ef66d [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
2014-10-27 10:24:13 +01:00
Christophe Matthieu d8e67d647f [FIX] website_sale_options: only one optional product is added to the cart and the quantity of the optional product don't change in the cart when we click on more or less. Fix the number of items displayed in the modal options. 2014-10-27 10:24:13 +01:00
Christophe Matthieu 7ce3961693 [FIX] website: update jQuery.transfo lib + adapt code 2014-10-27 10:24:13 +01:00
Christophe Matthieu 3986e8c509 [FIX] product: is_product_variant is all time false. result: can not change ean because the field is hidden in the view. Need to overwrite the function field on product.product to have the real value (true for product.product) 2014-10-27 10:24:13 +01:00
Christophe Matthieu 4a46fce95a [FIX] website_sale: Postal Code is required during checkout for countries without postal codes; Zip must be not required. 2014-10-27 10:24:13 +01:00
Josse Colpaert c589b49afa [FIX] When extra move for consumption lines, copy lot and when producing more than produced, create extra move 2014-10-25 21:30:18 +02:00
Josse Colpaert ae02468e0a Merge pull request #3294 from odoo-dev/8.0-fixextrapack-jco
[FIX] Operation does not necessary have product for extra move
2014-10-24 19:58:48 +02:00
Josse Colpaert 3dff2877a1 [FIX] Operation does not necessary have product for extra move 2014-10-24 18:21:01 +02:00
Julien Legros 92183e59a7 [FIX] event_sale: event name carried over in invoice line 2014-10-24 17:57:08 +02:00
Julien Legros 5cbd5f13f8 [FIX] event_sale: event tickets carried over on duplication 2014-10-24 17:55:42 +02:00