Commit Graph
99356 Commits
Author SHA1 Message Date
Thomas Groutars 03af949697 [FIX] sale: Fix SO tests to reflect behavior change in f867fc9269
Deleting cancelled SO is now possible.

Closes #9672
2015-11-23 09:49:59 +01:00
Fabien Pinckaers 2784bab5be [IMP] better explanation of the done state for PO. (a PO can not be modified) 2015-11-20 20:07:02 +01:00
Fabien Pinckaers f867fc9269 [IMP] better error message (draft quotation does not exist), allow deleting canceled quotations 2015-11-20 18:21:32 +01:00
Fabien Pinckaers 2607b200f2 [IMP] better empty list message 2015-11-20 17:21:15 +01:00
Yannick Tivisse 9c5d4cd60c [IMP] sale,account,mrp_operations,purchase: Add weight and volume on reports 2015-11-20 16:45:54 +01:00
Yannick Tivisse abf30a7f15 [REM] Get rid of the ugly 'default_groups_ref' context key
Because it is useless now with the new behavior brought by the previous commit.
All the necessary details are explained in this one.
2015-11-20 16:27:32 +01:00
Yannick Tivisse 1ecba213f4 [IMP] Newly created users get all manager access right
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights
when created from the dashboard, which was leading to an error.

This bug leaded to a new discussion. Better to have basic employee having user
rights for all main applications. For bigger entreprises there is an admin that
will carefully remove extra rights, if necessary. The target is small businesses,
it makes sense that every way to create a user gives the same result.

In conclusion, each new user has a full access to the applications by default

How is it implemented ?
We added an inactive default user which original access right to the groups
'base.group_user' and 'base.group_partner_manager' in base. Each
application will extend the default user's access right by adding the maximal
access right for this application.

On user creation, we will use by default the 'group_id' field from the default
user. We will in the same time remove the ugly 'default_groups_ref' key which
was passed sometimes in the context for some fields in some views, and sometimes
nothing.

So, the user can modify the access rights for the default user, but he should be
aware that removing project user access rights for a default user will prevent
a *created on the fly in a task* user will not be able to access the task.
2015-11-20 16:27:32 +01:00
Joren Van Onder 8cd0127af3 [IMP] pos_discount: usability improvements regarding discount setup
Before this, setting up the discount on a pos_config was a bit
confusing. Although iface_discount was enabled by default on the
pos_config, the discount button would not show up in the actual POS. The
reason for this is that the discount button only shows up when a
discount product has been set, and there is no default for that.

So in order to make things a bit clearer the following has been done:
- Group discount related options together
- Only show discount product and default percentage field when using discount
- Rename 'Discount percentage' -> 'Default percentage'
- Default iface_discount to False (because a discount_product_id has to
  be manually set anyway)
- Make discount_product_id required when discount is enabled
- Only allow discount_product_id candidates that have available_in_pos set,
  because the POS frontend only loads those products
2015-11-20 13:33:44 +01:00
Thibault Delavallée ebcc2ea4eb Revert "[IMP] better handling of next activities"
This reverts commit ab303435d3.

Changing a feature one week before freezing a new saas, without review,
without spec, without testing, does not seem to fit the R&D process.
This commit will be set in a branch, tested and reviewed accordingly.
2015-11-20 10:18:52 +01:00
Thibault Delavallée b2afe3f1db Revert "[FIX] CRM -r ab303435d3"
This reverts commit 59631153e6.

This commit seems very interesting. Or not.
2015-11-20 10:18:28 +01:00
Fabien Pinckaers f6d033f83a [IMP] more professional quotation template by default 2015-11-20 02:11:28 +01:00
Fabien Pinckaers 72707806cc [IMP] Quotation template buttons 2015-11-20 01:25:43 +01:00
Fabien Pinckaers 7ca296b090 [IMP] simplifying res.partner quick create screen 2015-11-19 23:59:13 +01:00
Fabien Pinckaers e00294e36b Merge branch 'master' of https://github.com/odoo/odoo 2015-11-19 23:02:44 +01:00
Fabien Pinckaers 59631153e6 [FIX] CRM -r ab303435d3 2015-11-19 20:09:00 +01:00
Fabien Pinckaers a0bacdb255 [IMP] res.users layout form view, message top 2015-11-19 20:03:05 +01:00
Fabien Pinckaers 29187c3625 [IMP] Rebalance partner form, tags on the left 2015-11-19 19:58:03 +01:00
Fabien Pinckaers ab303435d3 [IMP] better handling of next activities 2015-11-19 15:15:21 +01:00
Joren Van Onder 0650047fd5 [IMP] point_of_sale: remove backend receipts
They were a leftover from way back when there was no POS frontend. We
have access to much better receipts in the frontend now.
2015-11-19 12:50:00 +01:00
pvy 481d85004b [ADD] account: add actions to the partner ledger (list of unreconciled, either payable or receivable journal items from one partner) 2015-11-17 14:58:19 +01:00
Martin Trigaux 8de86e7c5c [FIX] rephrase bad sentense 2015-11-12 12:14:21 +01:00
Nicolas Lempereur 91d9625d9b [FIX] website_sale: rename conflicted color field
'color' is now a kind of magic field for the many2many tags widget, it
should not be used for something else.

This was half-fixed in 9.0 with f847701 and this commit solves it
properly.

