Commit Graph
102197 Commits
Author SHA1 Message Date
Cedric Snauwaert 1458575c68 [FIX] account: _compute_residual should returns 0 for line that have an account not reconciliable
+ add index on account_partial_reconcile to increase performances
2015-10-13 10:06:22 +02:00
Leonardo Pistone 3349187aab [FIX] stock: propagate owner to backorder moves
When delivering partially a picking in which the moves
had an owner (`restrict_partner_id`) set,
the owner were not kept in the backorder moves.

Closes #4693
2015-10-12 17:47:29 +02:00
Simon Lejeune afd187d3b1 [FIX] packaging: windows: bundle xlrd
xlrd allows to import xls files and is an optional dependency. Bundle
it in the exe release for convenience.
2015-10-12 17:33:38 +02:00
Raphael Collet e410d7d7e7 [FIX] orm: always save boolean function fields, even when they are false
Fixes #4292: searching for records when a related boolean field is `False`
always returns nothing.
2015-10-12 17:26:40 +02:00
Raphael Collet 15127d3390 [IMP] models: enlarge value of PREFETCH_MAX to match the one used in cursors
This improves the performance of prefetching fields for large recordsets.
2015-10-12 17:23:41 +02:00
Antoine Huvelle 19668013ad [FIX] stock_landed_cost: domain on expense account
In the landed cost types form view
(landed costs types being nothing else than `product.product`),
we force users to choose an account of type `other`,
in order to prevent them from entering wrong data,
other types of accounts,
or receive an error message when setting a view account type.

This domain is actually the domain already applied in the
regular `product.template` and `product.product` form
view, thanks to `account.product_template_form_view`

Closes #4719
2015-10-12 17:15:28 +02:00
Christophe Matthieu 2f842d1703 [FIX] web: assertion error when save after speed multi delete in one2many
To reproduce use a form view with a one2many editable list and create a lot of lines. Then click a few times quickly on the delete.
If the user click at least two times on delete of a same record, the dataset add the id in "to_delete" the virtual id because "to_create" doesn't contains the virtual id of the record deleted previously.

E.g.: create a "Customer Payments" and select a "Customer" and "Payment Method" who generate a lot of "Credits" lines.
2015-10-12 17:15:28 +02:00
Martin Trigaux b21d96ec2d [FIX] hr: incorrect sentense
Incomplete senstense "improving applications, such as the"
Will be fixed in master, creating en_US translation for stable
2015-10-12 16:43:31 +02:00
Raphael Collet 8ea17a8cc9 [FIX] orm: always save boolean function fields, even when they are false
Fixes #4292: searching for records when a related boolean field is `False`
always returns nothing.
2015-10-12 16:38:17 +02:00
Martin Trigaux 3fd6ac9385 [FIX] web: export terms of community
not enterprise + community

Fix typo in description string (was already done in enterprise)
2015-10-12 16:38:15 +02:00
Commandant Custo 1881a13699 [FIX] sale: report: find sales of subcategories
When searching for sales of a specific category,
display the products of the whole category subtree.
Consistent with:
* https://github.com/odoo/odoo/commit/633df8dc920028a1f8177fb99ef85e70c46da52c
* https://github.com/odoo/odoo/blob/8.0/addons/account/report/account_invoice_report_view.xml#L72

Closes #4631
2015-10-12 15:43:36 +02:00
Alexis de Lattre bc3666aed5 [FIX] point_of_sale: redundance in report.pos.order search view
Avoid double entry in search filters of POS reporting.
Replace by 2 other usefull filters.

Closes #4600
2015-10-12 15:38:28 +02:00
Goffin Simon 31cb27154a [FIX] board: creating a dashboard
Introduced by 72e94beeb5

