Commit Graph

91615 Commits

Author SHA1 Message Date
Xavier Morel 45d649e44d [FIX] doc: graph <field> does not use :grouping
see #3403 and 7ad4af8
2014-11-03 13:02:33 +01:00
Xavier Morel a8959295da [CHG] doc: promote individual view types to document toplevel 2014-11-03 13:02:32 +01:00
Simon Lejeune 8138db8e0f [FIX] point_of_sale: details of sales report: include discount when computing taxes
Also, fixed a typo in the report's view.
2014-11-03 12:25:18 +01:00
Adrien Peiffer 78f3b94601 [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.
2014-11-03 11:50:10 +01:00
Martin Trigaux 37fe614126 [IMP] account: remove duplicated field in view
Partial backport of 5f06129.
Fixes #2837
2014-11-03 11:41:03 +01:00
Nicolas Bustillos d0ff6df2f4 [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
2014-11-03 10:19:30 +01:00
hiekmann fcf0b278a9 [FIX] corrected a word in a comment
closes #3423
2014-11-03 10:19:15 +01:00
David Monjoie ac6d67a395 [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 !
2014-11-03 09:09:53 +01:00
David Monjoie fd20241b0d [FIX] product: pricelist now consider the quantity in product uom qty for rule application purposes 2014-11-03 09:09:52 +01:00
David Monjoie 4f973248dc [FIX] purchase: fixed recomputation of unit price when changing product quantity or uom 2014-11-03 09:09:52 +01:00
Denis Ledoux df845940ed [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.
2014-10-31 17:40:56 +01:00
Christophe Simonis 70b49a7608 [FIX] pad: hide navbar when passing in fullscreen mode 2014-10-31 17:38:11 +01:00
Mohammad Alhashash 8af9fdfa06 [FIX] stock: more tolerant copy method
Allow setting origin/backorder when copying new stock.picking
Fixes #379, lp:1098557
2014-10-31 14:09:25 +01:00
Martin Trigaux aed71f3962 [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
2014-10-31 12:32:08 +01:00
Géry Debongnie 7ad4af89fe [FIX] updates the graph view documentation
It was wrong.
2014-10-31 09:45:33 +01:00
Xavier Morel 95265e9ba6 [IMP] doc: link directly to edition mode in docfiles 2014-10-31 09:34:55 +01:00
Xavier Morel 63e1afc5fd [IMP] doc: add link to company website in footer, fix release version 2014-10-31 09:34:55 +01:00
Xavier Morel 55737d6500 [IMP] doc: link logo to current doc's root, not to odoo.com 2014-10-31 09:34:54 +01:00
Martin Trigaux aa9914568b [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
2014-10-31 08:40:30 +01:00
Julien Legros 6a95c9cf3e [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
2014-10-30 18:07:07 +01:00
Simon Lejeune b8f1ed147e [FIX] packaging: debian: set /var/lib/odoo as odoo user home dir 2014-10-30 15:50:45 +01:00
Somesh Khare 74157326f0 [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
2014-10-30 15:21:27 +01:00
Raphael Collet 5eb6e58156 [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
2014-10-30 13:29:21 +01:00
David Monjoie 7e454beff1 [FIX] purchase: fixed product_uom and price_unit update on product_id change on purchase.order_line form view 2014-10-30 12:31:37 +01:00
David Monjoie d492a4d64a [FIX] report: fix report HTML editor scrollbar in Firefox 2014-10-30 12:25:13 +01:00
Jorge 93e4e7da6e [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
2014-10-30 12:04:42 +01:00
Christophe Simonis c846f16e1e [FIX] core: correct cron thread registry iteration
Fixes #3387
2014-10-30 11:05:07 +01:00
Sandy Carter 1661cf53e9 [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>
2014-10-30 10:02:04 +01:00
Christophe Simonis 2b2ec07435 [IMP] .gitignore maintenance migration scripts 2014-10-29 19:49:26 +01:00
Olivier Dony 92c7874eb8 [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)
2014-10-29 19:42:13 +01:00
Christophe Simonis 8e637bac92 [MERGE] forward port of branch saas-3 up to 21b1203 2014-10-29 19:33:02 +01:00
Christophe Simonis 21b1203ee0 [MERGE] forward port of branch 7.0 up to 43db726 2014-10-29 19:05:43 +01:00
Simon Lejeune fe6eb853a5 [FIX] l10n_fr: "passif" part of the "bilan" report
Report's model was full, but not the view. Leftover of rev 7e8dcc5600
refactoring.
2014-10-29 18:50:30 +01:00
Christophe Simonis cc4fba6089 [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.
2014-10-29 18:28:07 +01:00
Jeremy Kersten 787147d52b [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 2014-10-29 17:43:44 +01:00
Olivier Dony 82588faa71 [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
2014-10-29 16:44:55 +01:00
Andrea Stirpe 25bc377b05 [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?)`
2014-10-29 16:34:00 +01:00
Simon Lejeune a03e5c42ec [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.
2014-10-29 16:06:10 +01:00
Simon Lejeune a644bbaec8 [FIX] website_sale: don't apply the company name as street logic in shipping address 2014-10-29 16:06:03 +01:00
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