Commit Graph
99161 Commits
Author SHA1 Message Date
pedro 782db031c9 [CLA] Pedro Rodriguez Gil
Closes #8377
2015-09-08 15:50:38 +02:00
JoshuaJan 682672ea50 [CLA] Joshua Jan
Closes #8335
2015-09-08 15:50:37 +02:00
Antony Lesuisse c16f65b1dc [CLA] update mailmap 2015-09-08 15:45:09 +02:00
Yannick Tivisse c11323148a [FIX] stock : layout issue between 'weight' and 'tracking' field 2015-09-08 15:40:38 +02:00
Yannick Tivisse 49bc61e5ee [IMP] web_tip: Generic tip on the archive button 2015-09-08 15:40:38 +02:00
Yannick Tivisse 91af0e467e [IMP] product: Same label 'Public Price' for lst_price on product_product and
list_price on product_template
2015-09-08 15:40:38 +02:00
Yannick Tivisse ed4dfdfc9d [IMP] base: Hide 'portal', 'public' and 'contact creation' groups if not in debug mode 2015-09-08 15:40:38 +02:00
Yannick Tivisse 1c59ae181f [IMP] Add '@someone' explanation in channel helper. 2015-09-08 15:40:37 +02:00
Yannick Tivisse 577ad2838f [IMP] website_sale: Rename tour step label that was confusing 2015-09-08 15:40:37 +02:00
Denis Ledoux ca2fa82aba [FIX] mass_mailing: Select records with Leads / Opps as recipients
`False` is not syntax valid for a domain.
It leads to errors when trying to evaluate `False`
as a domain in the evaluation of `pyeval.js`.

Therefore, using `False` as default value for `mailing_domain`
isn't correct

opw-648857
2015-09-08 15:33:55 +02:00
Josse Colpaert 54fdc8576e [IMP] stock: picking validate button + onchange uom
The button Mark As Todo should be before the button Validate because
most people check things when they transfer stuff in their warehouse.
Moreover, it creates confusion, because people will think Validate means Confirm
(or Mark As Todo).

When validating an empty picking, it will give an error now.

On_change of product on stock moves and pack operations should return
a domain for the UoM.
2015-09-08 15:25:16 +02:00
Raphael Collet 058d0df3bd [IMP] models: improve regex to check table names 2015-09-08 15:23:58 +02:00
Josse Colpaert 60974fda10 [IMP] stock: Extra check of qties between pack operations and their lots detail + entire_pack param
As every pack operation can have several lots now,
we do an extra check if the qties in these lots details
match the total quantity of the pack operation.

There was an entire_pack key put in the context we want
to avoid by passing it as parameter.
2015-09-08 15:19:35 +02:00
Martin Trigaux b255880cb4 [FIX] planner: typo
Courtesy of Eric Geens
2015-09-08 15:15:02 +02:00
Yannick Tivisse 2fe11b18b5 Revert "[IMP] base: use currency position from language"
NB : Not reviewed by apr and qdp

This reverts commit 58f16b7060.
2015-09-08 15:00:21 +02:00
Josse Colpaert 7f5f37a548 [IMP] stock: remove unnecessary fields 2015-09-08 14:59:00 +02:00
Martin Trigaux 909e6e300a [FIX] email_template: use valid email_from content
Correctly use the email_from tag from template.
This partially reverts commit 0f82346167.
"[FIX] email_template: keep email_from and outgoing server"
Remove the email_from part that was incorrect, keeping the one on mail_server_id

Instead of assigning an non-evaulated email_from in the context, specify the
email_from in the onchange method. This way the created email has an evaulated
from value. This was an issue for templates using email_from like
"${(object.user_id.email or '')|safe}"

In the _notify method method, the email_from is partially respected as it will
be used a fallback only. However changing that would introduce a modification of
behaviour not suitable for 7.0 branch.

