Commit Graph
106451 Commits
Author SHA1 Message Date
Fabien Pinckaers 41cebc4637 [IMP] sale: quotation email template small fix 2016-11-17 13:42:42 +01:00
Denis Ledoux 4ea356110e [FIX] base: crons Work Days option
As you can see from the code,
choosing "Work days" or "days" as internval
has exactly the same behavior.

Users might nevertheless expect the interval
"work days" option to avoid running the
action on non-working days, such as
Saturdays and Sundays.

It may have been intended, but it never
worked, since revision 1:
https://github.com/odoo/odoo/blob/004a0b996ff8f269451e07346f71a129a1f3fbaf/bin/addons/base/ir/ir_cron.py#L49-L50

opw-693882
2016-11-16 17:05:14 +01:00
hbh 110737b985 [IMP] sale_timesheet: Delivered quantity updated on locked Sales Order while timesheet filled by user 2016-11-16 15:13:29 +01:00
Mansi Trivedi cbb0d472f5 [IMP] sale: Added string for Quotation and Sales orders list view
- Replaced order date by confirmation date in sales order list view
- Added confirmation date in Sales order PDF report when it is not in 'draft' or 'sent' state
- Calculation of expected delivery date should be based on sale order date
2016-11-16 14:44:59 +01:00
Fabrice Henrion 0c0037a398 [IMP] rating_project: grammar wording 2016-11-15 14:59:30 +01:00
qsm-odoo 669336baa9 [REF] web_planner, *: refactor planner code
* Share code between website and backend
* Do not do a [100ms - 500ms] RPC on each app change in the backend
but do it only if the planner is asked to be opened
* Use the Dialog class so that the planner is not broken
* Simplify/optimize code, use standard conventions, lint files, ...
2016-11-15 13:08:59 +01:00
Diep Huu Hoang 6dd921fb76 [IMP] l10n_mv: update CoA
Improve Vietnamese CoA to follow Circular No. 200/2014/TT-BTC

Closes #13679
2016-11-15 09:19:31 +01:00
Fabrice Henrion e8da2d1438 [FIX] hw_posbox_homepage: support contact update
Is not odoo.com/help, no longer an email

Closes #14247
2016-11-14 17:17:11 +01:00
Fabrice Henrion 0d32a44689 [FIX] web_settings_dashboard: typo
Closes #14188
2016-11-14 17:16:32 +01:00
Fabrice Henrion 9f497db575 [FIX] web: wording
unbelgianization
Closes #13881
2016-11-14 17:15:25 +01:00
Fabrice Henrion 4917382f99 [FIX] im_livechat: typo
Closes #13508
2016-11-14 17:14:43 +01:00
Fabrice Henrion b72bb97905 [IMP] delivery: wording
Closes #12546
2016-11-14 17:10:02 +01:00
Fabrice Henrion 07f4948a3a [FIX] payment: correct acquirer text grammar
Closes #14283
2016-11-14 16:41:09 +01:00
Martin Trigaux c5fdfcc59b [FIX] purchase: remove orphan file
Not imported, probably bad merge/forward port
2016-11-14 16:38:22 +01:00
hza 6491a6673e [IMP] mrp: Rename 'Components' filter into 'BoM Components' 2016-11-14 15:43:08 +01:00
Jairo Llopis 4d23595af5 [IMP] mass_mailing: add security token to unsubscription URL
Should prevent rogue unsubscriptions without making the
process more complicated for legit cases.

Closes #12040
2016-11-14 15:34:12 +01:00
qsm-odoo 62cf236fb4 [FIX] website: properly size the default bg for s_big_message
Following commit 9305450508, this commit fixes the
default background size of the bg of the s_big_message snippet.
2016-11-14 13:21:53 +01:00
Yannick Tivisse 8d36bf872a Revert "[IMP] website_sale_delivery: Allow to (un)publish delivery methods from website"
This reverts commit 6d9c59f348.

This commit is breaking the enterprise/master branch because the method _get_delivery_methods takes 5 seconds to be executed with some delivery methods. Now, instead of having 1 delivery method displayed, the admin has all the delivery methods in order to be able to publish/unpublish them. As this method is called for each carrier, the phatom js tour takes more than 15 seconds to display the page /shop/confirm_order in the ecommerce, with is more than the timeout threshold.

I revert this commit while waiting to find a proper solution.
2016-11-14 09:42:00 +01:00
Mansi Gandhi 46be8b30d3 [IMP] sale: Only show the customer address when invoice address and shipping address is same. 2016-11-10 15:13:20 +01:00
Srushti Patel 8553c3f648 [IMP] stock: add tooltips on push and procurement rules
Push and procurement rules are some difficult concepts to understand.

Add some tooltips :

Push Rules tooltip :
When a move is foreseen to a location, the push rule will automatically create a move to a next location after. This is mainly only needed when creating manual operations e.g. 2/3 step manual purchase order or 2/3 step finished product manual manufacturing order. In other cases, it is important to use pull rules where you know where you are going based on a demand.

