Commit Graph
96264 Commits
Author SHA1 Message Date
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
Fabien Pinckaers 3f6b92e7b5 [IMP] Won / Loss not anymore depending on stages:
won: probability=100 (on lead)
  loss: probability=0 and not active
Won / Loss Replaced most complex domains (merge leads wizard...) by active=True
[IMP] Code cleaning / removing:
  unused report.crm.*
  merged crm.lead.report and crm.opportunity.report (one report with domains)
[IMP] Cleaned demo data:
  Won / Loss, Put back "New" stage
  Removed "Marketing" sales team
[IMP] Removed Multiple salesteam setting (always multiple salesteam
  Always display the dashboard (multiple salesteam)
  No more option in settings
[FIX] misc fixes (bad domains), type not required
2015-07-13 19:22:59 -07:00
Fabien Pinckaers ecd410a3ee [FIX] removing Mark Won/Loss, use stages instead 2015-07-13 14:04:50 -07:00
Fabien Pinckaers b6418a116d [FIX] When creating a column from the opportunity kanban, assign column to right team
[IMP] Creating New, Won, Lost stages when creating a new sales team
2015-07-13 12:52:58 -07:00
Jay Patel 8bf6b530d2 [IMP] sale, sales_team, crm: usability improvements
- sales_team: remove field note, usability improvement in kanban and form views
- crm: in crm.stage remove default_case, sequence and legend_priority fields and remove default stage_ids + some fields in technical group
- sale: add field use_invoices on sales_team and display links in dashboard according to this new field
2015-07-13 17:44:19 +02:00
Christophe Matthieu ae7776620f [FIX] web_editor: add cr_uid_ids_context decorator for ir.ui.view render method to have the select the api 2015-07-13 16:22:29 +02:00
qsm-odoo 1046d6991d [IMP] web: Move Dialog.js to assets_common 2015-07-13 15:52:17 +02:00
xmo-odoo 78cd97d7b7 [FIX] base_gengo: broken import
There is no openerp.osv.api
2015-07-13 15:12:31 +02:00
Martin Trigaux a7205fd3cf [IMP] stock: better labels and help
Descriptions like "technichal field" gives no information on the meaning of a
field and how it should be interpreted.
2015-07-13 13:30:49 +02:00
Christophe Matthieu ca8d7a83f7 [FIX] timesheet: External widget must send a valid command to the set_value. 2015-07-13 11:50:32 +02:00
Christophe Matthieu 809cdbb153 [IMP] web: use a mutex on the object instead of create one in the send_commands method: no crossed change values, keep internal_dataset_changed for other widgets (like editable list) 2015-07-13 11:50:32 +02:00
Christophe Matthieu 66025268e1 [IMP] web: AbstractManyField: add a feature: if the widget receive a write command without link to the record previously, automatically add the record id into dataset ids. 2015-07-13 11:50:32 +02:00
Christophe Matthieu 3034600322 [FIX] web: database manager: javascript object web.DataModel is missing 2015-07-13 11:48:51 +02:00
Antony Lesuisse 3ced0ff61b [REM] document directories
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
2015-07-12 13:52:08 +02:00
Raphael Collet 81bf724c24 [FIX] account: the new-API default of a relational fields must be a recordset 2015-07-11 03:48:22 +02:00
Raphael Collet 86059a0b69 [FIX] hr_timesheet: wrong model name in default method 2015-07-11 03:07:07 +02:00
Raphael Collet b1915f506d [FIX] mail: fix method _get_default_author to return a recordset instead of an id 2015-07-11 03:00:40 +02:00
Raphael Collet 08e9fb84f6 [FIX] res_company: make _company_default_get return a recordset in new API
This fixes a number of new-API default values for `company_id` fields.
2015-07-11 02:59:30 +02:00
qdp-odoo 3b5d9202d7 [FIX] l10n_uk is back, compliant with the new accounting 2015-07-10 17:38:51 +02:00
Christophe Matthieu eb24062f67 [IMP] merge web_editor split
The web editor is split from website and moved to web_editor allowing it to be used without installing website.
2015-07-10 17:20:33 +02:00
Christophe Matthieu c811ba8345 [IMP] tests: group phantomjs the log to have one python log by javascript log 2015-07-10 17:00:16 +02:00
Christophe Matthieu 175d42c978 [FIX] web: boot.js: odoo.init is called twice 2015-07-10 17:00:16 +02:00
Christophe Matthieu 5d51aff938 [FIX] summernote: insert a p tag when try to insert a br with insertNode method, if the editor is inside a p, li, h1... 2015-07-10 17:00:16 +02:00
Christophe Matthieu b183817218 [FIX] website: infinite loop in website add page method 2015-07-10 17:00:16 +02:00
Christophe Matthieu 087fd6942b [IMP] web_editor: add test translator 2015-07-10 17:00:15 +02:00
Christophe Matthieu 92983cfede [IMP] tour: add log attribute on run method and add getHandlers on jQuery to display the list of handler when the tour try to trigger event 2015-07-10 17:00:15 +02:00