Commit Graph
102197 Commits
Author SHA1 Message Date
Miku Laitinen 9a3b711989 [FIX] payment_transfer: 'Wire Transfer' provider translatable
Closes #8398
2015-09-30 15:21:20 +02:00
Laetitia Gangloff f9859c510c [FIX] stock: compute stock valuation with right quantity
`qty` is the quantity in the product default uom.

`move.price_unit` is the price unit of the product
in this move, for the specific uom of this move.
The quantity to use is therefore the quantity
in the move uom, `move.product_qty`

Closes #4555
2015-09-30 14:47:53 +02:00
Martin Trigaux 18132e5eef [FIX] sale_stock: typo
Courtesy of Kris Krnacs
2015-09-30 14:46:30 +02:00
Miku Laitinen c9163c5403 [FIX] gamification: Made gamification badge descriptions translatable
The badge name is already translatable but the description was not,
Regenerate .pot file for these modules.

Closes #8399
2015-09-30 14:44:35 +02:00
qsm-odoo f72e9b9919 [FIX] web: reintroduce ChangePassword template
The template had been previously dropped by mistake.
+ the validation buttons were not correctly handled and so changing
his password was not possible (these buttons must be in the modal
footer).
2015-09-30 14:36:36 +02:00
Raphael Collet 580be0360c [FIX] website_sale: do not store records in ormcache!
The pricelists used in the website shop was cached as a list of records.  When
retrieving this information in another request, the records are broken, since
their cursor has been closed!  Fix it by storing record ids instead.
2015-09-30 14:09:14 +02:00
Martin Trigaux 2d8d201d88 [IMP] base: search method on ir.translation
Search on field 'source' instead on the internal 'src' field.
Rename label 'Old source' to a more understandable 'Internal source'
2015-09-30 14:06:03 +02:00
Damien Bouvy 99ccb7f384 [FIX] website_quote: either you adapt the price or you don't
When changing the template of a quote, lines and suggested lines are added to your quotation
The price of line is adapted to the quote's pricelist but not the price of options

This commit adds this behaviour to option lines
2015-09-30 14:01:20 +02:00
Aaron Bohy ed4b15e854 [IMP] web: menu.js: add hook for top menu change 2015-09-30 13:55:09 +02:00
Aaron Bohy 09bcbeefd2 [FIX] web: web_client: do_action: add missing return 2015-09-30 13:55:03 +02:00
Raphael Collet f910134622 [FIX] ir_translation: insert missing translations in en_US for XML/HTML fields
This fixes the following issue: if your website's main language is different
from English/US, you cannot edit English/US translations.
2015-09-30 13:36:21 +02:00
Raphael Collet aa772825de [FIX] website: remove lang from context for modifying view arch 2015-09-30 13:36:21 +02:00
Raphael Collet 22c2522f1c [FIX] models: do not update xml-translated fields with any language in context
For fields with `translate=True`, translations are considered for all languages
except `en_US`.  However, for xml-translated fields, translations must be
considered for all languages (there exist `en_US` translations for the terms.)
2015-09-30 13:36:21 +02:00
Nicolas Martinelli d222db65e9 [FIX] website_forum: call open_website_url
Introduced by a304194
2015-09-30 12:35:07 +02:00
Martin Trigaux 2f2ec60854 [IMP] website_forum: rephrase label can_display_biography 2015-09-30 12:00:18 +02:00
Joren Van Onder 8f4d29171a [IMP] point_of_sale: make ProductListWidget extendable 2015-09-30 11:50:19 +02:00
Martin Trigaux bad2f22e53 [IMP] base: better labels for ir.sequence
Increment Number and Number Padding do not indicate properly the meaning
of the field.
2015-09-30 11:48:54 +02:00
Nicolas Martinelli 67e5c03ca3 [IMP] sale: better better selection label 2015-09-30 11:32:00 +02:00
Nicolas Martinelli d62be72759 [FIX] analytic: hide account_type
`account_type` is probably not necessary anymore, but too late to
remove it.
2015-09-30 11:32:00 +02:00
Nicolas Martinelli 28daf5df62 [FIX] purchase: wrong domain
`type` is now replaced by `account_type` which can only have one value:
normal. So this domain is useless.
2015-09-30 11:32:00 +02:00
Nicolas Martinelli d2cbfc9283 [FIX] account_check_printing: set next number only if sequence
When a payment method is created, the field check_sequence_id is defined
only at the time of the create (_create_check_sequence). This method
fails since the check_sequence_id is not created yet.
2015-09-30 11:32:00 +02:00
Thibault Delavallée b28199a6d6 [FIX] mass_mailing: mix of old and new api 2015-09-30 11:31:20 +02:00
Thibault Delavallée 53f4acd7d1 [FIX] base: res_partner missing field
The type field is required on the simplified form view because it
is used in attributes.
2015-09-30 11:31:20 +02:00
Thibault Delavallée be75ee12a0 [FIX] res_partner: default image is back
Back from user. And the future. Or not.
2015-09-30 11:31:20 +02:00
Thibault Delavallée 314dab85df [FIX] hr_applicant: small fixes
X Application(s) becomes just Application(s) on the kanban card in order
to be coherent with other kanban views

