Commit Graph
99161 Commits
Author SHA1 Message Date
Yannick Tivisse 47a82a8e9c [REM] Remove useless button in some module descriptions 2015-09-30 16:42:18 +02:00
Yannick Tivisse d600f86181 [IMP] web_settings_dashboard: Display a cursor on the big clickable icon 2015-09-30 16:42:17 +02:00
Yannick Tivisse 4c13b11230 [IMP] stock: menuitems displayed twice
Rename 'Serial Numbers' menuitem into 'Serial Numbers / Lots'
Move Ugly Unpack button on the header in stock.quant.package form view
Remove doublon menuitem for action 'product_uom_form_action'
2015-09-30 16:42:17 +02:00
Yannick Tivisse 5b910a783b [FIX] event: typo 2015-09-30 16:42:17 +02:00
Josse Colpaert 8380d88b68 [IMP] mrp: source location on manufacture pull rule can be used to set raw material location 2015-09-30 16:34:58 +02:00
Raphael Collet f739c38d58 [IMP] mail: trigger garbage collection of attachments from model ir.autovacuum 2015-09-30 16:29:59 +02:00
Christophe Matthieu 6784b1af78 [FIX] website_event_sale: don't display event ticket discount in cart 2015-09-30 16:24:45 +02:00
Christophe Matthieu a04dcd8b26 [FIX] ir.qweb: display the tail of node with 'groups'
Issue: tail of the node with groups disappears if the user dont have access to the node
2015-09-30 16:24:25 +02:00
Stéphane Bidoul e11490c3a1 [FIX] account: Analytic account domain in reconcile with writeoff wizard
The domain for the analytic account in the `reconcile with writeoff` wizard
should be based on the `type` field, which must be `view`,
not on the `parent_id` field, as it's done everywhere else
(e.g. in the supplier invoice form).

`[('parent_id', '!=', False)]`
and
`[('type', '!=', 'view')]`
is almost the same, but the second domain is more appropriate.

Closes #4562
2015-09-30 16:22:05 +02:00
Nicolas Lempereur 7163d1692b [FIX] website: delay tour start till editor is loaded 2015-09-30 16:20:17 +02:00
Fabrice Henrion d2faba51f8 [FIX] im_odoo_support: typo
Closes #8093
2015-09-30 16:18:29 +02:00
Josse Colpaert 5edd024e3a [FIX] point_of_sale: pickings should be transferred the new way
Also for returns, make sure the picking gets the correct
locations already.
2015-09-30 16:18:05 +02:00
Denis Ledoux 4c901f8ac6 [FIX] sale: use default_get to define the invoice journal
When creating the invoice of a sales order, from the sales order
(`Create invoice` button on the sale order),
the journal used for the invoice was forced
with a specific domain. Besides, the only reason the journal
is forced is to check there is a sale journal for the
quotation company, and raise a warning if not.
This check was added in 1578c2858d.

This prevented to use the user defined defaults,
(`Set defaults` in the `debug` menu)
to set a different default journal per user.

Using the `default_get` instead solves this issue,
as it uses first the user defined defaults. Besides,
if no user defined defaults are set, it then uses
the default value set in the field definition, which
in this case returns the same journal then the forced
domain mentioned above, the domain used being the same.

There is therefore no change of behavior, while giving
the possibility to use the user defined defaults.

Fixes #8786
2015-09-30 15:59:54 +02:00
Nicolas Martinelli aed154b6bb [FIX] point_of_sale: display glitch 2015-09-30 15:21:39 +02:00
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