Commit Graph
96289 Commits
Author SHA1 Message Date
Yannick Tivisse 09affe7cdf [IMP] Replace translate_doc method by t-lang attribute as this method is deprecated
now that we have a cleaner system to switch translation when calling a qweb template.
      Update the docstring too.

  Replace :
    <t t-foreach="doc_ids" t-as="doc_id">
    <t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', account.report_invoice_document')"/>
    </t>
  By :
    <t t-foreach="doc_ids" t-as="doc_id">
    <t t-call="'account.report_invoice_document" t-lang="doc_id.partner_id.lang"/>µ
    </t>

  Impacted modules : acccount, purchase, report_intrastat.
2015-07-17 14:48:41 +02:00
Parth Mehta f38ebb36b4 [REM] crm_helpdesk: removed module.
Indeed this module is some kind of underweight project issue. Instead we
will add some data to help users using the project issue module instead.
2015-07-17 14:45:13 +02:00
Josse Colpaert 2dead5e3cb [FIX] stock: error message for serial number needs browse on id 2015-07-17 13:31:07 +02:00
Martin Geubelle f0f09ec2d7 [IMP] product: kanban view of product.template 2015-07-17 11:59:25 +02:00
Yannick Tivisse f6825a7606 [IMP] stock: rename Rename "Manual selection of products"
into "Manual Adjustment: no created lines" in stock.inventory model
2015-07-17 11:11:33 +02:00
pvy 12a7f75b7d [FIX] account: typo in _query_get 2015-07-17 10:28:32 +02:00
Damien Bouvy 9be80be142 [FIX] website_blog: do not give a context when calling new-api-style 2015-07-17 09:57:09 +02:00
Damien Bouvy 1a23506b4b [FIX] mail: forgotten context in new api migration 2015-07-17 09:57:09 +02:00
Aaron Bohy 16eb36ff45 [IMP] web: use a classname to show/hide widgets
The problem of $el.show()/hide() is that calling show() on a jQuery element on which
there is no display rule in the stylesheet automatically sets 'display: block'.

However, when a jQuery element is not yet in the DOM, the rules defined on it are not yet
applied, meaning that calling show() will set its display to block (in inline style),
even if there is different a css rule (e.g. 'dislay: flex'). As the inline style takes the
priority over the stylesheet, the correct display won't be applied, even when the widget
will be appended in the DOM, resulting in a possibly broken layout.
2015-07-17 09:53:30 +02:00
Aaron Bohy c22d75bdc5 [FIX] web_editor: restrict scope of css rules
within the editor, to prevent styling every tables in Odoo.
2015-07-17 09:53:23 +02:00
Fabien Pinckaers d5f6167a47 [IMP] terminology 2015-07-16 18:03:37 -07:00
Fabien Pinckaers 96f084fba7 [FIX] Supplier -> Vendor 2015-07-16 16:41:49 -07:00
Fabien Pinckaers 97d7b2e268 [FIX] import test 2015-07-16 15:46:56 -07:00
Fabien Pinckaers 5a3d0947f2 [IMP] Supplier --> Vendor 2015-07-16 14:55:20 -07:00
qsm-odoo 16df6f8b2f [FIX] calendar: recurrency template
Wrong use of groups + improvement for enterprise version
2015-07-16 18:04:47 +02:00
qsm-odoo eddcb46c82 [ADD] website, website_quote: new jSignature lib
Note: This is a custom version of the lib which allows to
enable/disable the signature area and which introduces the
compatibility with IE + bug fix of the official version.
2015-07-16 18:03:06 +02:00
Yannick Tivisse 63567e2b5a [IMP] web : added shortcuts to jump between views 2015-07-16 17:16:58 +02:00
Josse Colpaert 3943e8ab39 [IMP] delivery: allow mixture of variable and fixed sale price for delivery grid line 2015-07-16 17:16:02 +02:00
Martin Geubelle a0349c01d2 [REF] web_kanban: move mobile kanban style to kanban_view layout 2015-07-16 16:53:30 +02:00
Martin Geubelle e628011b0d [IMP] account,sale,stock: mobile one2many kanbans
One2many kanban views already implemented in some form views but not displayed.
To notice : mode='...,kanban' is needed for all the views in the one2many widget to be loaded.
Kanban view (mobile friendly) will be selected instead of tree view on mobile.
2015-07-16 16:48:12 +02:00
Yannick Tivisse 2b29b3cc2e [FIX] website_quote : Missing report.css as dependency 2015-07-16 16:43:46 +02:00
Yannick Tivisse b7a855952c [FIX] report : grammar error 2015-07-16 16:43:46 +02:00
pvy f3eda82d42 [FIX] account: _query_get() needs to return the table too 2015-07-16 16:24:55 +02:00
Yannick Tivisse aca97c73a9 [FIX] account_analytic_account : Set the partener_id correctly in the context 2015-07-16 16:01:46 +02:00
Frédéric van der Essen 343f462834 [IMP] base: remove multi_company.default
Multi_company.default was used to set the default company on newly created
records in a multi-company environment. We remove it because it is redundant
with User-Defined Default.

