Commit Graph
96819 Commits
Author SHA1 Message Date
Martin Trigaux a4c988d7eb [FIX] product_email_template: typo
Courtesy of Lionel Sausin
2015-06-25 09:57:10 +02:00
Miku Laitinen f5dd09dd84 [ADD] base: Finnish address format 2015-06-25 08:47:05 +02:00
Christophe Simonis a304194936 [MERGE] forward port of branch saas-6 up to 81b5c60 2015-06-25 00:26:31 +02:00
Joao Alfredo Gama Batista c3ca61da9e [IMP] sale_stock: add reference to product
Avoids incompatibility with modules that make reference a serial field.
2015-06-24 19:43:01 +02:00
Stéphane Bidoul da9d1a8c45 [FIX] account_budget: support view and consolidation children in budget positions
In account_budget module,
when creating a budget position,
the user can select view accounts and also accounts with consolidation children,
in addition to normal accounts.

However, when viewing budgets with positions containing only view accounts,
the "practical amount" field was always zero.

Since these type of accounts are accepted as budget positions,
the system should take into account children and consolidation children
when computing the practical amount.

Fixes #372
Closes #1247
2015-06-24 18:21:11 +02:00
Olivier Dony 81b5c601f9 [IMP] mass_mailing: add recipient field to preview recipient on tracking stats 2015-06-24 18:19:31 +02:00
David Monjoie 2e9059c801 [IMP] website_sale: added link to products page on portal orders followup page 2015-06-24 17:03:07 +02:00
Laetitia Gangloff 1511e788cf [FIX] fields: error if there is no value when convert a many2many relation
Closes #1165
2015-06-24 16:52:05 +02:00
Géry Debongnie 07efacb578 [REF] web_kanban: remove many2manyKanbanView
this is not necessary anymore, with the new kanban view.  It also
paves the way for further changes (soon to be done): using a viewmanager
to instantiate the many2many kanban view
2015-06-24 16:08:19 +02:00
StefanRijnhart 727f9056a3 [FIX] web: wrong company logo in multi-company env
Don't preload company logo of the wrong company

When a user other than the admin signed in
and was in a company different than the admin
and this company had a different logo,
the company logo (in the upper left corner)
displayed the logo of the admin company,
instead of the logo of the company of this
user.

As soon as the user refreshed the page
in his browser, the issue was resolved,
but the logo should be the good one
from the beginning.

Closes #1453
2015-06-24 15:04:11 +02:00
Raphael Collet 7dc7d302fc [IMP] module: prevent the installation of a theme module if another theme module is already installed
More precisely, installing a theme module is valid if: there exists a module
such that all theme modules already installed or to be installed, correspond to
one theme module and its theme module dependencies.

Closes #7147
2015-06-24 15:01:57 +02:00
Raphael Collet 692f4b4e46 [IMP] module: convert method button_install to the new API 2015-06-24 14:58:56 +02:00
Géry Debongnie 033e05fb36 [IMP] web_kanban: refactoring of less files 2015-06-24 14:48:25 +02:00
Géry Debongnie fdc4b33e08 [IMP] web_kanban: optimize drag and drop
This is a really difficult optimization.  Based on various benchmarks
and some hard thinking, we discovered that this change will shave
approximately 100ms for each drag and drop performed by a normal user.

We believe that this is a safe optimization in most cases (but we didn't
test it on some architectures, such as ARM or Solaris).  It is also
compatible with most SQL JSON-enabled databases.
2015-06-24 14:48:19 +02:00
Yannick Tivisse 93bdbb7904 [IMP] account : new report 'duplicata' for an invoice 2015-06-24 14:35:28 +02:00
czoellner d226771383 [FIX] purchase: ensures invoice lines are linked to PO line
Fixes the impossibility to invoice purchase order lines, which were never
invoiced but set to invoiced by validating a first invoice created by invoice
control "manual".
2015-06-24 14:24:48 +02:00
Jos De Graeve 3abd451aca [FIX]point of sale: passing analytic account
In the method action_invoice, the call to the method "_prepare_analytic_account" in dict "inv_line"
had no effect because the value of account_analytic_id was being cleared by the product_id_change statement.
So in the end the invoice line was created without any account attached
Now it checks for an existing value, and if it is not already filled in,
the value from  _prepare_analytic_account is taken.
2015-06-24 13:55:32 +02:00
Richard Mathot 3098ab7fd1 [IMP] delivery: basic pluggable support for shipping integration
Add a `delivery_type` selection field on delivery.carrier.
The default is `grid` i.e. a static pricing grid with rules
to compute the delivery costs.

