Commit Graph
103231 Commits
Author SHA1 Message Date
Nicolas Martinelli d8f8d345b7 [FIX] account: print Trial Balance
This applies commits 313bc91cf5 and
2ad4bd4846 to Trial Balance report.

opw-676061
2016-05-11 18:42:34 +02:00
Martin Trigaux 97b79a1985 [FIX] sale: exact matching on origin
Avoid that an invoice for 'SO042' matches with the invoices of 'SO04'.
The use of the like is required as it may contains more than one reference to an
invoice.

opw-676921
2016-05-11 16:40:40 +02:00
Thibault Delavallée 2231c12920 [FIX] stock: a gnome stole my methods. 2016-05-11 16:01:29 +02:00
Jeremy Kersten fe6afa7e2b [FIX] website_forum: don't display link if profile is not published
Thanks to FHE for the reporting... opw-676520
2016-05-11 15:43:56 +02:00
Joren Van Onder e9b1254a5c [FIX] point_of_sale: use client validation date instead of creation date
9f541d29bf made it so that date_order on
pos.order records is set using the creation_date of the clientside Order
record to avoid weird date_order values when syncing to the server is
not done immediately.

The downside of this approach is that creation_date is set during Order
creation on the client. A user that has an open POS will also have an
open order. So if it takes one hour before the first order can be made
then the date_order will reflect this.

To avoid this we will instead use a validation date, which will be set
when the user clicks on the green 'Validate' button.

Because this is a stable release we won't change the name of the key in
the JSON data that gets sent to the server. This means that from the
server point of view nothing changes.

Fixes #11933
2016-05-11 14:11:26 +02:00
Goffin Simon 8ad0c0f3ab [FIX] account: base field in account.invoice.tax
The field base is obligatory according to a european law.
This field existed in saas-6.

opw:674713
2016-05-11 13:54:39 +02:00
qsm-odoo 1d9f7d279a [FIX] web: m2o dropdown empty results
When clicking on a m2o without typing any search text, the dropdown
shows results for the empty search string. The problem is that, on
some databases, records with empty names exist. However ui-autocomplete
library shows empty string label as dropdown divider.

Since a task is in development to prevent users from having non
trimmed record names, the solution that was chosen here is to
exclude empty names from the results. As the name_search can't evaluate
trimmed field, this commit fix the problem for up to three spaces
record names.
2016-05-11 13:21:20 +02:00
Christophe Simonis b38194ad75 [FIX] models: log foreign key creation correctly 2016-05-11 13:01:02 +02:00
Raphael Collet 5272c975c5 [FIX] openerp: do not run all post-install tests when called with --test-file 2016-05-11 12:11:23 +02:00
Raphael Collet 7eef6ba561 [MERGE] complete migration of module base to the new API 2016-05-11 12:06:08 +02:00
Nicolas Martinelli 0a5b943d19 [FIX] account: sort taxes before computation
Taxes should be sorted before computation, otherwise if some taxes
affect subsequent taxes, the computation will be wrong.

opw-676119
2016-05-11 11:54:27 +02:00
Martin Trigaux e93cf3f3dd [ADD] tools: Burmese language 2016-05-11 11:42:02 +02:00
Andreas Stauder 9b70650adc [ADD] tools: Swiss German language
Closes #4722
2016-05-11 11:41:32 +02:00
Raphael Collet cb4d058653 [MIG] complete migration of module base 2016-05-11 11:40:26 +02:00
Raphael Collet 214a59845f [MIG] base/tests
Convert YAML tests into Python tests:
 - translation tests moved to test_translate.py
 - test phases tests moved to test_phase.py
 - safe_eval tests moved to test_base.py
 - parent_store tests moved to test_base.py
 - float rounding tests moved to test_float.py
 - `ir.rule` tests moved to test_acl.py
 - search tests moved to test_expression.py
2016-05-11 11:40:25 +02:00
Raphael Collet 47c44578ba [MIG] base/workflow 2016-05-11 11:40:25 +02:00
Raphael Collet d465346f1e [MIG] base/module 2016-05-11 11:40:25 +02:00
Raphael Collet de54107fec [FIX] fields: add property auto_join on many2many fields
This makes this property available on all relational fields, although the
feature is currently not implemented on many2many fields.
2016-05-11 11:40:24 +02:00
Thomas Groutars 0e4ad2417d [FIX] mail: missing translation due to typo
Closes #11929
opw-676854
2016-05-11 11:28:27 +02:00
Goffin Simon 17c217ac4b [FIX] account_asset: Depreciation Expense Account and Depreciation Asset Account
"Depreciation Account" must be renamed in "Depreciation Expense Account"
Reason: This is the account that will be shown in the Profit and Loss, the original
label "Depreciation Account" is confusing because it could mean a depreciation asset
account.

"Asset Account" must be renamed in "Depreciation Asset Account"
Reason: This makes it clear that this is an asset account that will receive
depreciation entries, without this wording it could mean that we are simply
informing the Asset module which account is the asset account, but that depreciation
entries go elsewhere.

opw:672852
2016-05-11 11:20:00 +02:00
Nicolas Martinelli fe413bc8be [FIX] purchase: taxes from PO
If a user removes the taxes on a PO line, the product taxes will be
added back when the invoice is created.