opw:651811
2015-10-12 15:27:23 +02:00
Damien Bouvy 156b33c89a [IMP] website_quote: prevent double clicking on the confirm button
Double clicking on the confirm button was actually possible and could confirm the orders multiple times (which could be problematic if some action are linked to the so confirmation)
2015-10-12 14:39:41 +02:00
Christophe Matthieu 8e245904f5 [FIX] web: many2many_tags: blacklist selected ids in the dropdown
Issue: already selected ids are not filtered in the many2one and appear in the dropdown (but can't be select because the item are already selected)
2015-10-12 12:21:22 +02:00
Fabien Pinckaers 77e18a4800 [FIX] typo 2015-10-12 11:36:42 +02:00
Nicolas Martinelli fd38fc0a02 [FIX] project: filter "Followed by Me"
The filter "Followed by Me" depends on a calculated field is not stored.
Therefore, we need to redefine the search method.

Fixes #8920
2015-10-12 10:53:38 +02:00
Odoo Translation Bot a6999391d3 [I18N] Update translation terms from Transifex 2015-10-12 10:51:48 +02:00
Damien Bouvy 486cd33091 [FIX] website_quote: prevent modifying the quote state if it's already been processed
Before this fix, it was possible to validate then cancel a quote (or the other way around) simply by using two tabs in your browser. From now on, we only validate/cancel a quote if it's the 'sent' state and advise the customer of the situation if he tries to abuse the process.
2015-10-12 10:43:46 +02:00
Humberto Arocha 81418ec14e [FIX] stock_landed_costs: avoid useless multiple writes
Initialise quant_dict inside for loop as doing outside loops
renders to be a quadratic write of quant object due to the fact that
previous quants are kept each time a new valuation line is read.
In case of posting a Landed Cost record with a huge amount of cost_lines
and huge amount of stock_move having several quants would result in a
extra overhead.

Closes #9005
2015-10-12 10:40:26 +02:00
eLBati c862b2f37a [FIX] doc: web howto 2015-10-12 10:24:21 +02:00
Joren Van Onder 50c8b3d4ef [FIX] point_of_sale: set CSRF token
The introduction of the CSRF tokens in
8932c52e67 broke invoicing from the Point
of Sale. chrome.do_action('point_of_sale.pos_invoice_report') would
fail because no CSRF token is set in the POS. This fixes it using a
similar approach as in the website module.
2015-10-12 10:19:18 +02:00
Damien Bouvy 38db647534 Revert "[FIX] sale: when creating a refun from an invoice, the invoice lines must be linked to the original so lines to compute the invoiced quantity correctly"
This reverts commit a315487cea. Apparently it was 💩.
2015-10-12 09:55:18 +02:00
eLBati c9d5117a2d [FIX] l10n_it: account types.
Without this, balance sheet and profit & loss do not display parent accounts

Closes #8925
2015-10-12 09:53:01 +02:00
Nicolas Martinelli 2eade50d8e [FIX] purchase: missing depends
In case the product is a service, no move_ids are linked to it, and
the quantity delivered is never calculated.
2015-10-12 08:36:19 +02:00
Odoo Translation Bot 5dd33e8ca6 [I18N] Update translation terms from Transifex 2015-10-11 03:04:31 +02:00
Odoo Translation Bot ff9b997736 [I18N] Update translation terms from Transifex 2015-10-11 01:33:54 +02:00
Christophe Simonis 20dba161d0 [MERGE] forward port of branch 8.0 up to c484467 2015-10-10 14:46:23 +02:00
Christophe Simonis c4844675b8 [MERGE] forward port of branch saas-3 up to a6b11a1 2015-10-10 14:35:44 +02:00
Christophe Simonis a6b11a151e [MERGE] forward port of branch 7.0 up to f8b56e4 2015-10-10 14:25:35 +02:00
qdp-odoo 1c8f7b773e [FIX] stock_account: added a property for valuation journal, for yaml tests that needs to create accounting entries 2015-10-09 23:10:42 +02:00
qdp-odoo 7699cdb7cf [FIX] delivery: a test based on invoicing should be an AccountingTestCase 2015-10-09 23:10:42 +02:00
qdp-odoo ea06c3550e [FIX] purchase: fixed wrong test. The account on vendor bill should be the payable account of the partner, not the expense account of the product 2015-10-09 23:10:42 +02:00
qdp-odoo 80e050f306 [FIX] stock_account: do not create the property for stock input account for the product category 'All' because a categry does not inherit from its parent properties (anymore?). Fixes purchase test failing for companies running anglo saxon accounting 2015-10-09 23:10:42 +02:00
Xavier Morel 14d7e20def [FIX] project: don't copy remaining hours when duplicating tasks
Since we're not duplicating work items when duplicating tasks during
project duplication, it doesn't make sense to duplicate the
likely correspondingly adjusted remaining hour.

Behave as if the planned hours had just been set/reset and set the
remaining hours of the new task to that instead.

fixes #8985
2015-10-09 18:57:46 +02:00
Christophe Simonis 80bb106463 [IMP] base: only recompute share field on users when users are added/removed from group "Employee"
Note: The change in `base_security.xml` is needed as xmlid must exists
when adding/removing users from group to determine the value of `share`
field.

Also add a test to reassure @odony the function fields are correctly
recomputed for removed m2m entries (see http://git.io/vCqAG for context)
2015-10-09 16:57:18 +02:00
Martin Trigaux 5bb9be5522 [FIX] fullfil -> fulfill 2015-10-09 16:50:45 +02:00
Denis Ledoux 326325a23f [FIX] project_issue_sheet: position of the analytic account in the issue form
The `analytic_account_id` was set after the field `active`.
This `active` field has been moved, to the top of the form,
in a button, at revision ed95043d7e.
Placing the analytic account after this field is
therefore no longer the brightest idea.

In addition, there is no longer any `parent_id` field
on the `account.analytic.account` model, making the according
domain invalid.

Fixes #8668
2015-10-09 15:57:10 +02:00
Martin Trigaux bcc136f3e5 [FIX] stock_picking_wave: typo in help message
Creating a en_US translation to avoid breaking existing translations
2015-10-09 15:53:14 +02:00
Aaron Bohy a99ae62239 [FIX] Packaging: package.py: default version set to 9.0
Fixes remaining occurences of 8.0 in the windows installer. Mainly, odoo is now
correctly installed in odoo.9.0-timestamp/ instead of odoo.8.0-timestamp/
2015-10-09 15:42:22 +02:00
Raphael Collet 061a1d7255 [IMP] fields: improve performance of method field.modified(records)
Reduce the number of calls to `search` by grouping fields by model and by path.
2015-10-09 15:22:10 +02:00
Martin Trigaux 15bdcafad7 [IMP] stock_picking_wave: unify action term 2015-10-09 14:56:35 +02:00
Denis Ledoux 56fa5e7913 [FIX] crm: Pipeline analysis, lost filter
The lost filter wasn't working:
 - The domain syntax was not correct
 - It tried to filter `active='f'` leads,
   while, in the SQL view, they were already filtered out
   with `active='t'`

We can safely remove the active=`t` from the SQL view, by default
`active='f'` records are filtered out except if explicitely set
otherwise.

opw-651746
2015-10-09 14:02:14 +02:00
Martin Trigaux d6b3924247 [I18N] export source terms
Hopefully one last time and not one more time...
2015-10-09 13:56:03 +02:00
Denis Ledoux 40414a3d77 [FIX] sale_layout: print of invoices with sections set
The print of invoices using sections were not working,
due to the fact the `sale_layout.subtotal_template`
template expects `doc` as the browse record, while
in the `report_invoice_document`, the browser record
is set as `o`.

opw-651747
2015-10-09 12:52:13 +02:00
Damien Bouvy a315487cea [FIX] sale: when creating a refun from an invoice, the invoice lines must be linked to the original so lines to compute the invoiced quantity correctly
Since invoice quantities are computed from the invoice lines linked to the so line via a many2many field, we need to overload the refund function that adds the fields on the invoice lines; explicitly copying the sale order lines references.
2015-10-09 11:36:57 +02:00
pvy 2455dafcab [FIX] l10n_cn_small_business: transfer account should be 1012 and another name 2015-10-09 11:29:26 +02:00
rsi-odoo 163669f79a [ADD] l10n_cn is back, compliant with the new accounting 2015-10-09 11:27:38 +02:00
pvy c28e365ada [REF] l10n_cn: split to have 2 coa 2015-10-09 11:27:33 +02:00
qdp-odoo 05868b5de6 [FIX] stock_account: anglo saxon mode account switch for supplier invoice should not be triggered for service products 2015-10-09 10:46:55 +02:00