Future module will however be able to extend the `delivery_type`
selection to add new keys, such as `fedex` or `ups` and provide
custom implementations for the various API methods, as described
below.

In order to add your own external provider, follow these steps:

 1. Create your model MyProvider that _inherits `delivery.carrier`
 2. Extend the selection field `delivery_type` with a pair
    ('<my_provider' , 'My Provider')
 3. Implement API methods as required:
    <my_provider>_get_shipping_price_from_so
    <my_provider>_send_shipping
    <my_provider>_open_tracking_page
    <my_provider>_cancel_shipment
2015-06-24 13:54:31 +02:00
Endika Iglesias 765cd3fbec [CLA] Endika Iglesias 2015-06-24 13:37:02 +02:00
Christophe Simonis 704a11ddee [MERGE] forward port of branch 8.0 up to b8bf1e0 2015-06-24 12:45:14 +02:00
Christophe Simonis b8bf1e0905 [MERGE] forward port of branch saas-3 up to ea659cb 2015-06-24 12:37:08 +02:00
Christophe Simonis ea659cbd87 [MERGE] forward port of branch 7.0 up to 16a545b 2015-06-24 12:34:03 +02:00
mariuszmizgier 859eb2511e [FIX] mail: Mail message performance improvement
As of version 8.0, search_count method has been implemented
Usage in this place is not needed though,
as we just need to know if there are messages in domain,
not the exact number of them.
Due to that we replace method search_count with search and add a limit of 1,
which provides better performances.

Fixes #6670
Closes #6679
2015-06-24 12:12:19 +02:00
mariuszmizgier bdc4c5a55e [CLA] Mariusz Mizgier 2015-06-24 12:12:19 +02:00
Christophe Matthieu beca8fb36d [FIX] web: One2ManyListView list editable: also reload the focused inline form when the list is reloaded 2015-06-24 11:45:23 +02:00
Peter Alabaster e17166183d [FIX] sale: pass context when creating Sale Order name
Without passing the context, this is not possible
to force the company (`force_company`)

Closes #7242
2015-06-24 11:38:41 +02:00
Christophe Combelles 16a545b1ba [ADD] project: add name to the filter to create context with search_default_Member 2015-06-24 10:03:08 +02:00
Martin Trigaux df447c904f [FIX] account: correct English terms 2015-06-24 09:36:20 +02:00
qdp-odoo 13050d3e4b [REF] base, account: removed vat_subjected field. Mainly because it's confusing and rarely really needed, like never + the same feature could be achieved by duplicating taxes for non-subjected companies (with fiscal position on them for mapping) 2015-06-24 08:37:12 +02:00
Yannick Tivisse eace69d07d [IMP] purchase : Several usability improvements
- Remove the Bid notebook on the purchase order form.
- Add a message on the chatter to display the field Bid Received On
- Move the field Bid Valid Until under the Order Date field, displayed only if Bid Received on is filled.
- Remove Invoice Received Checkbox, as there is now a stat button to display the information
- Add a default filter "To Do" on the RFQ and purchase order views, which displayed all the record not in the states done or cancelled.
- Changed several labels, and reorganized some options in the configuration.
2015-06-23 18:27:28 +02:00
pmhmcbreen@gmail.com d0952f5ad3 [CLA] Mark McBreen 2015-06-23 17:55:22 +02:00
Mathias Colpaert 190cea8b66 [CLA] Mathias Colpaert 2015-06-23 17:47:57 +02:00
Erno Iipponen 332772a516 [CLA] Avoin.Systems corporate 2015-06-23 17:47:57 +02:00
Miku Laitinen 209d1084a3 [CLA] Miku Laitinen / mlaitinen 2015-06-23 17:47:57 +02:00
oihane d1ebc08813 [CLA] Oihane Crucelaegui 2015-06-23 17:47:57 +02:00
Mariano Baragiola b7c206f320 [CLA] Mariano I. Baragiola 2015-06-23 17:47:57 +02:00
Sergio Teruel Albert 48fc0d6577 [CLA] sergio-incaser 2015-06-23 17:47:57 +02:00
Ray Carnes eef4595305 [CLA] Ray Carnes 2015-06-23 17:47:57 +02:00
Ernst Mayerhofer a7cd679d9b [CLA] h4mmersmith 2015-06-23 17:47:57 +02:00
Julien Legros 1c0f0dd43c [FIX] account: multi currency reconciliation
When invoicing in currency A and being paid in currency B, the exchange
rate between those currencies might differ between the invoice date and
the payment date.

