Commit Graph
103231 Commits
Author SHA1 Message Date
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
Damien Bouvy 9f210601e4 [IMP] project: field string missing 2016-05-10 08:29:24 +02:00
qsm-odoo ba2a47e91b [FIX] web_calendar: avatar size for event attendees 2016-05-09 17:57:21 +02:00
Denis Ledoux 3954affc30 [FIX] account_anglo_saxon: default account value
The default account value set for purchases invoices
lines for product of type Service was wrong: It used
the stock account, which is wrong as a Service
as no stock. Instead, it should left the product
expense account, as usual.

opw-676110
2016-05-09 17:39:12 +02:00
Jeremy Kersten 282ca33ae5 [FIX] web: fix bug introduced by fwp of #8aee65 and merge web client 2016-05-09 16:39:39 +02:00
Simon Lejeune 14b910351f [REL] 9.saas~11 2016-05-09 15:41:32 +02:00
Simon Lejeune ceba8b648f [FIX] hr_timesheet_sheet: "weekly" menuitem wrongly set as no update
The loading order of the data files has to be modified, as this menuitem
uses an action defined in hr_timesheet_sheet_data.xml.
2016-05-09 14:38:06 +02:00
Martin Trigaux 88749790d1 [FIX] sale: outdated .pot file
Was having content of website_quote
2016-05-09 12:36:39 +02:00
Raphael Collet 5676d8121d [FIX] fields: invalidate x2many fields with a domain
Invalidate the cache of a x2many field when any of the fields appearing in its
domain is modified.  Use the invalidation triggers mechanism for that purpose.
2016-05-09 12:10:23 +02:00
Damien Bouvy 3ce23eb464 [FIX] sale: uom conversion for invoiced quantities
When invoicing products from a SO, you may decide to change the uom
of the invoice (if you invoiced only  a fraction of the product, for
example). In that case, conversion is necessary to ensure that the
"invoiced quantity" field on the SO line is correct.
2016-05-09 12:01:39 +02:00
Denis Ledoux 7923999f12 [FIX] google_calendar: user invited to one recurring event occurence only
When a Google user was invited to one occurrence of a recurring event,
but not to the recurring event itself (and the other occurrences, therefore),
and the user owner of the recurring event did not sync his calendar in Odoo,
the event occurrence could not be synced in Odoo, because it attempted
to attach it to the parent/main recurring event, which was not present
in Odoo.

In such a case, Odoo now syncs the event occurrence as a simple classic
event. In addition, if the owner of the event sync his calendar with Odoo
afterwards, or if the user is invited later to the main/parent recurring event
and then sync again his calendar,
it then attach the event occurrence that was previously
synced to this main event, to avoid events duplication.

opw-676535
2016-05-09 11:39:38 +02:00
Nicolas Lempereur dd714ace55 [IMP] web: multi-click on save on view form (no fp)
When clicking on save several time when editing a view form it can be
saved several times which can be an issue for one to many.

The normal happenstance when saving should be as follow:

-> save (click)
-> wait write result
-> received write result
-> reload the form with updated data and updates buttons

But when clicking several time, it could become:

-> save (click)
-> wait write result
-> received write result
-> save (click)
-> wait write result
-> received write result
-> reload the form with updated data and updates buttons

This commit only reinstate the saving feature once the form is reloaded.

closes #11926
opw-671793

note: no need to forward-port
2016-05-09 10:54:16 +02:00
Nicolas Martinelli 313bc91cf5 [FIX] account: account selection
When a user prints the GL of a given account, the GL of all accounts is
printed. On a production environment, this can generate thousands of
pages (and ultimately, a crash).

opw-676061
2016-05-09 10:41:20 +02:00
Nicolas Lempereur b9803b3de3 [FIX] mail: rapid click on "New Message" cause error
If the "NEW MESSAGE" or "Log an internal note" are clicked succeedingly
too fast, we can get into a situation where the composer is init'ed but
have not already been start'ed.

