Commit Graph

91535 Commits

Author SHA1 Message Date
Denis Ledoux f7723037d6 [MERGE] forward port of branch saas-3 up to 8c4a7cb 2014-11-04 12:30:01 +01:00
Denis Ledoux 8c4a7cb371 [MERGE] forward port of branch 7.0 up to 5035c76 2014-11-04 12:19:58 +01:00
Denis Ledoux 5035c76f42 [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
2014-11-04 11:54:03 +01:00
Martin Trigaux 950cf14b9e [FIX] gamification: call _send_badge on right object 2014-11-04 11:49:31 +01:00
Frédéric Van der Essen c3f355b860 Merge pull request #3332 from akretion/8.0-prepare-analytic-pos
point_of_sale: Add _prepare_analytic_account method
2014-11-04 11:39:03 +01:00
Stéphane Bidoul 18b7b28bc1 [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.
2014-11-04 11:29:00 +01:00
Stéphane Bidoul ab797f0cd8 [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.
2014-11-04 11:28:10 +01:00
Jeremy Kersten a3e2fe2c03 [FIX] website: main layout - title more flexible for customization. (additionnal_)title was overwritted by website_meta_title or main_object.name 2014-11-04 11:20:56 +01:00
Denis Ledoux f37d0af6f8 [FIX] web: t-attf expects #{} or {{}} for variables
not just {}. Nevertheless, It somehow worked in Odoo 7.0 and saas-3.
2014-11-04 10:55:38 +01:00
Sheth Sunny 576218b003 [IMP] project_issue : correct model name in onchange method
There is no model project.issueS, making the onchange select an inexistant model.
Fixes #3418
2014-11-03 20:16:56 +01:00
Alexis de Lattre b0e4ff28e9 [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
2014-11-03 20:02:06 +01:00
Thibault Delavallée d115ef9b49 [FIX] web: more backports for cleditor
Restauring changes removed by the update of the library
bff34f4014
17a23c60b8
cc23ddd0ce
5c45aac7ef
2014-11-03 17:47:03 +01:00
Christophe Simonis b12d84772e [IMP] marketing_campaign: forbid creation of activities from transitions 2014-11-03 17:42:19 +01:00
Xavier Morel 03e9a38a1d [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
2014-11-03 17:39:24 +01:00
Paramjit Singh Sahota aea9c968cd [FIX] web: backport of 2331b14
Update the cleditor lib from v1.3.0 to v1.4.4 fixing IE11 issue, opw 614826
2014-11-03 17:34:45 +01:00
Leonardo Donelli fb6892f857 [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
2014-11-03 15:46:55 +01:00
Denis Ledoux 8852ab03e7 [FIX] payment_paypal: add company name in paypal item name
So the company name is displayed in the paypal payment form
2014-11-03 15:14:37 +01:00
Xavier Morel a332dec4c2 [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.
2014-11-03 14:55:09 +01:00
Denis Ledoux 786077d675 [FIX] payment_paypal: env field has been renamed with environment in 8.0
as env is a built-in orm variable.
2014-11-03 14:07:38 +01:00
Richard Mathot ef862084c9 [DOC] fields.py: oldname key 2014-11-03 18:09:16 +05:30
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