Commit Graph
96665 Commits
Author SHA1 Message Date
Arthur Maniet f4e27626e4 [FIX] account: reconciliation widget: new design compatibility
- Use less instead of sass
- Use class name of both old and new designs
- Small CSS tweaks to support both designs
- JS compatibility fixes + a little cleanup
- The ctrl-enter shortcut only reconciles balanced entries
2015-07-24 13:01:08 +02:00
Géry Debongnie a99d656d13 [FIX] web_kanban: better behaviour when grouping
* fix a crash when grouping on non-many2one fields (due to the
group.values object being not initialized)
* display correct label when grouping on selection fields

We should have a better way to deal with fields differences.  There is
this weird concept called "abstraction", which could be applied and
would allow everyone to focus on their business and not on dealing with
this, but that would probably not fit with our codebase.
2015-07-24 12:17:26 +02:00
Martin Trigaux 2350d1f3ba [FIX] project: typo
Courtesy of Miku Laitinen
2015-07-24 11:35:36 +02:00
Aaron Bohy bfe8233880 [FIX] web(_tests): FieldMany2One: autocomplete
Many2One fields were broken in views opened by default in edit mode, since rev.
a0ddaf8. The autocomplete widget was appended to the DOM at
'.oe_application > *:visible:last', but since the mentionned rev., the views
are rendered in fragments detached from the DOM, and once they are ready, the
old content is detached and the new one is attached instead. It means that by
appending the autocomplete widget within '.oe_application > *:visible:last',
it is detached from the DOM with the previous content, and Many2One fields can
thus not work.

This rev. simply removes the appendTo option of autocomplete, so that the
widget is directly appended to the body.

Also updates a tour's selector matching an autocomplete ul as it isn't inside
the .modal anymore.
2015-07-24 09:08:14 +02:00
Simon Lejeune 44c83299e3 [FIX] packaging: python-suds in debian's test environment 2015-07-23 14:28:20 +02:00
Simon Lejeune 22fe0f5d0e [REF] web_planner: adapt style to webclients and website
With selectors here and there to make it work with the community
webclient, the enterprise webclient and the website without duplicating
the module.
2015-07-23 14:02:41 +02:00
Simon Lejeune cd9e5d2e12 [REF] web, website: autosize in assets_common 2015-07-23 14:02:41 +02:00
Simon Lejeune 11c9baa1a2 [FIX] crm: planner: bootlint and useless style removal 2015-07-23 14:02:41 +02:00
Simon Lejeune 5666cd3643 [REF] web_planner: javascript & dom cleaning
* Correct inheritance of async method
* Correct calls to do_hide/show
* Fetch the template in `willStart`
* Correct bootstrap structure for the layout, remove useless branding
  and dom depth
* Each planner page is now in its own bootstrap grid
* Compatibility between both webclients
2015-07-23 14:02:40 +02:00
Simon Lejeune 2de2a8064c [ADD] website: o_hidden class used in widget's do_show/do_hide/do_toggle 2015-07-23 14:02:40 +02:00
Simon Lejeune 74c5f772f3 [ADD] web: framework: do_toggle on widget 2015-07-23 14:02:40 +02:00
Joren Van Onder b5967cc071 [REF] website_sale: port to new web_planner 2015-07-23 14:02:40 +02:00
Joren Van Onder e7f6f1e44a [REF] website: port to new web_planner 2015-07-23 14:02:40 +02:00
Joren Van Onder 73aac228ef [REF] crm: port to new web_planner 2015-07-23 14:02:40 +02:00
Joren Van Onder 05dfa34870 [REF] project: port to new web_planner 2015-07-23 13:56:07 +02:00
Joren Van Onder b2eafca067 [REF] web_planner: refactor to make less brittle and reliant on layout
This introduces a new way to define web_planners. They now take the
following form:

<template id="project_planner">
    <t t-call="web_planner.pages">
    <t t-call="web_planner.category">
        <t t-set="menu_categorytitle" t-value="'Prepare'"/>
        <t t-set="menu_categoryclasses" t-value="'fa-flag-checkered'"/>
        <t t-call="web_planner.page">
            <t t-set="page_title" t-value="'Welcome'"/>
            <t t-set="hide_mark_as_done" t-value="True"/>
            <t t-set="hide_from_menu" t-value="True"/>
            <!-- content here -->
        </t>
    </t>
</template>

The menu is not manually created anymore, it is automatically generated.

Pages do not have to be part of a category and can just be defined as
children of web_planner.pages. A page can have hide_mark_as_done and
hide_from_menu, these are optional and will both default to False when
omitted.
2015-07-23 13:56:07 +02:00
Nandan Jani c505f00c3e [ADD] stock,delivery: delivery slip for pickings 2015-07-23 13:46:51 +02:00
Damien Bouvy 53f138fc41 [FIX] sale_contract: modify transifex config file to reflect module name change
[IMP] payment_ogone: a single import of datetime is usually enough
This commit also removes a "0" file that was commited by accident
2015-07-23 11:51:59 +02:00
Damien Bouvy e8fa3c0669 [IMP] website_quote: display breadcrumb when viewing an online quote 2015-07-23 11:40:31 +02:00
Damien Bouvy 6ff851633a [IMP] hr_timesheet: do not display "Cost/Revenue" stat button in contract template form view 2015-07-23 11:40:31 +02:00
Nicolas Martinelli 3124e3faab [FIX] payment_ogone: convert date received by Ogone
Ogone sends back the date with format MM/DD/YY
See https://secure.ogone.com/ncol/param_cookbook.asp

