Dikshit Prajapati [Thu, 30 Oct 2014 12:38:54 +0000 (18:08 +0530)]
[IMP] sale & sale_stock : removed 'Enable Invoicing Sales order lines' group from user setting and 'Generate invoices based on the sales order lines' group from sale setting.
fwi-odoo [Thu, 9 Oct 2014 07:19:58 +0000 (09:19 +0200)]
[IMP] crm: added reason for loosing opportunities
Dikshit Prajapati [Mon, 20 Oct 2014 09:50:32 +0000 (15:20 +0530)]
[IMP] mass_mailing: add creation date in fields
to display it on list view + perform search on it.
Thibault Delavallée [Fri, 14 Nov 2014 09:46:57 +0000 (10:46 +0100)]
[FIX] hr_holidays: fix virtual remaining leaves computation.
Now only validated allocation requests are taken into account
when computing the number of virtual remaining leaves (leaves
+ pending leaves). This avoid creating allocation request to
have virtual remaining leaves artificially added.
Thibault Delavallée [Fri, 14 Nov 2014 09:21:31 +0000 (10:21 +0100)]
[FIX] website_forum: fix broken forum activation email due to the migration to the new API.
Next step: write tests. Hooray.
Thibault Delavallée [Thu, 13 Nov 2014 16:32:39 +0000 (17:32 +0100)]
[FIX] crm: fixed bug in m2m between sales teams and stages introduced
when cleaning the models. The m2m table name is different when defined
in sales_team or in stages, leading to a quie strange behavior.
Géry Debongnie [Thu, 13 Nov 2014 14:02:42 +0000 (15:02 +0100)]
[FIX] fix bouncing issue in form view (web client)
the buttons edit and create have been ungrouped recently. As a
side effect (of course), the bouncing effect in form view is broken.
This should hopefully fix the issue without introducing any other
problems :/
Jeremy Kersten [Thu, 13 Nov 2014 13:51:43 +0000 (14:51 +0100)]
[FIX] website_forum: fixes
[FIX] website_forum: escape the tags from post at texttext rendering
[FIX] website_forum: jquery is not already loaded
[FIX] website_forum: use uid from session because WebsiteForum object has no attribute '_uid'
Thibault Delavallée [Thu, 13 Nov 2014 10:45:21 +0000 (11:45 +0100)]
[IMP] hr_recruitment: applicant kanban customization
- stage model: add field holding the eventual star (priority) management
+ updated applicant kanban view
Thibault Delavallée [Thu, 13 Nov 2014 10:28:33 +0000 (11:28 +0100)]
[IMP] crm: kanban customization
- stage model: add field holding the eventual specific legends for kanban
tates and star (priority) management
- crm.lead kanban: use kanban column using group_by_tooltip
- update data and demo data
Thibault Delavallée [Fri, 31 Oct 2014 13:02:40 +0000 (14:02 +0100)]
[IMP] project: kanban customization
- stage model (project.task.type): add fields holding the eventual specific
legends for kanban states and star (priority) management
- project: task now have labels; you may use project to hold trainings
instead of tasks.
- project form: use label field on tasks statinfo to use the label
- project.task form: use kanban state customization using states_legend option;
- project.task kanban: use kanban column and kanban state cuztomization
using group_by_tooltip and states_legend options
- project_issue: issues now have labels, like tasks.
- issue: same kanban custo as for tasks
- update data and demo data
[IMP] web: statinfo widget now take an optional label_field option allowing
to have strings coming from another field present in the form view
Jérome Maes [Thu, 13 Nov 2014 10:28:13 +0000 (11:28 +0100)]
[FIX] im_chat : fix undefined functions (momentjs and im_chat.js)
Christophe Simonis [Wed, 12 Nov 2014 18:47:04 +0000 (19:47 +0100)]
[MERGE] forward port of branch 8.0 up to 83bd9ee
Christophe Simonis [Wed, 12 Nov 2014 18:25:50 +0000 (19:25 +0100)]
[FIX] account: give "Invoice" users access to "Invoice Analysis" Report.
This access is required in order to display the amount invoiced on partner form
Olivier Dony [Wed, 12 Nov 2014 17:50:38 +0000 (18:50 +0100)]
[FIX] account.invoice report: show customer description of payment term
The payment term description (note) is meant
to be shown to customers. Restore it in the
default invoice report, as it was in 7.0.
If empty, assume the payment term is meant
to be hidden from customer, and do not show
anything.
By default the description includes the name
of the payment term, so no need to keep both.
Géry Debongnie [Wed, 12 Nov 2014 14:16:55 +0000 (15:16 +0100)]
[FIX] prevent crash when searching strings (addon web)
with the switch to moment.js, the way dates are parsed has changed,
and the autocompletion should be adapted to ignore invalid dates.
rba-odoo [Mon, 23 Jun 2014 11:05:05 +0000 (16:35 +0530)]
[IMP] *: kanban custom CSS removal
Denis Ledoux [Wed, 12 Nov 2014 11:18:26 +0000 (12:18 +0100)]
[FIX] stock: do not try to upper undefined picking name
opw-617750
Yajo [Fri, 7 Nov 2014 12:54:49 +0000 (13:54 +0100)]
[FIX] crm: Pending calls are also "To Do"
hiekmann [Mon, 10 Nov 2014 16:17:07 +0000 (16:17 +0000)]
[FIX] payment_*: typo, cliking -> clicking
Géry Debongnie [Wed, 12 Nov 2014 08:36:26 +0000 (09:36 +0100)]
[FIX] UI fix: ungroup 'edit' and 'create' (web client)
ungroup these buttons in form view.
Géry Debongnie [Fri, 7 Nov 2014 08:46:11 +0000 (09:46 +0100)]
[FIX] add scrollbar to filters menu if needed (web client)
the filters menu can quickly grow if the user adds many conditions.
Once it grows out of the screen, the lower buttons can not be reached
anymore. This patch adds a vertical scrollbar to fix this issue. It
has to use some javascript to update its max-height property.
Frederic van der Essen [Tue, 11 Nov 2014 18:32:52 +0000 (19:32 +0100)]
[FIX] point_of_sale: use 'Product Price' decimal precision for product prices
Frederic van der Essen [Tue, 11 Nov 2014 17:00:24 +0000 (18:00 +0100)]
[FIX] point_of_sale: some pos order fields were missing the proper decimal precision
Frederic van der Essen [Tue, 11 Nov 2014 16:41:20 +0000 (17:41 +0100)]
[FIX] point_of_sale: decimal precision was hardcoded to 2 in various places
Frederic van der Essen [Tue, 11 Nov 2014 15:18:27 +0000 (16:18 +0100)]
[FIX] point_of_sale: correctly handle the rounding when the unit's rounding is set to zero
Olivier Dony [Mon, 10 Nov 2014 15:20:23 +0000 (16:20 +0100)]
[FIX] website_forum: avoid access error when closing spam/abuse questions
Logging the user login is not necessary, but
accessing it might cause access errors. Logging
the UID is equivalent anyway, so let's not bother.
Olivier Dony [Mon, 10 Nov 2014 14:05:19 +0000 (15:05 +0100)]
[FIX] /web/binary/{image,saveas}: use request.registry instead of deprecated `request.session.model`
This makes the controllers work also for
public users, e.g. in the frontend.
Frederic van der Essen [Mon, 10 Nov 2014 10:46:46 +0000 (11:46 +0100)]
[FIX] point_of_sale: when loading models with a specified id, use read instead of search_read, to prevent inactive records from being skipped
Simon Lejeune [Mon, 10 Nov 2014 10:49:02 +0000 (11:49 +0100)]
[FIX] Packaging: Debian: ignore root Makefile
Commit
388732dfa6a1 introduced a makefile at the root of the project, and
dh_auto_build is using this file instead of setup.py. Explicitely tell
debhelper to not use the makefile.
Commandant Custo [Sun, 9 Nov 2014 09:01:13 +0000 (10:01 +0100)]
[FIX] stock_picking_wave: Missing _description
Martin Trigaux [Fri, 7 Nov 2014 16:39:57 +0000 (17:39 +0100)]
[FIX] account: recompute date_due
Add on_change to recompute the due date when the invoice date is modified (it was only done when modified the partner_id field
Fixes #3413
Fabien Meghazi [Thu, 9 Oct 2014 15:29:43 +0000 (17:29 +0200)]
[REM] Removed QWebContext.templates cache
Now rely solely on ir.ui.view#read_template()'s orm cache
Fabien Meghazi [Fri, 7 Nov 2014 15:07:54 +0000 (16:07 +0100)]
[ADD] ir.qweb FileSystemLoader
Xavier Morel [Fri, 7 Nov 2014 13:42:33 +0000 (14:42 +0100)]
[ADD] doc: guide to the new API
Raw API documentation is not sufficient for people to learn the working
principles of the API, especially when they already know the old one. And some
things have changed since the opendays so the presentations don't reflect the
current state of affairs.
Closes #3483
Thibault Delavallée [Fri, 7 Nov 2014 13:30:37 +0000 (14:30 +0100)]
[FIX] view_form: kanban selection widget: fixed issue of binding on this instead of self
Nick Booker [Fri, 7 Nov 2014 13:25:04 +0000 (14:25 +0100)]
[REF] account_anglo_saxon: refactor anglo saxon move lines
So that we can customise the real-time stock journal items made during sale invoice postings for certain companies who account for it slightly differently.
Géry Debongnie [Fri, 7 Nov 2014 13:21:01 +0000 (14:21 +0100)]
[FIX] kanban view background is correctly set (web_kanban)
the .oe_background_grey class only changed part of the kanban background
when it was scrolled. This makes sure that the full table has a grey
background.
Xavier Morel [Fri, 7 Nov 2014 13:13:15 +0000 (14:13 +0100)]
[FIX] allow word wrapping in stripe-style code examples
Xavier Morel [Fri, 7 Nov 2014 13:00:49 +0000 (14:00 +0100)]
[ADD] ZeroClipboard-based "copy" button on snippets
Also fix ruby setup code, some of its bits were actually Python and didn't
quite work when pasted into irb...
Thibault Delavallée [Fri, 7 Nov 2014 12:08:40 +0000 (13:08 +0100)]
[FIX] kanban: fixed condition evaluation when reading stage data: ensure you are grouping on a m2o, fixed condition
Denis Ledoux [Fri, 7 Nov 2014 11:34:04 +0000 (12:34 +0100)]
[FIX] mail: _fields['type'].selection is a callable
This revert partially the rev.
f2e4a10e1a58c932f9a989e642771f5ae75d756a
File "/home/odoo/src/odoo/8.0/addons/mail/mail_mail.py", line 76, in default_get
if context and context.get('default_type') and context.get('default_type') not in self._fields['type'].selection:
TypeError: argument of type 'function' is not iterable
Christophe Matthieu [Thu, 6 Nov 2014 17:09:52 +0000 (18:09 +0100)]
[FIX] mrp: The attribute on bom lines is not filtered in function of the selected product template
Christophe Matthieu [Thu, 6 Nov 2014 17:44:19 +0000 (18:44 +0100)]
[FIX] product: name_get of product.attribute.value
name was confusing for bom and product if the value of the attribute is display without the attribute name
added key in context to keep the previous behaviour (e.g. in product view where the attribute name is present)
Thibault Delavallée [Fri, 31 Oct 2014 10:48:03 +0000 (11:48 +0100)]
[IMP] kanban, web: kanban tooltips and kanban states tooltips improvements.
Kanban and form view kanban selection widgets can now be dependent of the
current stage of the record. The displayed legend can be taken directly
from the stage instead of the field selection values.
- added states_legend option on kanban selection widget for kanban and form
view: used to change the selection displayed value by a value coming from the
record given by group_by (kanban) / states_legend_field (form view). This allows
customizing the kanban selection widget depending on stages.
Improved the tooltip of kanban groups customization by improving the first
implementation of group_by_tooltip parameter in kanban view declaration.
This is done by adding some options and improving the first (still not
used) implementation:
- added group_by_tooltip option on field used to group on kanban view. Its
values is a collection of fields on the record used to group. The tooltip of
the group header will be the text formed from those fields values, allowing
custom tooltips for different kanban columns.
- now all data of the kanban columns are fetched in one call instead of doing
one call for each column. The various fields to read are collected by
introspecting the view definition.
Future commits will aim at using those features various addons, notably
in recruitment, project and crm.
Xavier Morel [Fri, 7 Nov 2014 10:27:37 +0000 (11:27 +0100)]
[IMP] doc-ws: prepend setup code when copying from a snippet
David Monjoie [Thu, 6 Nov 2014 12:20:44 +0000 (13:20 +0100)]
[FIX] product: pricelist shouldn't convert uom when not needed or incompatible uom types
Otherwise the Search More view will crash for example for sale order line because it will fetch the price of all products and then try to convert uoms for pricelist rule application without checking uom compatibility
Martin Trigaux [Thu, 6 Nov 2014 17:05:28 +0000 (18:05 +0100)]
[FIX] project: access task without project
Allow access to task without a project defined if the user is follower.
Fixes #3450
Raphael Collet [Thu, 6 Nov 2014 15:16:00 +0000 (16:16 +0100)]
[FIX] models: do not copy translations of fields that are not copied
Fixes #3272.
Raphael Collet [Thu, 6 Nov 2014 15:00:58 +0000 (16:00 +0100)]
[FIX] fields: fix the translations of the labels of inherited fields
Denis Ledoux [Thu, 6 Nov 2014 15:30:33 +0000 (16:30 +0100)]
[MERGE] forward port of branch saas-3 up to c8df9fc
Denis Ledoux [Thu, 6 Nov 2014 15:30:00 +0000 (16:30 +0100)]
[MERGE] forward port of branch 7.0 up to ae99a93
Denis Ledoux [Thu, 6 Nov 2014 15:26:32 +0000 (16:26 +0100)]
[FIX] web: many2many_binary widget upload
once widget extended with ReinitializeFieldMixin, the event binding with the binary file input and the on_file_change method can be done in initialize_content instead of start
This fix is related to
d36c8b5c9bf7ab9215bc63db6ee49bec5e5b225b
Frederic van der Essen [Thu, 6 Nov 2014 15:02:50 +0000 (16:02 +0100)]
[IMP] point_of_sale: add a zero default margin when printing a receipt from the browser.
Martin Trigaux [Thu, 6 Nov 2014 14:32:57 +0000 (15:32 +0100)]
[FIX] calendar: gantt view argument
There is no 'date' field.
Fixes #3496
Torvald B. Bringsvor [Wed, 5 Nov 2014 22:55:50 +0000 (23:55 +0100)]
[FIX] account_voucher: multicompany compatibility
When the company or the journal is changed, change the period accordingly to make sure to always keep coherant values.
Denis Ledoux [Thu, 6 Nov 2014 14:03:43 +0000 (15:03 +0100)]
[MERGE] forward port of branch saas-3 up to 22f2728
Denis Ledoux [Thu, 6 Nov 2014 13:56:45 +0000 (14:56 +0100)]
[MERGE] forward port of branch 7.0 up to d36c8b5
Denis Ledoux [Thu, 6 Nov 2014 13:49:25 +0000 (14:49 +0100)]
[FIX] web: FieldMany2ManyBinaryMultiFiles must extend ReinitializeFieldMixin
The add attachment button should be displayed while being in edit mode, but not in view mode
As the widget depends on the form actual mode, the widget should be re-rendered each time the actual mode changes
This is the point of the ReinitializeFieldMixin class
Géry Debongnie [Fri, 31 Oct 2014 14:25:02 +0000 (15:25 +0100)]
[IMP] various improvements to the action manager (web client)
* add a replace_breadcrumb option to actionmanager
* correctly calls on_reverse_breadcrumbs when needed
* add a semi-protected way to manipulate breadcrumbs (get_widgets)
* calls do_show when changing widgets
celm1990 [Fri, 31 Oct 2014 01:54:34 +0000 (20:54 -0500)]
[FIX] fix wrong filter in search view (account/sale)
the field section_id is created in addon sale, but used in the account
reporting views. This commit moves the search view definition
in the correct file.
Julien Legros [Thu, 6 Nov 2014 10:47:38 +0000 (11:47 +0100)]
[FIX] account_asset: moves should use the depreciation line date
Raphael Collet [Thu, 6 Nov 2014 08:59:41 +0000 (09:59 +0100)]
[IMP] fields: improve _determine_default() and add test for inherited fields
Simon Lejeune [Wed, 5 Nov 2014 17:47:14 +0000 (18:47 +0100)]
[FIX] ir_qweb: css asset: use which to find lessc and sass
Also, use lessc.cmd instead of lessc on Windows. It allows to run
lessc command with only nodejs and the less module (no cygwin).
Xavier Morel [Thu, 6 Nov 2014 10:42:02 +0000 (11:42 +0100)]
[FIX] doc: guides section was removed, move CDN to reference
Cedric Snauwaert [Thu, 6 Nov 2014 08:53:00 +0000 (09:53 +0100)]
[FIX] purchase_requisition: field date_start does not exist on purchase_requisition model so we should not use it in filters
fixes #2838
Christophe Simonis [Wed, 5 Nov 2014 20:49:01 +0000 (21:49 +0100)]
[MERGE] forward port of branch 8.0 up to c825d05
Christophe Simonis [Wed, 5 Nov 2014 20:46:42 +0000 (21:46 +0100)]
[MERGE] forward port of branch saas-3 up to ec27773
Christophe Simonis [Wed, 5 Nov 2014 20:38:03 +0000 (21:38 +0100)]
[MERGE] forward port of branch 8.0 up to 87dcaa9
Miku Laitinen [Sun, 2 Nov 2014 12:25:15 +0000 (14:25 +0200)]
[FIX] project: missing translations
The labels for fields 'use_tasks', 'partner_id', 'date_start' had no valid string (autogenerated or unrelated).
Make the selections of the field privacy_visibility translatable.
Fixes #3435
Frederic van der Essen [Wed, 5 Nov 2014 20:17:12 +0000 (21:17 +0100)]
[IMP] point_of_sale: add product description and product sale description to the search engine
Christophe Simonis [Wed, 5 Nov 2014 20:10:15 +0000 (21:10 +0100)]
[MERGE] forward port of branch 7.0 up to 3e3e35e
Christophe Simonis [Wed, 5 Nov 2014 18:17:02 +0000 (19:17 +0100)]
[FIX] web,web_kanban: correct radial-gradient usage
Christophe Simonis [Wed, 5 Nov 2014 19:47:21 +0000 (20:47 +0100)]
[FIX] website_forum: typo introduced during last forward-port
Christophe Simonis [Wed, 5 Nov 2014 19:30:40 +0000 (20:30 +0100)]
[MERGE] forward port of branch 8.0 up to 491372e
Christophe Simonis [Wed, 5 Nov 2014 18:34:53 +0000 (19:34 +0100)]
[MERGE] forward port of branch saas-3 up to d36eee9
Frederic van der Essen [Wed, 5 Nov 2014 19:02:49 +0000 (20:02 +0100)]
[FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen
Christophe Simonis [Wed, 5 Nov 2014 18:34:18 +0000 (19:34 +0100)]
[MERGE] forward port of branch 7.0 up to 65d92da
Christophe Simonis [Wed, 5 Nov 2014 18:15:14 +0000 (19:15 +0100)]
[IMP] *: one Makefile to rules them all.
Create one unique generic Makefile to compile sass files.
Olivier Dony [Wed, 5 Nov 2014 18:09:23 +0000 (19:09 +0100)]
[FIX] base: incorrect code and locale for Bosnian
Stems from prebiblical commit f083aa2.
Fixes #3480
Christophe Simonis [Wed, 5 Nov 2014 18:00:51 +0000 (19:00 +0100)]
[MERGE] forward port of branch saas-3 up to 48ffbb6
Christophe Simonis [Wed, 5 Nov 2014 17:58:07 +0000 (18:58 +0100)]
[MERGE] forward port of branch 7.0 up to cb91966
Julien Legros [Wed, 5 Nov 2014 17:24:40 +0000 (18:24 +0100)]
Fabien Meghazi [Wed, 5 Nov 2014 16:44:54 +0000 (17:44 +0100)]
Merge pull request #2350 from odoo-dev/master-momentjs-csn
Replace datejs by momentjs
Christophe Simonis [Wed, 5 Nov 2014 15:12:38 +0000 (16:12 +0100)]
[FIX] website: correct padding of footer
Lionel Sausin (Numérigraphe) [Fri, 31 Oct 2014 13:21:14 +0000 (14:21 +0100)]
[IMP] sale_order_dates: quotation views (backport of b5e9e11)
Add the same fields on the quotation tree view than on the sale order tree view.
Julien Legros [Wed, 5 Nov 2014 16:38:50 +0000 (17:38 +0100)]
[FIX] account_asset: asset depreciation should use the correct dates
fix
a5cf71973916f3e9b6ea578a614c76b0b34689d8
Antony Lesuisse [Wed, 5 Nov 2014 16:25:41 +0000 (17:25 +0100)]
[IMP] safe_eval allow math
Xavier Morel [Wed, 5 Nov 2014 16:12:46 +0000 (17:12 +0100)]
[FIX] doc: typo missed when merging contribution
Lionel Sausin (Numérigraphe) [Fri, 31 Oct 2014 13:21:14 +0000 (14:21 +0100)]
[IMP] sale_order_dates: quotation views
Add the same fields on the quotation tree view than on the sale order tree view.
Olivier Dony [Wed, 5 Nov 2014 13:28:59 +0000 (14:28 +0100)]
[FIX] longpolling/gevent: automatically restart worker when killed
Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.
Olivier Dony [Wed, 5 Nov 2014 13:36:19 +0000 (14:36 +0100)]
[FIX] longpolling/gevent: log errors occurring in main loop
Olivier Dony [Tue, 4 Nov 2014 18:03:17 +0000 (19:03 +0100)]
[FIX] forum: closing spam/offensive questions should give author karma penalty
This is a partial patch for issue #3460, pending more
improvements and refinements in master.
Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.
Julien Legros [Wed, 5 Nov 2014 15:56:44 +0000 (16:56 +0100)]
[FIX] account_asset: move lines should use the depreciation line date
opw-616843
hiekmann [Wed, 5 Nov 2014 11:54:10 +0000 (11:54 +0000)]
[IMP] doc: various improvements to website tutorial
closes #3476
closes #3477
closes #3479
Martin Trigaux [Wed, 5 Nov 2014 14:49:15 +0000 (15:49 +0100)]
[IMP] account: (over)due payments report
The report includes all due payments, not only the one after the maturity date.
The maturity date is displayed in the report so no confusion is possible for payments below the maturity date.
Fixes #3064
Fabien Meghazi [Wed, 5 Nov 2014 12:42:06 +0000 (13:42 +0100)]
[FIX] python strftime to moment.js format conversion
Cedric Snauwaert [Wed, 17 Sep 2014 08:55:29 +0000 (10:55 +0200)]
[FIX] web: normalize_format was not correctly taking into account whatever char added at the end of the server date format
Cedric Snauwaert [Tue, 16 Sep 2014 07:55:01 +0000 (09:55 +0200)]
[FIX] web: remove lazy load of datejs locale
Cedric Snauwaert [Mon, 15 Sep 2014 09:10:20 +0000 (11:10 +0200)]
[FIX] web: fix remarks from pr