Commit Graph
103913 Commits
Author SHA1 Message Date
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
Foram Shah f1dbd10e69 updated the description of 'hr_recruitment' 2016-05-10 15:24:44 +02:00
Foram Shah 0ffd4ea6a1 updated the description of 'hr_holidays' 2016-05-10 15:24:44 +02:00
Foram Shah aff5321d22 updated the description of 'hr_expense' 2016-05-10 15:24:44 +02:00
Foram Shah 2403f61e5e updated the description of 'hr' 2016-05-10 15:24:44 +02:00
Foram Shah 6ba10dee8d updated the description of 'fleet' 2016-05-10 15:24:43 +02:00
Foram Shah 19dd2ac161 updated the description of 'crm' 2016-05-10 15:24:43 +02:00
Foram Shah 70efae2879 updated the description of 'account_accountant' 2016-05-10 15:24:43 +02:00
Foram Shah db0b846b27 updated the description of 'account' 2016-05-10 15:24:43 +02:00
Tanguy Charlier 95ea64c5a3 [FIX] hr_timesheet_sheet: fix forward port mistake
The field account_type no longer exists so this line shouldn't have been forward-ported.

Backport from master of rev 3888b3f6f5
2016-05-10 15:13:31 +02:00
Tanguy Charlier 3888b3f6f5 [FIX] hr_timesheet_sheet: fix forward port mistake
The field account_type no longer exists so this line shouldn't have been forward-ported.
2016-05-10 15:04:39 +02:00
Denis Ledoux 77cb5f0ee0 [FIX] calendar: edition of events duration
In event not during all day, it looks like
`start_date` could be defined, but `stop_date` not.

Despite the fact this is not such a normal state, this should
not prevent the save of the event with the
`_check_closing_date` constraint, checking that the ending
date is after the starting date
(in the case of an event not during the whole day,
this is ensured with the `start_datetime` and the
`stop_datetime`

opw-676245
2016-05-10 14:44:02 +02:00
Joren Van Onder 28a9336ac8 [FIX] barcodes: also allow barcodes triggering buttons in dropdowns
On smaller screens some buttons will be hidden. An example of this is
the 'Validate' button in the stock.picking form view. It is not :visible
but it should still be possible to trigger through scanning a
'O-BTN.validate' barcode.

opw-676741
2016-05-10 12:59:37 +02:00
Martin Trigaux 59982a04a4 [FIX] tools: keep comment in CSV export
The comments field was ignored (because reasons) when exporting terms in CSV.
This was an issue when using the wizard 'Synchronize Terms' as it first export
the terms of every module in CSV.

opw-673853
2016-05-10 12:46:20 +02:00
Olivier Dony 0b55f2ee6d [IMP] sale_timesheet: timesheet smart button - display correct lines
- As of 9.0 there is a discrepancy between the smart button showing
the "total timesheet" entries at the top of a Sales Order, and the
actual timesheet lines used to computed the "delivered quantity"
of the lines of that SO.
Fix this by simply counting all the timesheet lines assigned to
the SO lines.

- Also replace the sum of "timesheets" mixing different UoMs with a
simple count of the lines, on the smart button.
It's not going to match the sum of the "delivered qty" on the
lines anyway (due to diff. UoMs), so let's show something that makes
sense all the time.

- Finally, use a more logical plural form in the smart button label
2016-05-10 12:01:28 +02:00
Nicolas Martinelli 50b94ef079 [FIX] web: search input of date
When the user searches for date (or a datetime) in the search bar, the
suggested date can become completely wrong. For example, in the French
localization where the date format is DD/MM/YYYY, the system will search
for the date MM/DD/YYYY. This is even worse when the date is not fully
written: DD/MM could be converted to MM/DD/0000, which doesn't make any
sense. This is related to the moment issue
https://github.com/moment/moment/issues/1407.

The fix is to make sure that the input date has a correct format thanks
to `parse_value`. The latter converts the date into a fixed format.

Fixes #11876
opw-676604
2016-05-10 11:19:22 +02:00
Goffin Simon c140f9f542 [FIX] account_asset: deferred_revenue_category_id and asset_category_id
When creating an customer invoice with a product linked to a deferred revenue
category, the account used in the invoice line must be the account_asset_id.

When creating an vendor bill with a product linked to an asset
category, the account used in the invoice line must be the account_depreciation_id.

Inspired from 0287c1e1b3

opw:677098
2016-05-10 10:03:33 +02:00
Goffin Simon 4edf750b95 [FIX] account, account_asset, purchase, sale: deferred revenue type/ asset type
When creating an invoice from a SO or PO with a line containing a product with a
deferred revenue type or an asset type, this information is not copied in the
related invoice line.

Inspired from 564fda4
opw:677098
2016-05-10 10:00:57 +02:00
Goffin Simon a775f437c8 [FIX] hr_holidays: date_from field
Wrong field date_from:month in model hr.holidays

opw:676837
2016-05-10 09:35:36 +02:00