When computing a job documents, do not include documents from already
hired employees, only applicants in the pipe.
2015-09-30 11:31:20 +02:00
Nicolas Lempereur 56aa103a43 [FIX] web_editor: useless margin for air editor in translation 2015-09-30 11:27:00 +02:00
Ludwik Trammer c87daaec09 [FIX] doc: Change one last instance of date_end to date_stop
References to `date_end`
were previously corrected to `date_stop`,
in revision 98bd673202,
but one of them was missed.

Closes #4463
2015-09-30 11:20:01 +02:00
Cedric Snauwaert f6a2582077 [FIX] ir_ui_menu: be sure to only take existing action in order to show visible menu 2015-09-30 11:01:07 +02:00
Raphael Collet d5ac2f7ab7 [FIX] ir_actions: in overridden method exists, mark missing records in cache 2015-09-30 11:01:07 +02:00
Josse Colpaert fabf90008d [FIX] stock_account, sale_stock, purchase: anglo saxon accounting fixed. It now correctly created the cost of good sold lines when selling a stockable product in perpetual valuation. Was broken since the sale-pocalypse merge, I suppose. Was PR #8717 2015-09-30 10:49:43 +02:00
qsm-odoo d212f900ba [FIX] web: formview secondary labels font-weight
The settings views are now using radio buttons which are using labels.
These were set to bold by bootstrap. Now force font-weight normal for
labels which are not labels inside an oe_form_group_cell_label (field
main label).
2015-09-30 10:44:03 +02:00
qsm-odoo ccd50b7ecd [FIX] stock: nested statinfo values
Inside a statinfo context, the widget statinfo should not be used
(cause useless DOM depth + misalignements). Just change to integer
values.
2015-09-30 10:11:54 +02:00
Cédric Snauwaert c2f0e915fe [FIX] l10n_multilang: module adapted to new accounting and the fact that localization modules generate the objects from the templates directly at the installation (which was before the translation were loaded for the templates in previous version). Was PR #8455 2015-09-30 09:30:46 +02:00
qdp-odoo 4890715171 [IMP] account: auto_install account_check_printing for US companies 2015-09-30 09:26:36 +02:00
Olivier Dony 94a0bbed0a [IMP] res.users: move login_date info to extra table
Writing frequently to master data, and particularly to res.users
records is dangerous because it can temporarily delay/abort
concurrent transactions due to FK locking/serializability
heuristics. (Even with PostgreSQL 9.3+)

The `login_date` field updated when a user is authentiocated
is still useful but better handled in a separate table that
exclusively receives independent INSERTs (no UPDATE/DELETE).
This minimizes the chances of transactional conflicts.

This commit moves the login_date info into a separate
`res.users.log` table for this purpose, replacing it
with a related field. The user and login date info are
automatically handled by the magical fields (create_uid,
create_date) in `res.users.log`.
The related field must not be stored because that would
create the same problems as the original field.

