Commit Graph
96314 Commits
Author SHA1 Message Date
Christophe Matthieu 2989d84397 [FIX] website_sale: 'website_sale_options.website_sale' module name is use twice 2015-07-22 16:16:04 +02:00
Christophe Matthieu d74e0c3e9d [FIX] web: database_manager.html include cleditor
The cleaditor.js library no longer exists.
2015-07-22 12:15:25 +02:00
Christophe Matthieu b6ddfe617f [FIX] base, web : move apps.js from base to web
'base.apps' JavaScript module 'require' the web widgets. This module is only useful if web is installed.
2015-07-22 12:15:25 +02:00
Jérome Maes 99ac98a064 [FIX] im_odoo_support : remove incompatible code, and fix namespace
The removed code stood for optional dependencies to im_chat module (integrate 'odoo support' in chat contact list). Since the new javascript system (require and define) doesn't allow optional dependency, this code will always crash if im_chat was not installed, causing warning in the js console.

The 'im_livechat.im_livechat' js dependency is a wrong conversion of the code to the new js system. im_livechat is not a dependency, but is loaded from OpenERP service server. Since this one runs under odoo-saas6 version, im_odoo_support will load js code fomr this version, and so require to use 'openerp' js object instead of the 'require' dependency.
2015-07-22 12:15:25 +02:00
Christophe Matthieu 242e5231f0 [FIX] web, mail: move 'mail.compatibility' in mail
'mail.compatibility' javascript module require 'mail.mail'
2015-07-22 12:15:25 +02:00
Christophe Matthieu fe0885f28a [FIX] web: move 'web_kanban.Many2ManyKanbanView' in web_kanban
'web_kanban.Many2ManyKanbanView' javascript module in web require 'web_kanban.KanbanView'
2015-07-22 12:15:25 +02:00
Christophe Matthieu 264bb780a1 [IMP] web: web modules return readable logs and phantomjs logs
boot.js log:

* ``Missing dependencies``:
  These modules do not appear in the page. It is possible that the JavaScript
  file is not in the page or that the module name is wrong
* ``Failed modules``:
  A javascript error is detected
* ``Rejected modules``:
  The module returns a rejected deferred. It (and its dependent modules) is not
  loaded.
* ``Rejected linked modules``:
  Modules who depend on a rejected module
* ``Non loaded modules``:
  Modules who depend on a missing or a failed module
2015-07-22 12:15:25 +02:00
Christophe Matthieu 71732dceb6 [IMP] web: module can be asynchronous loaded if it return a deferred
Each module can return a deferred. In that case, the module is marked as loaded
only when the deferred is resolved, and its value is equal to the resolved value.
The module can be rejected (unloaded). This will be logged in the console as info.

Remove if_dom_contains from the website, the modules return a rejected deferred if
the DOM doesn't contains the seleted values.
2015-07-22 12:15:24 +02:00
Aaron Bohy dfad968515 [FIX] board: forgotten o-closed-menu
in the renaming of commit 27df65c878.
2015-07-22 10:31:21 +02:00
bpa-odoo 3eed48ffcf [IMP] stock: change reordering rule stat button text
Now depends on the number of reordering rules. If the
number == 1, the min and max qty for this rule are
displayed instead of the "Reordering Rules" string.
2015-07-20 15:47:26 +02:00
David Monjoie df9725df26 [IMP] web_editor,website: added scalable margins in less
The original commit by fka used to define less variables like this:
@px-4: 4px
@px-8: 8px

The goal was to be able to change the margin values in
media queries for smaller screens.
However, as the less is only compiled once in css, those
variables didn't really help as you couldn't redefine them
from inside a media query and have the less magically
reassign the margins on the fly.

I created less helper functions to be able to easily redefine
the margins for smaller screens from inside media queries.

The task also required to replace the nbsp in the html by the
newly created mr and ml classes.

This is also the first phase of the sass -> less transition.
2015-07-20 15:00:24 +02:00
qdp-odoo 61ecac539e [FIX] account: improved message that appears on bills when a supplier has some outstanding debits 2015-07-20 11:40:06 +02:00
qdp-odoo f92b1d424b [IMP] account_asset: various improvement.
History management now use the chatter (removal of dedicated history object)
 Assets are now linked to created account.move instead of account.move.line (which was meaningless since we have the invoice reference and besides didn't show the whole entries).
 Added a feature to close or dispose of an asset
 Chatter messages have been improved.
 Fixed some demo data.
 Removed 'note' field of 'change duration' wizard because it was redundant with the name field.
2015-07-20 11:40:06 +02:00
qdp-odoo 330b1275c5 [REF] mail: refactored message_track for better inheritance possibilities + display body and tracked fields in the chatter if a message has both 2015-07-20 11:40:06 +02:00
qdp-odoo 56be53aa6c [FIX] l10n_generic_coa: some account types were wrongly chosen 2015-07-20 11:40:06 +02:00
bpa-odoo 90ba0d1cb4 [IMP] hr, hr_recruitment: usability improvement
- hr: improve form view with 2 columns and remove requirements.
- hr_recruitment: remove case_default and legend_priority fields, improve dashboard, move recruitment.stage data in demo and improve form and kanban view of hr.applicant.
2015-07-20 11:23:35 +02:00
Pankaj Joshi 2843e618ca [ADD] project: added new field date_assign
The new field will be the real date of assignation.
Don't use start_date for this purpose anymore.
Arranged fields in group to prevent view glitch
mentioned in task 19579.
2015-07-20 10:57:34 +02:00
Fabien Pinckaers 449b50face [FIX] invoice without tax does not crash. [IMP] Allow paying more than invoice amount 2015-07-17 14:25:42 -07:00
Yannick Tivisse a4417a960b [FIX] web: Secondary left menu items with action are displayed in blue instead of the others, which are displayed in purple. 2015-07-17 17:12:27 +02:00
Josse Colpaert 4679e2dcb1 [IMP] stock: Act windows from dashboard should have a name corresponding to the picking type and current inventory should be by location first 2015-07-17 16:56:09 +02:00
Yannick Tivisse 3befe66f43 [IMP] product : Improve variant usability
- Add an option in the General Settings : Use product variant.
- If this option is disabled : don't show any reference to variants
- When going on the product template view, and clinking on the stat button under the tab Variants,
  the form view should display only the information related to the variant
- Fields moves from product_template to product_product :  weight, volume, cost price,
- DO NOT display these fields on the product_template if there are more than 1 variants.
- In product variant view, set some fields readonly and add a link to edit it from Template.
2015-07-17 16:22:27 +02:00
Yannick Tivisse e9ad290221 [IMP] stock : small test improvement 2015-07-17 15:32:31 +02:00
Yannick Tivisse e4fd912e22 [IMP] The group_costing_method is mandatory for the landed costs to be usable
- Set purchase module as a dependency of stock_landed_costs module
- Add a warning on the group_costing_method option to prevent the user
  to disable it if the stock_landed_costs module is installed
2015-07-17 15:22:04 +02:00
Fekete Mihai 6113b6364c [FIX] l10n_ro: update Romainian chart of accounts
To integrate latest chart of accounts changes from 01.01.2015
Closes #7603

Port of 433351f5 to master
2015-07-17 14:57:05 +02:00
Yannick Tivisse 600392687b [FIX] point_of_sale: Adapted test due to ´translate_doc´ method removal
- The arguments doc_ids, doc_model are now deprecated, they have been removed
- The argument docs, used with the t-lang attribute, was incorrect, and was
pointing the wrong model.
2015-07-17 14:48:41 +02:00
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