Commit Graph
94093 Commits
Author SHA1 Message Date
Thibault Delavallée f12c61cb0e [FIX] website_forum: typos and wording in field labels 2015-03-02 16:35:30 +01:00
Thibault Delavallée 0e924744a5 [FIX] website_forum: added a forgotten required on post_type on the
post model. Indeed a post is a question, a link or a discussion and cannot be
something else.

Added constraints to avoid having posts that do not match the accepted types
on the forum; and to avoid having forums having a default post type not
matching the accepted ones.
2015-03-02 16:35:30 +01:00
Jérome Maes 6dd144aae1 [FIX] project : fix kanban view 2015-03-02 16:17:51 +01:00
Jérome Maes bc1bcfd5ff [FIX] rating_project_issue : fix domain in view for stat button. Add help tooltip on field 'is_visible_happy_customer' 2015-03-02 16:17:51 +01:00
Jérome Maes e11ed3f01c [FIX] project : issue_ids field should contains only the open issues. Closed issues are interesting for reporting, not for today job. A issue is closed when its stage is fold. this implies changes in rating : a search is required to find issue of the current project. This may introduce performance issue in a case of big data. Create a custom request is a too important change in a stable version. 2015-03-02 16:17:51 +01:00
David Monjoie 1e8932f769 [IMP] website: extracted language selector in its own template
It is a technical part of the website, it actually acts like a "Language Widget", I don't see any good reason to not extract it into its own template.
I needed this for a designer who wanted to move the language selection elsewhere, and I realized it was not already in its own template. Worse, we already had a duplication of this content in our own module!
I need this in saas-6 to get rid of the actual third duplications of this content which exists in 8.0 (counting the theme).
2015-03-02 14:09:55 +01:00
Christophe Simonis a8a9265340 [FIX] website: backend html widget: only use an iframe if field is not readonly 2015-03-02 13:43:52 +01:00
Christophe Simonis 93194c8260 [MERGE] forward port of branch 8.0 up to 128de18 2015-02-27 17:23:49 +01:00
Christophe Simonis 128de187a3 [FIX] web: KanbanSelection and Priority widgets
Use directly datarecord id instead of previously stored value which may
not be up to date.
2015-02-27 17:18:06 +01:00
Samus CTO fb285d8695 [FIX] prevent unneeded chmod datadir, but check writable 2015-02-27 17:16:16 +01:00
Christophe Simonis 1abe1eac87 [MERGE] forward port of branch 8.0 up to e6396de 2015-02-27 16:00:04 +01:00
Christophe Simonis e6396deb4e [IMP] models: log source when "Comparing apples and oranges" 2015-02-27 15:57:13 +01:00
Denis Ledoux b11c49d6f6 [FIX] sale: sales team amount invoiced exclude purchases
This is possible to assign a sales team to a supplier invoices
Supplier invoices must be rejected in the invoiced count
of sales team (in the kanban view of sales team).

The invoiced amount must be the customer invoices amount minus
the customer refund invoices amount

opw-629105
2015-02-27 15:44:40 +01:00
Xavier Morel 4bd2ee1aaa [FIX] undefined variable
Variable was added to an error message, then inlined in only one of the
two callsites. Undefined variable error would only appear when an error
is triggered in the actual (postgres-level) backup call.

inserted in ec9a543

fixes #5241
2015-02-27 15:07:15 +01:00
Xavier Morel 68f14c6870 [FIX] handling of big fields in CSV
fixes #2742
2015-02-27 14:11:21 +01:00
vnsofthe 05905b794e [FIX] mrp: xmlid of Manufacture route
Is present in mrp and not stock module.
2015-02-27 17:57:50 +05:30
vnsoft 816faf133b Sign CLA agreement for vnsofthe 2015-02-27 17:57:50 +05:30
Toilal 2e9e100d20 [FIX] Packaging: include all files from scaffold templates in MANIFEST.in
closes #5393
2015-02-27 12:04:08 +01:00
Simon Lejeune eaf25908f1 Merge pull request #5495 from leorochael/8.0
Avoid pip re-downloading PyChart
2015-02-27 10:24:34 +01:00
Leonardo Rochael Almeida 12e7d80273 Declare PyChart package name in requirements.txt
While calling `pip install -r requirements.txt`, the PyChart tarball is
always downloaded even if `pip` has a download cache configured (which
it does by default in later versions).

This is because `pip` has no way of knowing which package the PyChart
tarball contains before downloading and running its `setup.py`.

By declaring the PyChart "egg" in `requirements.txt` the tarball is no
longer downloaded if it's already in the download cache.
2015-02-26 16:28:47 -03:00
Leonardo Rochael Almeida 9e62efc8fb [CLA] Leonardo Rochael Almeida 2015-02-26 16:28:47 -03:00
Christophe Simonis 109dae2efa [MERGE] forward port of branch 8.0 up to d4f41a1 2015-02-26 18:56:26 +01:00
Markus Schneider daf16c2abc add CLA for initOS 2015-02-26 18:07:43 +01:00
Christophe Simonis f6d32a9fe9 [FIX] website_quote: use a copy of the context. 2015-02-26 17:59:14 +01:00
Denis Ledoux d4f41a18a6 [FIX] sale: sales count button on variants
The button was no more redirecting to the
sales order lines list view,
following a distraction error introduced during 68b8286d5f
2015-02-26 17:39:47 +01:00
Denis Ledoux 25bf2674d5 [FIX] web: prevent set value of priority if readonly
The priority widget did not handle the readonly concept
It was therefore possible to set the priority of
an issue (for instance) even if the field was marked
as readonly.

