Commit Graph
99161 Commits
Author SHA1 Message Date
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
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
Denis Ledoux 25d8955e98 [FIX] payment: make the payment.acquirer name translatable
To allow to translate "Wire transfer" in the ecommerce.

opw-650450
2015-09-29 15:09:23 +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
Denis Ledoux bcc2f620db [FIX] website: geoip not defined in session for invalid session
The method that set `geoip` in the session, `_geoip_resolve`,
is called just before `self._authenticate`, which logout the user
when the session is invalid, and therefore reset the session.

Therefore, `geoip` could not be in the session in that place.
This isn't that bad, as, at the next request, the `geoip` will be
correctly set in the session.

During the analysis of this issue, we observed that the reset
of the session is actually not saved, because the save
of this session is done in `Root.get_response`, through the call
`self.session_store.save(httprequest.session)`,
but `Root.get_response` is not called in `Root.dispatch` in case
of HTTPException (500 internal server error in this case).

This might need to be changed, to do the session save with a finally
in this `Root.dispatch` method, so the above bug could have been
resolved with a simple refresh (which would have re-defined the
`geoip` in the session).

opw-650416
2015-09-29 14:56:22 +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
Denis Ledoux 2d3e9d21a7 [FIX] website_sale: ensure payment transaction is for current order
When ordering on the ecommerce,
if a payment transaction was found in the session,
this transaction was used as transaction for the current order.

Nevertheless, if the transction is no longer linked to
the current order, we should not use it.

This happened, for example, when the quotation
was deleted while the customer/user didn't close
its browser, and the transaction id was therefore
still in its session.

opw-650417
2015-09-29 12:10: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
Olivier Dony 49be54171c [IMP] sign-cla: email must be git committer email
- Many CLA PRs initially fail the CLA check because the email
used in the signature is not the git committer email, so we
cannot match them.
- Minor spellchecking
2015-09-29 10:59:07 +02:00
Jos De Graeve c88f0d926c [FIX] sale: company filtered taxes for fix_tax_included_price
This revision is related to:
 - 503820acb6
 - 3b02e3d63d

The taxes used to define the price must be the product taxes
of the company of the order.

Closes #8759
2015-09-29 10:40:33 +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
Goffin Simon 06fbf3a572 [FIX] website_quote: price unit for suggested products
In a SO, the unit price of the suggested products must be computed with
the pricelist linked to this SO. Inspired from function 'product_id_change'
in model 'sale.order.line'.

opw:650168
2015-09-29 09:59:53 +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
Nicolas Martinelli e11f50599d [FIX] web_graph: duplicates header in pivot
For report with duplicated named headers, several columns could get
squashed together.

This fix check if a value is a duplicate or not, and if it is a
duplicates postfix an number allowing to differentiate the two headers
(for the human and the javascript).

This is the exact same solution than #6722
Backport of 5cff8fbb7c
opw-650000
2015-09-29 08:33:36 +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