The function _company_default_get is left for backward compatibility and to
allow the creation of modules that implement more complex policies.
2015-07-16 14:57:27 +02:00
Yannick Tivisse be294bbdcb [IMP] note : hide configuration in group_no_one. Useless and boring in the new design 2015-07-16 13:16:48 +02:00
Antony Lesuisse 0b20a3d4d2 [IMP] delivery sale order form view 2015-07-16 11:35:20 +02:00
odoo-tac 9d2a86e885 [FIX] Timesheets Modules : Issues could appear due to the change of method signature in account.analytic.line.on_change_account_id(). To prevent such issues without building a bridge module, this method always takes the right number of arguments, even if analytic_user_function is not installed 2015-07-16 11:17:21 +02:00
Aaron Bohy cc2548407d [FIX] website: Test Translator tour: enterprise compatibility
Fixes selector to match in both editions
2015-07-16 11:04:18 +02:00
Arthur Maniet 29a859bf26 [FIX] account: blatant programming mistake in bank reconciliation 2015-07-16 09:17:19 +02:00
Aaron Bohy a0ddaf8b84 [IMP] web: trigger an event when webclient is ready
The main purpose of this commit is to be consistent with the enterprise edition,
in which the event 'DOM_updated' is triggered when new content is inserted in
the DOM. This way, addons that need to know when a view has been attached in the DOM
(e.g. web_tip) can listen to this event and will work fine with both editions
of the web addon.

With the actual structure of the webclient (action_manager, view_manager),
there is no easy way to decide whether or not a view is attached in the DOM,
because every rendering is performed in a detached element. For instance,
when a view_manager instantiates a new view, it appends it in its $el once
the view is ready, but it can't know if its $el is attached in the DOM (it is
only the case if the view_manager is the current action of the action manager).

This rev. introduces utility functions to centralize the appending/prepending of
content, so that an event can be triggered (at a unique place) when the content
is really in the DOM. These functions are used by the the action_manager and the
view_manager.

Another change is that the action_manager keeps the view_manager informed when
they are attached in/detached from the DOM, through the variable is_in_DOM.
2015-07-15 13:32:58 +02:00
Aaron Bohy 27df65c878 [IMP] board,google_spreadsheet,web,web_calendar: Favorites menu
Adapt the Favorites menu so that addons appending stuff in it are compliant with
the enterprise edition.

Mainly, creation of dashboard.less from of dashboard.sass so that we can use mixins
defined in the web addon.

Some changes as well in the dashboard view to make it compliant with the enterprise
edition.

Use correct naming convention: classnames with underscores, less mixins with hyphens.
2015-07-15 13:32:56 +02:00
Aaron Bohy 45373eb1fc [REM] web_calendar: unused css
it has been converted into less by rev. 46bf047e86 and
is unused since rev. d6d3d0983f.
2015-07-15 13:32:28 +02:00
qdp-odoo 3e39aa1066 [FIX] account_budget: do not rely on account type name to make tests 2015-07-14 23:55:06 +02:00
qdp-odoo 0c473de10c [FIX] account: do not rely on sequence of creation to assign the exchange difference journal on the company, at the installation of CoA 2015-07-14 21:48:24 +02:00
qdp-odoo 0b3e01c13f [IMP] account*: various usability improvements. While most of them are simple renaming, it also includes the following field removals:
- [REM] account_budget: removal of field 'validating _user_id' on account.crossovered.budget, which is now replaced by inheritance with mail.thread
   - [REM] account_budget: removal of field 'code' of account.crossovered.budget, which was not used and redondant with its name
   - [REM] account_asset: removal of field 'note' of account.asset.category, which was not used and redondant with its name
   - [REM] account: removal of field 'to_check' of account.move, which was redondant with state == 'draft'
   - [REM] account_voucher: removal of field 'audit' of account.voucher, which was a fields.related on move_id.to_check
2015-07-14 21:48:23 +02:00
Simon Lejeune b3f7670c96 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 18:05:01 +02:00
Yannick Tivisse 3376b747bb [FIX] stock : Move Stock Moves menuitem from group_locations to group_no_one 2015-07-14 15:16:58 +02:00
Christophe Matthieu dcbd66a3eb [IMP] boot.js: use console.error instead of console.warn to make the runbot in red when there's an error in a javascript module 2015-07-14 11:43:24 +02:00
Christophe Matthieu 23fa18ce03 [FIX] im_odoo_support: add im_chat missing depends 2015-07-14 11:43:24 +02:00
Martin Trigaux b6e1e2ec26 [FIX] auth_*: Authentification ain't a word
.. just like "ain't" by the way.

Courtesy of Lionel Sausin
2015-07-14 11:22:44 +02:00
Thibault Delavallée 1bccaaf4b5 [REVERT] crm: reverted changes introduced in last commits
that should lie in a feature branch and be reviewed. We try not
to screw the history and the branches, let us continue like
this.

Reverted commits :
189c589d76
11b1eb1ce5
f618df931a
c0ee9de360
a340f0cd2a
c6235581ef
51cc853c61
7a541b0d07
3f6b92e7b5
ecd410a3ee
b6418a116d
2015-07-14 09:49:37 +02:00
Fabien Pinckaers 189c589d76 [IMP] better stats 2015-07-14 00:33:08 -07:00
Fabien Pinckaers 11b1eb1ce5 [IMP] improve buttons of form view 2015-07-14 00:23:38 -07:00
Fabien Pinckaers f618df931a [IMP] look and reports 2015-07-14 00:14:54 -07:00
Fabien Pinckaers c0ee9de360 [FIX] gamification lead_report --> opportunity report 2015-07-13 22:28:34 -07:00
Fabien Pinckaers a340f0cd2a [IMP] removing Marketing sales team, not logic to have marketing team 2015-07-13 22:09:49 -07:00
Fabien Pinckaers c6235581ef [FIX] typo 2015-07-13 22:04:51 -07:00
Fabien Pinckaers 51cc853c61 [FIX] typo 2015-07-13 22:03:56 -07:00
Fabien Pinckaers 7a541b0d07 [FIX] not a smart test 2015-07-13 22:03:16 -07:00