Procurement Rules :
The demand represented by a procurement from e.g. a sale order, a reordering rule, another move, ... needs to be solved by applying a procurement rule. Depending on the action on the procurement rule, this triggers a purchase order, manufacturing order or another move. This way we create chains in the reverse order from the endpoint with the original demand to the starting point. That way, it is always known where we need to go and that is why they are preferred over push rules.
2016-11-10 13:22:36 +01:00
Haresh Shyara 1ba4fbe640 [IMP] base_import: Improve import preview for related fields
normal mode: Importing only regular/basic fields from source file
advanced mode: Importing any related fields from source file(i.e. if detected pattern in header like '<relational_fieldname>/<fname>')

- Rename following checkbox "Show all fields for completion (advanced)" in "Show fields of relation fields (advanced)"
- If the import file contains a column with a field of a relation field, show the column label in the preview, even if "Show fields of relation fields (advanced)" is not checked > to make it less confusing when importing advanced files (e.g. products with attributes)
2016-11-10 09:44:20 +01:00
Yannick Tivisse a07012fbc2 [IMP] sale: Display currency_id on SO list view for monetary widget 2016-11-09 15:35:32 +01:00
Yannick Tivisse df69b5bb84 [IMP] web: Don't display aggregates in list views for columns with multi-currency records
Purpose:
On a list view (Ex: the invoices list view), if a column is a currency column (Ex: total amount), it makes no sense to display the aggregate (Ex: sum) if the records contains several currencies.

Spec:
Don't display the aggregate of a column if a least two records are in different currencies.
2016-11-09 15:35:21 +01:00
jpr-odoo 9e26d875db [IMP] *: uniformize modals buttons: remove 'oe_link' class and 'or' between buttons 2016-11-09 15:27:01 +01:00
Kishan Gajjar 5a3d0fc3ff [IMP] web: show technical field name in export wizard by hover in debug mode
In export wizard on mouse hover display technical name of field in debug mode
2016-11-09 15:06:12 +01:00
Kishan Gajjar ef9c07b0ef [IMP] calendar: remove create and edit from the calendar 2016-11-09 13:10:13 +01:00
Kinjal Mehta 1e87163801 [IMP] sale: remove form view of sale order lines when coming from product's sales tab 2016-11-09 13:03:14 +01:00
jpr-odoo d6ffaa7622 [IMP] sale_timesheet: fix action going from sale order to project loosing breadcrumb 2016-11-09 12:54:54 +01:00
Dhaval Panchal 6a25aa13de [IMP] web_kanban: show only number of records in kanban columns tooltip
When a column holds more than 40 records tooltip indicates 40/<record_number>.
However this is not really helping. What is interesting is the total number
of records.
2016-11-09 12:03:26 +01:00
fwi-odoo 07e1ad4248 [IMP] website_forum: display 'comment' button under answers correctly
Fix up the commit https://github.com/odoo/odoo/commit/a4b8641e75109ea0251b934a73347e1985186a9b.
When no comment for an answer, the 'comment' button stays aligned with the others.
When there is a comment for an answer, the 'comment' button is under the last comment.
2016-11-09 11:40:06 +01:00
Ankit Joshi b8febebd03 [IMP] website_forum: In Discussion, add a comment 'Post Answer' button should be 'Post Comment', and In Reply 'Post Comment' button should be 'Post Answer'. 2016-11-09 11:40:06 +01:00
Ankit Joshi 4de7f81e8a [IMP] website_forum : In discuss change the label 'Reply' to 'Comment'. 2016-11-09 11:40:06 +01:00
Ankit Joshi f652a9ce34 [IMP] website_forum : if user have not enough 'Karma' then 'Reply' button should be disable, Hide the answer textarea and generate the popup message. 2016-11-09 11:40:05 +01:00
Mansi Gandhi 5cb307170d [IMP] base, auth_signup: rename technical users to avoid confusion
* default user > Default User Template
 * Template User > Portal User Template
2016-11-09 10:48:33 +01:00
Thibault Delavallée fa404dba81 [IMP] project_issue: do not copu kanban state when duplicating an issue 2016-11-09 10:40:36 +01:00
Thibault Delavallée 038c177f3f [IMP] project, project_issue: set default kanban values as color instead of labels
Kanban state values are different from their visual display. When searching
on kanban state it is not easy to understand the link between the label
and the color. We now set the label as the color to ease matching and
searching. However in kanban view labels can be defined on the stage
itself. This way searching is done on the color while working with
tasks and issues in kanban is done using business meaning defined on
the stage.
2016-11-09 10:40:36 +01:00
Yannick Tivisse 327447dbb6 [IMP] project_issue_sheet: Replace dependency from hr_timesheet_sheet to hr_timesheet
Purpose:

What is the purpose of hr_timesheet_sheet ? Because it is installed when you install project_issue_sheet and you have a lot of unnecessary menus + ugly view of timesheet grid. For example in Timesheet menu: My Timesheets, All Timesheets, My Current Timesheets, My Timesheets, Detailed Activities (still timesheets), Timesheet App.
2016-11-09 10:09:49 +01:00
Jérome Maes fe6e6259b5 [IMP] website_*: cleaning in portal
- Extend 'account' method and not '_prepare_layout_values' to add
document count. This avoid useless 'search_count'.
- Make the 'active' page working, by passing 'page_name' to the template
- Uniformize the pages when no document are available
2016-11-09 09:36:19 +01:00
Vipul Bhatt 1cc8252a95 [IMP] website_*: generic filter and sort mecanism for portal documents
website portal now provide mecanism to sort and filter the
paginated document on the portal pages.
All portal module now use this mecanism, like they do for
'archive document' and 'pager'.

A generic template was added in website_portal. To use
it, renaming variables in method controller was required
to make it as generic as possible.

Some style cleaning was also done to make portal pages
consistent.
2016-11-09 09:36:01 +01:00
Géry Debongnie 78dfb01942 [IMP] web: disable selected fields in pivot dropdown
In the pivot view, when the user select a new field to drill down, the
previous dropdown menu displayed all the groupable fields as valid
choice.  This commit disables all the fields that have already been
selected.  It means that they will be greyed out, and inactive in the
UI.
2016-11-08 15:21:37 +01:00
Christophe Simonis 7eb8ed2769 [MERGE] forward port branch 10.0 up to 3d085f6 2016-11-08 15:13:05 +01:00
Christophe Simonis 3d085f632d [MERGE] forward port branch saas-12 up to 6386037 2016-11-08 15:01:20 +01:00
Christophe Simonis 63860373ac [MERGE] forward port branch saas-11 up to c19f546 2016-11-08 14:43:28 +01:00
Christophe Simonis c19f546505 [MERGE] forward port branch 9.0 up to b795755 2016-11-08 14:20:07 +01:00
qsm-odoo 5a030db3eb [REF] website, web_editor: refactor ace editor
Stop using ugly code for ace editor.

* Really close the ace editor by changing its display property thanks
    to the dedicated do_show and do_hide method.
* Make the common part of ace editors (website, web_studio) consistent
    so that the extensions are really small.
* Do not do RPC to retrieve data already retrieved (now, there is only
    one unique RPC when the editor starts an one RPC per view changed
    on save).
* Fix born-dead code so that the website editor starts automatically
    if the URL contains its associated hash and loads the correct view
* Better handle errors (previous behavior only worked partially and
    only on chrome):
    - Jump to the error line and make it red.
    - Do not open a Dialog with mostly incomprehensible message but
        allow to open it on click of the error marker.
    - Do not save any changed file if one contains an error.
    - Do not allow formatting a file if it contains an error (show the
        error instead).
* Do not use different routes to get the same content (remove the
    /website/customize_template_get route as it returns the same
    content as /web_editor/customize_template_get route). Note: in
    a further commit this route will be refactored.
* In a general way, use consistent method names and behaviors /
    comment the code / lint files / ...
* Open the code to extensions (so that it may later load other data
    than XML).

Note: this refactoring allowed to fix bugs in previous odoo versions
but this commit message will not detail them.
2016-11-08 14:18:28 +01:00
Christophe Simonis b795755001 [MERGE] forward port branch saas-6 up to a56d265 2016-11-08 13:51:21 +01:00
Christophe Simonis a56d2655b4 [MERGE] forward port branch 8.0 up to 4809b57 2016-11-08 13:07:33 +01:00
Goffin Simon 7fca8ad89e [FIX] account: wrong amount with _prepare_analytic_line
To have the right sign, amount = debit - credit

Before the fix:
 -Create an invoice in another currency than the currency of your company
 -Link the invoice lines to an analytic account.
 -Validate the invoice.

Bug:
The analytic lines have a negative amount in the amount currency field
which was a bit stange as it is the opposite sign than the amount in the company currency.

opw:692557
2016-11-08 11:53:01 +01:00
Nicolas Martinelli 40f2d55190 [FIX] account_asset: first depreciation amount
When an asset is set as Prorata Temporis, with a one month period, the
first depreciation amount is computed on the basis of the remaining days
in the purchase year. This doesn't make sense for a monthly
depreciation.

This commit makes the distinction between a monthly and a yearly
depreciation. In the case of a monthly depreciation, the remaining days
in the purchase month are taken into account.

opw-690034

Backport of 0a3899b72c

The fiscal year start date should be taken into account when calculating
the depreciation amount in case of prorata temporis.

opw-678072

Backport of e69d9b8b7d
2016-11-08 11:43:38 +01:00
Goffin Simon 6171f50e85 [FIX] delivery: onchange_carrier
Steps to reproduce:

- Create a Sales Order with 2 product qty
- Keep Delivery Method as DHL International
- Confirm
- Open Delivery Order
- Edit Qty of the Delivery Order
- Change Carrier (any integrated)
- Validate the transfer
- Process the backorder
- Edit and change the Carrier to normal or free delivery charges
- Validate

Bug:
The price of the free delivery charges was not recomputed and kept
the carrier price set on the SO.

Fix:
When the price of the carrier is "fixed" or "base_on_rule", the price must
be reconsidered in case of change.

opw:691224
2016-11-08 11:28:46 +01:00