Fixes #8409
2015-09-08 14:30:37 +02:00
Goffin Simon d7eb2c0397 [FIX] website_sale: product attribute line
In e-commerce, on a product page. If the product has some attributes
("product.attribute.line" model) with several values for at least one attribute
(which means several variants for one product), the display of these attributes must
respect the sequence defined in:
Sales > configuration > products > attributes("product.attribute" model)

opw:648634
2015-09-08 14:23:40 +02:00
Raphael Collet 05f176f418 [IMP] ir_ui_view: do not recompute field model_data_id on views
The recomputation should not be necessary, as we normally don't change the
record referred by an ir_model_data record.  This speeds up the creation of
ir_model_data records by 33%, which should be noticeable during module
installations.
2015-09-08 14:14:58 +02:00
qsm-odoo fd3e17795d [IMP] hr_timesheet_sheet: Simplify line adding
Before this commit, you had to click on "Add a line", then select
a value in the m2o which appeared, then click on "Add". Now, the m2o
is always there in edit mode and you just have to click "Add" once.
2015-09-08 14:14:32 +02:00
qsm-odoo 7c18c68f96 [FIX] hr_timesheet_sheet: '0' values when adding a new line
When a new line was added, all the others changed their value to 0.
This was because of a property : the sheets propertywas read thanks
to a get('sheets') but as it is an array of object, modifying those
object will modify the sheets (without calling any handler attached
to the 'change:sheets' event). It appeared the form_view set_values
method changed those objects.

A simple solution from a timesheet point of vue was to deep clone the
sheets property before using it.
2015-09-08 14:14:31 +02:00
qsm-odoo 1a405ed7c4 [FIX] web: widget_x2many tour
The test was not stable enough since listview editable and onchange
API changes.
+ Some step were wrong (test of the wrong element)
+ Minimize differences with enterprise version (so that the two tests
are testing the same things)
2015-09-08 14:14:31 +02:00
qsm-odoo 3f7d350fe2 [FIX] web: Listview editable
(backport of enterprise version)

Fix various problems with list view editable :
* Click outside which should discard/save the line in edition
* Warnings which should not appear when line is being discarded/saved
* JS test

+ JS code refactoring
2015-09-08 14:14:31 +02:00
qsm-odoo 4932bb13f3 [FIX] web: Tour step without element should not click on body 2015-09-08 14:14:31 +02:00
Nicolas Lempereur 7a5e5adb56 [FIX] website_mail: special case for css splitting
The css of a mail is inlined as best as possible for the mail sending.

Previously, if there was a selector like .ch[onclick="ga(this,event)"]
the simple splitting would split in the middle and get one erroneous
selector (which then would trigger an error).

With his commit, rules containing " or ' are ignored.

opw-643548

note: forward port of 6316bce
2015-09-08 13:29:23 +02:00
Goffin Simon ba74cb9144 [FIX] account: Cash registers
In Accounting > Bank and Cash > Cash Registers, when clicking in "More" button
on 'Put Money In' or 'Take Money out', the date used for the bank statement line
created must be the date of the bank stattement(same behaviour then when clicking
on "Add item" in edit mode). It's forbidden to put/take money in/out for a bank
statement which is not open.

opw:647631
2015-09-08 13:16:02 +02:00
Olivier Dony 222c7308fe [FIX] js assets: date comparison using wrong types 2015-09-08 12:58:47 +02:00
Cédric Pigeon 20b5e0a4ab [ADD] base: test to check too long table aliases
Test for rev. 11f538fae6
2015-09-08 11:53:29 +02:00
Thomas Rehn 11f538fae6 [FIX] expression: table alias reaching 64 characters limits
Postgresql has a limit of 64 characters for tables, columns names
as well as for aliases names.

When generating an alias name, e.g. for group by and order
by clauses, if the alias is longer than 64 characters,
use hashing to force the alias length to be within this
64 chars limit.