When reconciling, invoiced amounts should be converted using the invoice
date exchange rate.

opw-640248
2015-06-23 17:27:07 +02:00
scosist dc71dbb40e [CLA] asphalt-zipper 2015-06-23 17:26:30 +02:00
stijnh92 6e805e9464 Create dynapps.md 2015-06-23 17:23:37 +02:00
Nicolas Bustillos f270d6f3e3 [CLA] Nicobustillos 2015-06-23 17:21:15 +02:00
luc-demeyer a4cdee1267 [CLA] Noviat 2015-06-23 17:19:19 +02:00
vrenaville 529af0c95d [FIX] VAT Report: Fiscalyear and period selection
In the Account Tax Decalaration wizard,
Accounting > Reporting > Generic Reporting > Taxes > Taxes Report,
When not choosing the start/end period, but choosing
a fiscal year, the fiscal year was simply ignored,
the report took a fiscal year randomly.

In addition, if no fiscal year was chosen,
the fiscal year randomly chosen could even
not be a fiscal year of the right company,
in a multi-company environment.

closes #7219
opw-643194
2015-06-23 17:06:25 +02:00
Olivier Dony a13fae75ef [FIX] website_event: trailing comma in fwd-port a180cbddf7 2015-06-23 16:49:38 +02:00
Martin Trigaux 9e896b855a [IMP] account_asset: English term
Unlink the name of the module may indicate, Asset Account should be used
instead of Account Asset
2015-06-23 16:46:35 +02:00
Xavier Morel 11ba4689b1 [IMP] running speed of some tests & new testcase type
Some tests (e.g. mail) have expensive and significant DB setup for a
number of small and cheap tests. Using a TransactionCase, the DB setup
far dominates the tests themselves, by up to 10x (mail unit tests take
~130s on my machine, the tests themselves take ~15s).

The SavepointCase introduced here is an hybrid of SingleTransactionCase
and TransactionCase: it uses a single transaction for all tests in a
class, but each test case is isolated by a rollbacked savepoint. This
allows a common DB setup (via setUpClass) while keeping independent
tests.

TransactionCase should remain the primary test case superclass, but
SavepointCase can be a fair optimisation when setup costs far dominate.
2015-06-23 16:38:14 +02:00
Denis Ledoux 386f76eb46 [FIX] account: get_fiscal_position is expected to return an id
Not a browse record.
This is a regression introduced by the revision 5fcf0f5a6f

opw-643188
fixes #7231
2015-06-23 16:29:55 +02:00
Martin Trigaux fa3ace7f99 [IMP] account: performances on total_invoiced field
The computation of total_invoiced field was very slow when the size of
account.invoice.report grows. This is due to usage of the field
user_currency_price_total that requires to build the full view (generates query
(id in []) for function field).

Using temporary SQL view (inspired by caf333e), directly filter the needed
items and avoid building the full table.

Fixes #6654
2015-06-23 16:18:24 +02:00