Commit Graph
99348 Commits
Author SHA1 Message Date
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
Nicolas Lempereur fb872f84f1 [FIX] web: no accesskey for x2m pager
The fix in 665bc1c solved the issue for pager of some X2Many widget x2m
which would shadow the accesskey to go to previous/next page of the top
view's  current model.

But in the case a web.Pager (used in community for a X2Many kanban
widget) the fix had no effect.

opw-652888
2015-10-30 08:40:09 +01:00
Géry Debongnie 329552b78e [FIX] web,account,website_links: update nvd3 to last version
This commit was necessary to fix weird problems in 9.0-nightly.
Phantomjs and the old nvd3 implementations did not play well together.

* transitionDuration() replaced by duration()
* tooltips() & tooltipContent replaced by tooltip.enable and tooltip.contentGenerator
* remove useless less for tooltip

Thanks to mge for his help
2015-10-29 22:15:44 +01:00
Nicolas Martinelli 55535a6f61 [FIX] website_sale: keep pricelist when creating new SO
The call to onchange_partner_id resets the pricelist. Now, SO is created
with correct values right away.
2015-10-29 16:08:11 +01:00
Nicolas Martinelli 1684ae41e7 [FIX] website_sale: currency in line with pricelist selected
Before this fix, inconsistencies arise in the prices displayed in a
multi-currency environment. For example, let's consider these 2
pricelists:
- Public Pricelist, in USD
- Benelux Pricelist, in EUR with 10 % discount

When the Benelux Pricelist is selected, the strikethrough price is in
USD, the price is in EUR, and the currency displayed is $. The reason
is that the pricelist used is stored in request.session, but the
templates are still using the pricelist linked to the partner.

We link website.pricelist_id to the currency stored in request.session,
which is more logical. We also use the currency related to this
pricelist in the templates, which avoids the inconsistencies mentioned.
2015-10-29 16:08:10 +01:00
Goffin Simon 0366ae16a9 [FIX] warning: onchange_partner_id
The function _onchange_partner_id must be triggered when the field 'company_id'
is modified like with function _onchange_partner_id in addons/account/models/account_invoice.py
In this way, the account_id is set in 'account.invoice when the 'company_id' is changed.

opw:652918
2015-10-29 15:58:44 +01:00
Joren Van Onder 87a3fe92de [FIX] point_of_sale: forward port of 35e9fa5c41
Non-trivial port because 9.0 has rescue sessions that kind of try to
solve the same problems, however:

- they do not automatically put orders into a compatible, newly opened
  session because it explicitly searches for rescue sessions. So if
  you open a new session and create a new order in a POS associated to
  a closed session you will end up with two open sessions (one rescue,
  one regular).

- they throw exceptions with cash control enabled

- they're a bit more complicated because they introduce the idea of
  'rescue' sessions, which the 8.0 fix does not (it just uses regular
  sessions).

So this reverts bed409322d without
changing the database and while still ensuring that databases with
existing POS rescue sessions don't break.
2015-10-29 15:56:25 +01:00
Denis Ledoux 05381a8bed [FIX] res_company: parent company field mis-aligned
The `parent_id` field was mis-aligned in the `res.company`
form view, making the input away for its label.

We moved the field to the General information tab, to not
overcrowd the headers.

opw-653373
2015-10-29 15:42:47 +01:00
Christophe Matthieu 5b5f89e2be [FIX] web_editor: select default text of the snippet when click on the text 2015-10-29 15:31:42 +01:00