Commit Graph
98677 Commits
Author SHA1 Message Date
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
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
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
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
qsm-odoo 1574f1c506 [FIX] web: listview editable tab key to go to next line
This was not working if the last field of the line was a DOM element
without any descendant (example: a simple input element).
2015-09-29 15:14:39 +02:00
qsm-odoo 51a923a734 [FIX] web_kanban: colorpicker shouldn't break
The colorpicker in a kanban record was sometimes breaking over 2 lines.
2015-09-29 15:14:39 +02:00
qsm-odoo 91ffe91f7d [IMP] web_calendar: calendar dimension/scroll/resize
The calendar has now a minimum height so that it appears bigger in
mobile. In mobile the height cannot be computed to maximum because
the webclient has not 100% fixed height. The height has been set
so that in appears maximum on a 720p android mobile on chrome at
the time of this commit.

The calendar is now also resizing itself correctly after a window
resize.

Before this commit, it was impossible to scroll the calendar
horizontally if needed. Notice that the solution breaks the full
calendar layout and require JS scrolling so that the events are
still positionned correctly.
2015-09-29 15:14:39 +02:00
Martin Trigaux ea446a69e7 [IMP] sale: better selection label 2015-09-29 15:13:41 +02:00
Josse Colpaert 9d662e4798 [FIX] stock: add extra tests for lots and fix problem subtracting remaining qties
In this test, we set the incoming picking type not
to require any lots.  The outgoing picking requires lots
and should convert the stock without lot into stock with lot.
2015-09-29 15:09:00 +02:00
Nicolas Lempereur 142a3e4176 [IMP] web_editor: rename and delete summernote files 2015-09-29 14:47:37 +02:00
Nicolas Lempereur d33086c03f [IMP] web_editor: update summernote up to 2015-08-31
update summernote library up to revision:
 https://github.com/summernote/summernote/commit/a0f26e300

see https://github.com/summernote/summernote/ for history

closes #8704
2015-09-29 14:47:24 +02:00
Martin Trigaux e9ac1bff8b [I18N] add l10n_sa to .tx/config 2015-09-29 14:42:09 +02:00
Martin Trigaux e0eaaee2db [I18N] add l10n_sa and pos_cache terms + reexport
One last export before v9!
2015-09-29 14:40:59 +02:00
Raphael Collet 20da3a3915 [IMP] fields: enable grouping of fields that are computed together
Do not convert the value of `field.compute`, as this conversion prevents the
grouping of fields that have the same `field.compute` otherwise.
2015-09-29 14:14:48 +02:00
Raphael Collet 50f19afd9e [FIX] models: process the new-API fields to recompute in batch
When a new field has to be computed for the first time on existing records,
mark that field as todo, invalidate it in cache, and perform all recomputations
at once at the very end.
2015-09-29 14:14:48 +02:00
Christophe Matthieu 0156513809 [FIX] website_event: click on edit badges. open the page in edit mode instead of readonly mode 2015-09-29 14:14:04 +02:00
Thibault Delavallée 81e39b70d5 [IMP] crm: lead: followup filter
This filter is based on activities, and filter leads having a date_action set to today
or before.
2015-09-29 12:01:22 +02:00
Thibault Delavallée f0733edeb2 [FIX] web_settings_dashboard: token when inviting users
A context key was missing, leading to incorrect token sent to users when adding
users through the settings dashboard.

Also removed unused imports.
2015-09-29 12:01:22 +02:00
Thibault Delavallée b626bdc68d [FIX][CLEAN] crm: next actions form view + code
The display of next actions has been slightly cleaned. Indeed some links were
displayed only in edit mode, and the order was strange.

Also moved code beloging to crm.team into the right file instead of having
2 overrides in the same module. Also cleaned its code.
2015-09-29 12:01:22 +02:00
Xavier Morel 8475ee13d6 [FIX] website: 500-error template
Fix template markup so CSS correctly applies and nav is correctly
bordered and doesn't take half the page height.
2015-09-29 11:15:58 +02:00
Josse Colpaert 3230b6a4d3 [IMP] stock: post message on original picking when no backorder 2015-09-29 10:28:56 +02:00
Joren Van Onder 6267ce8cff [FIX] point_of_sale: fix dutch translation
Missing space.
2015-09-29 10:07:27 +02:00
pvy 932748d97b [FIX] l10n_sa is back, compliant with the new accounting 2015-09-29 09:58:36 +02:00
Nicolas Martinelli 0126c59dd3 [FIX] point_of_sale: remove remaining references to POS loyalty 2015-09-29 09:06:52 +02:00
Josse Colpaert 80fab986a9 [IMP] stock: deactivate picking types instead of using 2 security groups for not showing internal picking types in kanban
Instead of using 2 security groups to make sure
internal pickings are not shown in the dashboard
when not in multiple locations,
picking types are deactivated when the warehouse
is one step in/out and not in multiple locations.

That way it will work the same for other kanban views.

The colors of the kanban view are also changed.
2015-09-28 21:25:02 +02:00
Simon Lejeune 2fa34fcfef [REF] report: remove css parsing from get_pdf
Useless now that rev f26988c allows the use of asset.
Also, it was partly used to retrieve the content of the
`report.style` template that was removed by rev c9492f8.

The preferred way to add local style and stylesheets is to add them
directly in the assets.
2015-09-28 18:17:16 +02:00
Martin Trigaux fa4b170a31 [FIX] account: typo 2015-09-28 17:49:40 +02:00
Xavier Morel 24a20cd3fb [FIX] website: looks of 500 Internal Error page
Kinda. Link to CSS had been broken, replace by asset calls.

Dump the assets in debug mode just in case.
2015-09-28 17:44:15 +02:00
Yannick Tivisse f0db109741 [IMP] account: update translations 2015-09-28 17:34:42 +02:00
Yannick Tivisse 077098ea13 [FIX] account: planner, multiple typos and wrong turns of phrase 2015-09-28 17:30:17 +02:00
Thibault Delavallée b14ed9a5eb [IMP] crm.lead: lost reason improvements
- now possible to archive lost reasons. Indeed some reasons may become
  unrelevant after some time.
- updated access rights on lost reasons: manager can create / update them
  salesmen can only use them
- add archived filter
2015-09-28 17:27:07 +02:00
Richard Mathot 7ac04d409e [FIX] delivery: invoice actual shipping cost
Since commit 78cc0b95f4, there was no more
way to invoice the actual price of a shipping (after the transfer).

In order to make that available again, we introduce a new field on the
sale order. This field automatically detects whether a sale order
contains a "delivery" line or not, at sale order confirmation
(action_confirm).

When the delivery order is processed, the actual shipping cost is thus
repercuted on the sale order if and only if the shipping price was not
"forced" at the sale order confirmation.

(and a few refactoring to avoid copy-pasting code lines)
2015-09-28 17:25:44 +02:00
Richard Mathot bb78aecc29 [IMP] product: add some demo weights
It is easier to demonstrate the shipping connectors
2015-09-28 17:25:43 +02:00