opw-628960
2015-02-26 17:21:10 +01:00
Jérome Maes f6ddf1a617 [FIX] hr: employee kanban alignment style 2015-02-26 16:41:30 +01:00
Jérome Maes 8ab68d8048 [FIX] web : fix the dropdown style to delete attachments 2015-02-26 16:41:29 +01:00
Jérome Maes d169e6f935 [FIX] im_livechat : remove the cookie when close anonymous conversation, and prefix image link by server url in template 2015-02-26 16:41:29 +01:00
David Monjoie 5f45e7ca96 [FIX] hr_timesheet_sheet: properly unlink timesheets when deleting a timesheet_sheet
Adaptation of https://github.com/acsone/odoo/commit/afe4a97d037b4075c8cd0514b6d1b829e1208629, but we properly unlink the timesheet lines themselves instead of going for the account.analytic.lines like the original commit proposition did. Actually, the unlink method of hr.analytic.timesheet already unlinks the corresponding acount.analytic.line, but those records were previously deleted via ondelete='cascade', which didn't trigger the unlink method at all, so the associated analytic lines were not deleted accordingly.
Fixes opw 628256.
2015-02-26 16:18:08 +01:00
Daniel Kraft 51f61ed23d [ADD] D9T GmbH CLA
closes #5433
2015-02-26 16:15:50 +01:00
Aaron Bohy efb3de5034 [FIX] Web: ListView and ListView.Groups: pagers
* Fixes the pager on grouped list views for which there was no
  specific behavior (except of doing +1 or -1) for next and previous
  actions on last and first pages respectively.
* Hides the previous and next buttons of the main pager on grouped list
  views as these buttons have no effect in grouped mode.
2015-02-26 15:36:36 +01:00
Christophe Simonis f0dc416871 [FIX] phantomjs 2.0 compatibility
phantomjs 2.0 remove the deprecated attribute `phantom.args`. Use the
new `system` module.
2015-02-26 15:08:17 +01:00
Goffin Simon f99cea5f69 [FIX] versioning: override read_group in Experiment to always display all Experiment states. 2015-02-26 15:02:04 +01:00
Olivier Dony 05bbe78d87 [FIX] product.product: name_search() must preserve natural order
The natural order was discarded when merging results with a set,
and this was actually un-necessary as the second search()
excludes the previously found `ids`.
2015-02-26 14:03:05 +01:00
Olivier Dony bf31ab6718 [FIX] product.template: name_search compatibility with product.product
In the rare places with a m2o field to product.template
(e.g BoMs), it is necessary to be able to search on product
codes, EAN, etc, the way it works on product.product.
This is done by delegating the name_search to product.product
and then returning the corresponding templates.
This has a small penalty of executing name_get() twice,
but is simpler and more robust for future changes.

An alternative would have been to extract the name_search()
method into a mixin and mix it on both product.product and
product.template. However this would be more brittle and
only work as long as the name_search implementation strictly
uses fields that are present in both tables.

OPW 626662
2015-02-26 14:03:05 +01:00
Christophe Simonis faad625a45 [FIX] account: set group on view instead of *in* view 2015-02-26 12:05:57 +01:00
Xavier Morel e700805a43 [FIX] ws doc: language switcher in some iOS versions 2015-02-26 11:47:07 +01:00
Thibault Delavallée e332b2bb20 [FIX] view_form, web_kanban: KanbanSelection widget in form and kanban: tooltip
now takes the stage custom tooltip if present, like the selection
value, instead of the default one.
2015-02-26 10:47:47 +01:00
Vijay Baladaniya 10a1d44389 [FIX] Change the target_version for anonymization.
Fixed #5476
2015-02-26 10:30:01 +01:00
Thibault Delavallée 6d9e0c071c [FIX] website_quote: wording in tips. 2015-02-26 10:23:43 +01:00
Thibault Delavallée 73103b0545 [FIX] project: fixed typos / wording in helps / tooltips. 2015-02-26 10:21:09 +01:00
Raphael Collet 0c1b95d824 Merge pull request #5439 from guewen/test-inherits-3-levels
Reload fields of parent inherits, fixes #5398
2015-02-26 10:06:31 +01:00
Fabrice Henrion e9b391c308 [FIX] base_import: typos
closes #5478
2015-02-26 10:02:45 +01:00
Martin Trigaux c70b17fcbc [FIX] purchase: fixup of 2a37a94, missing rename 2015-02-26 10:16:52 +05:30
Christophe Simonis bc9701a3fd [FIX] sale_stock: correct sale.order report
After 222fcb137b, the main record has
been rename to `doc`.
2015-02-25 19:05:40 +01:00
Jeremy Kersten fcbb825cd0 [IMP] website_forum: replace 'My Profile' by user karma and remove useless code 2015-02-25 18:50:42 +01:00
Denis Ledoux 22acc5d379 [FIX] project_timesheet: retrocompatibility for 73f7a2ba35
It looks like it was possible to pass vals['date']
in date format (!= datetime format) to _create_analytic_entries.

This rev. is a retrocompatible patch for 73f7a2ba35.

In addition, it solves the same issue than the rev.
73f7a2ba35, but in the case the project is
set on the task after the work hours are created.
See ab5ecef476

opw-628729
2015-02-25 18:30:26 +01:00
Martin Trigaux 2a37a94a67 [FIX] purchase: scope of variables is a bitch 2015-02-25 17:03:17 +05:30
Josse Colpaert 37f9459610 [IMP] Return of return should be linked with original destination move should fix #5253
[FIX] Split of return move should keep the returned move

[IMP] Better comment and check for state not cancelled
2015-02-25 12:03:49 +01:00