Fixes #8094
Closes #8142
2015-09-08 11:53:18 +02:00
Denis Ledoux 64e44c0a24 [IMP] base: tests, move patch_order to TransactionCase
In order to be able to redefine simply the order
of a model for testing purposes,
without having to re-define this method in each test class.
2015-09-08 11:53:18 +02:00
Nicolas Lempereur 1c4049463d [WIP] im_livechat: typo in controller arguments 2015-09-08 11:50:03 +02:00
Olivier Dony dfcc8f1b69 [FIX] js assets: prevent __last_update field name-mangling 2015-09-08 11:49:06 +02:00
Damien Bouvy 93ef96bda4 [FIX] payment: old field name replaced by many2one 2015-09-08 11:35:10 +02:00
Nicolas Lempereur 9c239cce3f [FIX] assets: typo prevents JS assets caching
Introduced by 522fcacb21
2015-09-08 10:53:35 +02:00
Fabien Pinckaers 87236b770b [IMP] Stock planner improvement 2015-09-08 10:44:08 +02:00
Damien Bouvy d052063b04 [IMP] project: planner data
the link to the Apple app store was missing and the other links were bogus
These link now send to the odoo.com website with some GET parameters; that way we can redirect from our end to the correct app
2015-09-08 10:36:02 +02:00
Goffin Simon bbd15cdca6 [FIX] resource: interval_get_multi
To compute the intervals of working time, the function interval_get_multi
used 'hour_to' and 'hour_from' from "resource.calendar.attendance" model. 'hour_to'
and 'hour_from' are not in UTC timezone. All the dates in odoo are compared in UTC.
Then 'hour_to' and 'hour_from' must be converted.
To take into account the minutes in this computation, the minutes from the start date
are added in the variable todo (number of working hours).

opw:648349
2015-09-08 10:08:45 +02:00
Shivam Dudhat adac73c337 [FIX] event_sale : resolve traceback due to wrong domain 2015-09-08 09:38:36 +02:00
Mohammed Shekha bdb24b4077 [FIX]website_event_track: Fixed the issue of breadcrumb disappears when coming from frontend to backend 2015-09-08 09:38:28 +02:00
Mohammed Shekha 93139be120 [FIX]hr_recruitement: Fixed the issue counter not displayed on Applications button in hr.job form, job_id is many2one field so its value will tuple of (id, value), so it should be 0th element of tuple as ID of dict 2015-09-08 09:38:01 +02:00
Jérome Maes 1addd02390 [FIX] lunch : do not display empty alert on form view 2015-09-08 09:37:53 +02:00
Fabien Pinckaers 22b2c02bf3 [IMP] accounting planner intro 2015-09-08 09:31:17 +02:00
Fabien Pinckaers a39cec7ae8 [FIX] planner typo 2015-09-08 09:12:11 +02:00
Goffin Simon 19a523ff64 [FIX] website_sale: product attribute line
In e-commerce, on a product page. If the product has some attributes
("product.attribute.line" model), the display of these attributes must
respect the sequence defined in:
Sales > configuration > products > attributes("product.attribute" model)

opw:648634
2015-09-08 09:11:11 +02:00
Antoine Huvelle 79822ed30a [IMP] account_cancel: "Reset to draft" on cash registers
Complement of the fix 6f355623f0
Adds the button for cash registers as well since the base view is
different than the one for bank statements.

Closes #8410
Closes #8342
2015-09-08 08:11:29 +02:00
Julien De Coster 008fe7e836 [DEL] mass mailing: themes images 2015-09-07 20:06:34 +02:00
Bhavik Bagadiya d5ded74137 [IMP] hr_holidays: usability improvements
- New calendar dashboard with the leaves of every employee
- New "Leaves to Approve" menu with to-approve department leaves
- Renamed and reorder menus

Odoo Task 12913
Closes #7292
2015-09-07 18:28:09 +02:00
Yannick Tivisse 336ec38cfa [IMP] stock: Remove group locations on the Qty On Hand stat button 2015-09-07 18:25:52 +02:00
Yannick Tivisse 6043a56ce8 [IMP] project: Rename 'planner' by 'implementation guide' 2015-09-07 18:25:52 +02:00
Yannick Tivisse 49739facfc [IMP] web: Rename 'More' button into 'Action' 2015-09-07 18:25:51 +02:00