In order to cleanup redundant entries in res.users.log
the 'auto-vacuum' cron job used for TransientModels was
extended to be a generic "internal data vacuum cleaner",
and now takes care of this as well.

The code for updating last login and vacuuming was split
up into smaller methods to make extensions easier.

Fixes #8585
Fixes #8590
2015-09-30 03:02:45 +02:00
Olivier Dony af4a60b941 [MERGE] Forward-port 8.0 up to rev. 26d0fe6d9f 2015-09-30 02:53:59 +02:00
Olivier Dony 9a9012064c [ADD] base_action_rule: edatetime,dateutil,uid in filter eval contexts
Those features are available on client-side ir.filters
via pyeval, so it's useful to have them on the server-side
so the same ir.filters can be used as well.
2015-09-29 20:18:16 +02:00
Cédric Krier 26d0fe6d9f [CLA] Cédric Krier
Closes #8460
2015-09-29 20:13:20 +02:00
Nicolas Martinelli 761fadc360 [FIX] sale_stock: remove unnecessary field so_line_id
The SO line is already defined on the procurement on the sale module, so
it is not necessary to redefine it in sale_stock.
2015-09-29 19:09:08 +02:00
Nicolas Martinelli 21bd895536 [FIX] sale_order_dates: copy demo data
The SO line in the demo data is already linked to an existing
procurement. Therefore, the test is not correct.
2015-09-29 19:09:08 +02:00
Olivier Dony 2e98125c6d [REM] res.users: unused __admin_ids attribute
From 6f60b165f8
2015-09-29 18:55:03 +02:00
Adrien Peiffer (ACSONE) 295f9be905 [ADD] expression: support parent_of domain operator
Inspired by this commit:
 https://github.com/alhashash/odoo/commit/319cec43

Closes #7641
2015-09-29 18:46:08 +02:00
Ray Carnes 6820dde909 [FIX] mail: channel description
"announces" is a present tense action verb, and is incorrect in this context
Closes #8282
2015-09-29 17:38:03 +02:00
Ray Carnes b11f497130 [FIX] web: geater and less than or equal to
Correction for properly English grammar

Refer to:
http://www.fileformat.info/info/unicode/char/2265/index.htm
http://www.fileformat.info/info/unicode/char/2264/index.htm
https://msdn.microsoft.com/en-us/library/ms181567.aspx
https://msdn.microsoft.com/en-us/library/ms174978.aspx
https://en.wikipedia.org/wiki/Inequality_(mathematics)
https://www.mathsisfun.com/equal-less-greater.html

Closes #8742
2015-09-29 17:36:36 +02:00
Goffin Simon 48ccb19937 [FIX] sale: currency in report sale analysis
In Sale Report Analysis, the price total must be in the currency
of the company.
Introduced by b5c1cb4298
opw:649781
2015-09-29 16:43:47 +02:00
Stefan Rijnhart 0333e4da02 [FIX] product: default category on UoM quick creation
This revision adds the possibility to use the key
`default_category_id` in the context to set
the UoM category when quick creating a new UoM,
like it's the case everywhere else with the
`default_*` keys passed in the context.

Closes #4407
2015-09-29 16:24:22 +02:00
Jairo Llopis 68eaeb684d [ADD] crm: test user notification
Test if the user gets notified for incoming contact requests.
2015-09-29 15:27:46 +02:00
Jairo Llopis ffa28488be [FIX] mail: subscribe to threads before sending first message
Users subscribed to creation of records (new leads in a sales team, new
tasks in a project, etc.) are never notified. The reason is that users
were subscribed after the record creation notification.

Introduced in 43915a8721
Closes #8723
2015-09-29 15:27:46 +02:00
Jairo Llopis d65f251d12 [CLA] Grupo ESOC 2015-09-29 15:27:45 +02:00
qsm-odoo 7f7ce69bd9 [FIX] web,account: client actions layout (height)
Like view manager containers, client action containers needed the
overflow:auto property to compute their correct height inside their
flex context. This also allows client action as the reconcilation in
accounting to not care about their height.
2015-09-29 15:14:39 +02:00