closes #11952
opw-675973
2016-05-09 10:39:14 +02:00
Goffin Simon 74525de9cf [FIX] project: Settings" in administration for a user
Used case:
-go as admin and set for the demo user the right "Settings" in administration
-connect as demo user, go in settings of project and untick the forecasts option and save

Result:
-Access rights error because the user has no rights to unlink records on "ir.values" model.

Fix:
When the user is in the group_system group, he has the rights to unlink records in "ir.values" model.

opw:676714
2016-05-09 10:05:43 +02:00
Goffin Simon b3a88b6ed8 [FIX] web: raise a warning for bad domain
When a user wrote a wrong value in char_domain field it should raise a warning
message instead of a traceback.

opw:676783
2016-05-09 09:35:13 +02:00
Odoo Translation Bot 859fe655d2 [I18N] Update translation terms from Transifex 2016-05-08 02:57:57 +02:00
Odoo Translation Bot 9cdc40e3ed [I18N] Update translation terms from Transifex 2016-05-08 00:28:57 +02:00
Yannick Tivisse 8ff9cbad2c [IMP] sale,purchase,stock,account: Don't display an empty 'warning' page
And add a category hidden on the res.group definition
2016-05-06 17:06:35 +02:00
Nicolas Lempereur 48a35ca8f9 [IMP] product: order attribute by name
closes #11951
fixes #11602
opw-673857
2016-05-06 16:38:47 +02:00
Fabien Pinckaers b913f41d06 [IMP] project: customer field visible for customer projects only 2016-05-06 14:39:03 +02:00
Fabien Pinckaers 99d8574daa [IMP] project: Wording of project privacy field 2016-05-06 14:37:14 +02:00
Damien Bouvy e4e1e571c2 [FIX] website_sale_delivery: unset delivery line before update
When removing the last line (apart from the delivery line) from the
cart, it is necessary to remove the delivery line before updating
the cart; otherwise the carrier is contacted with a 0 weight order
and crashes.
2016-05-06 13:07:26 +02:00
Olivier Dony 3cdcc670fc [MERGE] Forward-port saas-6 up to d2f02ff1b1 2016-05-05 04:05:41 +02:00
Olivier Dony d2f02ff1b1 [MERGE] Forward-port 8.0 up to c8dc4c8daf 2016-05-05 03:55:24 +02:00
Olivier Dony c8dc4c8daf [MERGE] Forward-port 7.0 up to a0484cbe45 2016-05-05 03:52:47 +02:00
Olivier Dony a0484cbe45 [FIX] import: broken translation cache for absent translation of 'false'
Backport of 7d732b1011

Fixes #979
2016-05-05 03:39:54 +02:00
Olivier Dony 7cafe6a9c1 [FIX] account: set reconciliation date as admin
The user performing reconciliations may not always
have the right to update the corresponding partners,
for example if a partner is also a system user.

Doing it as super-user after verifying that the
user is indeed allowed to reconcile journal items
works around the problem.

Fixes #11931
2016-05-05 03:37:08 +02:00
Christophe Simonis 05bbcd6bf9 [FIX] website_sale: correct errors introduced by previous forward-port 2016-05-04 18:31:56 +02:00
Christophe Simonis 70842689a0 [FIX] base,website_sale: correct errors introduced by previous forward-port 2016-05-04 17:42:38 +02:00
Farrah Dickerson 5fd704d4e5 [CLA] signature for Farrah Dickerson
Closes #11917
2016-05-04 17:34:15 +02:00
Damien Bouvy 4b0c10734f [FIX] project: falsy demo data
The author_id field is actually a res.partner, not a res.users.

In some cases, if the partner with id 1 is deleted, installing
project was impossible.
2016-05-04 17:17:25 +02:00
Damien Bouvy aa510740fe [FIX] account_voucher: supplier voucher should list receivable accounts
opw-676508
2016-05-04 17:17:25 +02:00