opw-676858
2016-05-11 11:10:44 +02:00
Joren Van Onder c162e3489f [IMP] point_of_sale: verbose logging when dealing with 'rescue' sessions
When dealing with issues related to 'rescue' sessions we are very
limited in what we can do because the actual orders sent to the backend
exist only in localStorage in the browser on the device of the
user. Because of this it is important that we log some data about the
orders we receive in the backend to have an idea of what's going on.

opw-676497
2016-05-11 10:47:47 +02:00
qdp-odoo e6be42b168 [FIX] account: endless loop in exchange rate entry creation on full reconciliation fixed. ticket 676467 2016-05-11 10:43:25 +02:00
Aaron Bohy 7db8f73ee0 [FIX] web: form_view layout: status toggler position 2016-05-11 10:18:11 +02:00
Nicolas Martinelli 2ad4bd4846 [FIX] account: print multiple GL
When several accounts are selected to print their GL, the GL of only one
is printed. This is due to two issues:
- 'active_id' is retrieved instead of 'active_ids'
- the method `get_action` is called with the wrong records. `self`
  refers to the wizard, not to the accounts selected.

opw-676061
2016-05-11 10:11:24 +02:00
Goffin Simon 47208550a2 [FIX] account: periods in general ledger report
When "Filter by Periods" is choosen in the wizard, the right periods
must be set in ctx to filter the account moves according to the right periods

opw:674593
2016-05-11 09:44:27 +02:00
Olivier Dony ac8b7e90b5 [FIX] http: clear environment/caches on transaction rollback
Backport of 8423a0df34

Clear the cache/environment in addition to rolling back
the cursor, in order to retry the transaction with fresh
data, not partially stale data.
2016-05-11 01:01:54 +02:00
Denis Ledoux a0366b3a66 [FIX] google_calendar: do not copy user Google info
If a user syncs his calendar with Google,
and a second user is created in the database by copying this first
user, the Google information of the first user was copied
(The Google account to sync, the token to use, the last
syncrhonization date, ...), which is obviously wrong.

On calendar syncrhonization, which can be done
manually or automatically with the according cron, all
events of the first user were created a second time,
as a second user synchronized the same Google Calendar.

opw-674141
2016-05-10 16:09:28 +02:00
Nicolas Martinelli 34f09a0e69 [FIX] base: no-break space in qweb
A non-breaking space is used between the amount and the currency.
However, if a space is used as a separator, there is a possibility that
the amount will be split into several lines.

opw-674535
2016-05-10 16:05:27 +02:00
Nicolas Martinelli 9348416867 [FIX] account payment difference sign
When a payment is registered on an invoice, the payment difference must
be considered differently if we receive the payment or pay a bill. This
is necessary at the creation of the 'Counterpart' entry. For example,
an invoice of 100 is considered as paid with a payment of 90. The
difference of 10 should be booked as a debit in case of a customer
invoice, but it should be booked as a credit in case of a vendor bill.

opw-675641
2016-05-10 15:32:42 +02:00
Foram Shah 2e9644d10f updated the description of website_slides 2016-05-10 15:24:50 +02:00
Foram Shah 140ff84d15 updated the description of 'website_sale' 2016-05-10 15:24:50 +02:00
Foram Shah 3b40244ae8 updated the description of 'website_forum' 2016-05-10 15:24:49 +02:00
Foram Shah c714e1b1fc updated the description of 'website_event' 2016-05-10 15:24:49 +02:00
Foram Shah da41d9aff4 updated the description of 'website_blog' 2016-05-10 15:24:49 +02:00
Foram Shah a71309ace9 updated the description of 'website' 2016-05-10 15:24:49 +02:00
Foram Shah 5f0c66c648 updated the description of 'survey' 2016-05-10 15:24:48 +02:00
Foram Shah 3f7741229f updated the description of 'stock' 2016-05-10 15:24:48 +02:00
Foram Shah 5799ac618b updated the description of 'sale' 2016-05-10 15:24:48 +02:00
Foram Shah fe7107e0fc updated the descripton of 'purchase' 2016-05-10 15:24:47 +02:00
Foram Shah 684cd54945 updated the description of 'project' 2016-05-10 15:24:47 +02:00
Foram Shah c79a803869 updated the description of 'point_of_sale' 2016-05-10 15:24:47 +02:00
Foram Shah 986f991e34 updated the description of 'note' 2016-05-10 15:24:46 +02:00
Foram Shah 8f36711ecf updated the description of 'mrp_repair' 2016-05-10 15:24:46 +02:00
Foram Shah f42a154138 updated the description of 'mrp' 2016-05-10 15:24:46 +02:00
Foram Shah d4284d65a1 updated the description of 'mass_mailing' 2016-05-10 15:24:46 +02:00
Foram Shah b7b6c1ffaf updated the description of 'marketing_campaign' 2016-05-10 15:24:45 +02:00
Foram Shah 8f9d721d30 updated the description of 'mail' 2016-05-10 15:24:45 +02:00
Foram Shah 41d8b5c390 updated the description of 'im_livechat' 2016-05-10 15:24:45 +02:00
Foram Shah cb5c3e6b30 updated the description of 'hr_timesheet_sheet' 2016-05-10 15:24:45 +02:00