opw-642757
2015-07-23 11:40:30 +02:00
Damien Bouvy fa7f9ed560 [ADD] sale_contract_asset: link module between account_asset and sale_contract
Allows you to set deferred revenue categories on your contracts and contract templates; contracts will set their revenue category on the lines of their invoices
2015-07-23 11:40:30 +02:00
Damien Bouvy ecdb8a60cb [IMP] sale_contract: recurring view refactoring, new fields and unit of measure
- add contract_type field on account.analytic.account and real_quantity on account.analytic.invoice.line
- refactor contract form and list views for better clarity (hide unnecessary fields depending on the type of contract)
- divide account_analityc_account class according to contract type for future work
- divide contract template menu in 3 menus depending on contract_type
- add on_change_uom behaviour on account recurring lines
- rewrite tests in python
- add new report (pivot & graph)
- end date of contract is now computed from the template recurring rules
- small fixes & usability improvements
2015-07-23 11:40:30 +02:00
Damien Bouvy d8f0231afc [RENAME] account_analytic_analysis -> sale_contract 2015-07-23 11:40:30 +02:00
Martin Trigaux 20dbd2675a [FIX] account,sale: helper message
search tool instead of tool search
Courtesy of Lionel Sausin
2015-07-23 11:30:42 +02:00
qsm-odoo 22bb892b80 [FIX] calendar: Notification (style and new API)
for compatibility with the enterprise edition.

Also add type=button as the type attribute should always be specified for the
<button> element (different browsers may use different default types).
2015-07-23 10:51:12 +02:00
qsm-odoo 86c399f3bd [IMP] web: New notification system
Backport of the Notification system
2015-07-23 10:51:12 +02:00
Géry Debongnie 84197b51ee [FIX] web_kanban: fix problems introduced by someone
Someone really smart decided to change web_kanban by moving something
from web to web_kanban.  This makes sense, but it is a problem because
the code in web is not shared between enterprise and community, but
web_kanban is shared.

Also, it was put in kanban_view.  If we have a module system in
javascript, is might be a good idea to use it.

So, this commit moves the code in a new file, and update the code to
the last version from enterprise. Yay for two codebase in parallel.
2015-07-23 10:07:18 +02:00
Aaron Bohy a500f3b01b [IMP] web(_kanban): accesskeys for switch buttons
More elegant solution to add accesskeys on switch buttons for list, kanban and
form views.
2015-07-23 09:25:18 +02:00
Géry Debongnie d5a8ad53e6 [REM] web_kanban: remove sass and css files
web_kanban use less, but the old sass and css files were still there.
As a result, some people still try to change them, but it is useless.
2015-07-23 09:00:23 +02:00
Christophe Simonis 3ea8d14d2b [FIX] account,analytic: move test from account to analytic 2015-07-22 19:11:44 +02:00
Christophe Simonis e182f19694 [FIX] *: various bug were introduced during last forward-port 2015-07-22 18:33:04 +02:00
qdp-odoo 11d153ca9a [FIX] l10n_si is back, compliant with the new accounting 2015-07-22 16:43:12 +02:00
Christophe Simonis 67366dfb5e [MERGE] merge upstream branch.
Forward ports generates a lot of conflicts to resolve. Rebasing
(even with rerere) will force me to re-resolve most of the conflicts.
2015-07-22 16:29:42 +02:00
qdp-odoo 8ac40acb0d [IMP] account*: various usability improvements 2015-07-22 16:19:02 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
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 Simonis 63e92cbc96 [MERGE] forward port of branch 8.0 up to 9abf868 2015-07-22 14:09:00 +02:00
Martin Trigaux 9abf868948 [FIX] google_calendar: missing part of caac19c1
Modify all references of google_attendee['email']
2015-07-22 12:22:35 +01:00
Nicolas Lempereur c0e24fc9ce [FIX] event_sale, website_event_sale: treat edge case of 0 seats_max
When the max seats available is set to 0, there should not be a limit to
the seats available.

Previously this was not taken into account in the frontend event ticket
sale, so an event would appear to be sold out.

fixes #6999
opw-645542
2015-07-22 12:32:15 +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
Martin Trigaux caac19c102 [FIX] google_calendar: attendee's email is not required
You may get a google_attendee without email from Google, cf #3853
2015-07-22 10:37:50 +01:00
Martin Trigaux 4ac9bfb619 [I18N] website: missing terms
The content of website.layout_footer_copyright is modified in several modules
but the terms were missing in .pot file.
2015-07-22 09:40:32 +01:00
Aaron Bohy dfad968515 [FIX] board: forgotten o-closed-menu
in the renaming of commit 27df65c878.
2015-07-22 10:31:21 +02:00