opw-653124
2015-11-09 16:07:07 +01:00
Yannick Tivisse fac4127470 [IMP] product: Change 'default_code' to a compute field
Goal : Don't display the internal reference from one of the product template
as it was currently the case, because it was a related field to a one2many.
Here, we use the same behavior as for weight,volume or standard price fields.
If only 1 variant, i.e. no variant used, take the default_code from the template
If more than 1 variant, do not display anything.
2015-11-06 14:51:17 +01:00
Yannick Tivisse 7c9d93f0ef [IMP] Add a setting to install sale_layout 2015-11-06 14:45:48 +01:00
Yannick Tivisse 7e394725a8 [IMP] CRM: Done activities : Better chatter message 2015-11-06 14:45:48 +01:00
Martin Trigaux 36c05660ee [FIX] morning typo fix 2015-11-05 10:42:12 +01:00
Jamin Shah ddfbb690fb [IMP] various: template update
Templates have been updated to remove most of the styling and
simplify them. Some workding has also be done.
2015-11-02 11:51:30 +01:00
Thibault Delavallée 85e67792e5 [IMP] calendar: template and chatter upate
Templates have been updated to match the general layout of the
notifications and emails in Odoo. This module has its own
commit because those templates were already complex and well
designed.

Some chatter messages have also been removed. Too much messages
are produced when creating and updating events.
2015-11-02 11:51:25 +01:00
Thibault Delavallée 9e69e5229a [IMP] website_*: template update
Website modules templates are updated :

- website_slides: published and shared templates updated
- forum: confirm email updated
2015-11-02 11:51:09 +01:00
Thibault Delavallée 7fe9d58b0d [IMP] invoice, sale, purchase: template update
Templates used to send invoice / quotation / PO by email are cleaned. Custom
style is removed. Content is simplified.

For sale, only one template is kept through the various addons. Previously to
this commit there are 3 templates: standard, portal and online quote. Those
template are similar except the link to get the sale order. Now the base template
contains some logic that should be sufficient to cover all cases. This breaks
the modular approach but is easier to use for users. As templates are still mako
it is not possible to use inheritance. So having a base template knowing some bits
of overriding modules is necessary if we want to avoid having the same template
duplicated.
2015-11-02 11:51:09 +01:00
Thibault Delavallée b52069754d [IMP] mail: notification template
The template used for notifications is updated. The general layout
is now

header: logo -- action buttons, contextual actions
separator
body
signature
Sent by company using Odoo
2015-11-02 11:50:14 +01:00
Thibault Delavallée 15b362fde9 [IMP] website_slides: update action and access
Action and access button in notification emails are added. Override
mail_thread methods to add a specific link + an access buttons to
everybody if the slide is published.
2015-11-02 11:49:40 +01:00
Thibault Delavallée fa0bdec3ea [TMP] mail: temporarily deactivate keep_url
This makes every template holding images crash. As this feature will shortly be
fixed in 9, let us temporarily comment its use and wait for the forward port of
the fix.
2015-11-02 11:49:40 +01:00
Ravi Gadhia 9bfb738b04 [IMP] base: res.lang form view layout, add "Active" filter in search view 2015-11-02 10:57:18 +01:00
Ravi Gadhia 7507b18b5d [FIX] web: hide "Create" button for editable tree views with create="false"
Make it such that the buttons "Save" and "Discard" are still visible.
2015-11-02 10:57:18 +01:00
Ravi Gadhia cb835f8a3b [IMP] web: display message to edit translations when translated fields have been modified 2015-11-02 10:57:18 +01:00
Ravi Gadhia 4b768b3ba0 [IMP] base: open dialog with editable list view for record translations 2015-11-02 10:57:18 +01:00
Raphael Collet f72594bcc6 [IMP] web: add a generic notification feature inside form views
The notification box remains on the form until either:
 - the user closes it explicitly, or
 - the user edits the record, or
 - the form view is refreshed (switch to another record, or refresh form).

Add a method `once` to `EventDispatcherMixin`, as it is convenient.
Make `FormView` trigger events `to_view_mode` and `to_edit_mode`.
2015-11-02 10:57:18 +01:00
Martin Trigaux 7d220a1eeb [FIX] typo and rephrase 2015-11-02 10:31:03 +01:00
Martin Trigaux db1538269b [IMP] project: better planner message 2015-10-30 16:36:32 +01:00
Martin Trigaux 07448cfe99 [FIX] English terms 2015-10-30 16:29:55 +01:00
Martin Trigaux 7328267a85 [IMP] all: missing spaces or line return in help message 2015-10-30 15:43:29 +01:00
Martin Trigaux b07d95a7ea [IMP] website_slides: improve help message 2015-10-30 15:31:21 +01:00
Martin Trigaux 9c425f3111 [FIX] fetchmail: missing space 2015-10-30 14:52:38 +01:00
Raphael Collet fe4872f10c [IMP] api: add a decorator for old-API methods that take records as parameters
The decorator transforms old-API calls like

    model.method(cr, uid, records, args)

into

    records.method(args)
2015-10-30 14:37:04 +01:00
Martin Trigaux 98d5673277 [FIX] web_planner: help message on active field 2015-10-30 14:36:11 +01:00
pvy a588fbf8dc [ADD] account: new action to get to an action move list view 2015-10-30 11:03:01 +01:00
Olivier Dony ff2069eb69 [MERGE] Forward-port 9.0 up to 9a3e9291ffa1509f4afa0f35f9d8d71b6e0932d1 2015-10-30 10:47:13 +01:00
Thomas Groutars 9a3e9291ff [IMP] crm: Add name attributes in lead search view to ease inheritance
Closes #9312
2015-10-30 10:19:25 +01:00
Joren Van Onder b1735c7f64 [FIX] point_of_sale: get rid of paymentlines with an amount of 0
Since c04065abd8 (introduction of
accounting v9) bank statement lines can not have an amount of zero
anymore. So when we validate an order in the POS client we need to get
rid of paymentlines with an amount of zero.
2015-10-30 10:00:37 +01:00