Commit Graph
95676 Commits
Author SHA1 Message Date
Xavier Morel 77eca089d1 [FIX] website editor clear()
Apparently in some unclear situations, using delete on the dataset blows
up (issue appears in both Safari and phantomjs) failing the test.

Only try the deletion if the item is actually present in the dataset,
and wrap it in a try/except to handle it blowing up
2015-06-17 11:12:58 +02:00
Richard Mathot 128a3be192 [FIX] base_action_rules: outdated domain 2015-06-17 11:08:38 +02:00
Valerie Pirenne 1e31376e71 [FIX] mail: default_model and default_res_id in chatter 2015-06-17 10:43:37 +02:00
qsm-odoo cc7fb1372d [MERGE] Update modals and calendar to new design
Add new modals (new Dialog class + FormViewDialog, SelectCreateDialog, ...)
    + adapt every call to old dialog classes
Add new web_calendar (+ use of new modals for events)
Adapt FieldCharDomain to new modals (+ add debug mode)
2015-06-17 10:07:48 +02:00
qsm-odoo ac8148cfca [FIX] web, web_tests: update css classnames
Update css classnames used in web.tour.js and add them to corresponding
elements in web
2015-06-17 10:03:03 +02:00
qsm-odoo ec7e399b4f [IMP] web: adapt FieldCharDomain to new modals + add debug mode 2015-06-17 09:49:46 +02:00
qsm-odoo 46bf047e86 [IMP] web, web_*, mail, board : New modals and dialogs 2015-06-17 09:49:46 +02:00
qsm-odoo d6d3d0983f [IMP] web, web_calendar: New calendar 2015-06-17 09:49:46 +02:00
moylop260 6b56091749 [IMP] hr_payroll_account: more generic partner computation
Add method to get partner from hr_payslip_line instead of forcing the current rule
Fixes #3385
2015-06-16 23:28:28 +02:00
Bhumi Patel 1cf56540ad [IMP]website_version:remove save and publish option from dropdown menu and change text of save button when working in another version. 2015-06-16 17:52:11 +02:00
Christophe Matthieu a2896bf28e [FIX] web: database_manager template try to call bootstrap.js instead of modal.js and tooltip.js 2015-06-16 17:13:01 +02:00
Christophe Matthieu 8fcd314253 [IMP] boot: add failed modules in unloaded modules to add informations like dependents, and remove failed modules from the missing module list 2015-06-16 17:13:01 +02:00
Frédéric van der Essen c0712b2ede [FIX] point_of_sale: remove obsolete field 2015-06-16 17:05:47 +02:00
Aaron Bohy c99c6a8974 [REF] web, mail: update jquery autosize to version 3.0.5
Note: it is no longer a jquery plugin
2015-06-16 16:10:38 +02:00
Thibault Delavallée f4f4a4db73 [FIX] mrp_repair: v7 API of Tax.compute_all() takes ids as parameter
and not browse records.
2015-06-16 14:41:08 +02:00
Aaron Bohy c31ef083ff [FIX] web: view_manager: instantiate sidebar before calling do_show
In google_drive, the sidebar is extended and listens to the event
load_record triggered when do_show of form_view is performed. The
sidebar should thus be instantiated before calling do_show, otherwise
the gdrive button is not available for the first record displayed in
a form_view.
2015-06-16 14:14:07 +02:00
Frédéric van der Essen 8406eeb440 [IMP] point_of_sale: contributing partners demo data.
Conflicts:
	addons/point_of_sale/point_of_sale_demo.xml
2015-06-16 13:40:02 +02:00
Christophe Matthieu 5e7e8e90b3 [FIX] web: add 'forget' commands in AbstractManyField 2015-06-16 12:32:57 +02:00
Géry Debongnie 2c7367a8cc [MERGE] new kanban view
This branch introduces the new kanban view.  It is not completely
compatible with the previous version.  Here are a few importants
points to be aware of:
* the kanban view template is rendered directly, not put inside a div.
  It means that if a template has more than one root, chaos will ensue
* kanban view has been split into several files, and various js modules
  have changed.  For example, the KanbanRecord class is now exported by
  the 'web_kanban.Record' module.  So, require statements need to be
  updated
* records do not have access to the view (i.e., record.view.is_action_enabled('edit'))
  You can use the 'editable' and 'deletable' key instead
2015-06-15 16:31:27 +02:00
Géry Debongnie 82186a93bb [IMP] note: update some templates to new design 2015-06-15 16:30:38 +02:00
Géry Debongnie e48c50bb10 [IMP] crm: update kanban templates 2015-06-15 16:30:37 +02:00
Géry Debongnie adcdf70d9e [FIX] web_tests: update test to use new modules 2015-06-15 16:30:37 +02:00
Géry Debongnie f4224cce7d [IMP] product: update template to new design 2015-06-15 16:30:37 +02:00
Nicolas Lempereur e765875700 [FIX] form_views: fix button box for new design
Now there should be only one button box per page, and the name should be
"button_box".

Conflicts:
	addons/crm/crm_tip_data.xml
	addons/event/event_tip_data.xml
	addons/fleet/fleet_view.xml
	addons/hr/hr_view.xml
	addons/hr_recruitment/hr_recruitment_view.xml
	addons/project/project_tip_data.xml
	addons/purchase/purchase_tip_data.xml
	addons/sale_crm/sale_crm_view.xml
	addons/website_quote/views/website_quotation_backend.xml
	openerp/addons/base/res/res_partner_view.xml

Conflicts:
	addons/account_reports/views/partner_view.xml

Conflicts:
	addons/claim_from_delivery/claim_delivery_view.xml
	addons/stock/stock_view.xml
2015-06-15 16:30:37 +02:00
Géry Debongnie efe9e0241f [IMP] hr: update some templates to new design 2015-06-15 16:30:36 +02:00
Géry Debongnie d6fa3e3709 [IMP] base: improve module view template 2015-06-15 16:30:36 +02:00
Géry Debongnie 461e3d6784 [FIX] various: update some js modules to new kanban
The kanban view has been split in various files, and js modules
using them need to correctly import the classes.
2015-06-15 16:30:36 +02:00
Géry Debongnie d6506b22e4 [IMP] project: update to new design 2015-06-15 16:30:36 +02:00
Géry Debongnie 05adb7f235 [FIX] various: update res.partner template
Update to new design (kanban and form view)
2015-06-15 16:30:35 +02:00
Géry Debongnie b1557efa9e [FIX] web_kanban_gauge: update to new kanban view 2015-06-15 16:30:35 +02:00
Géry Debongnie a8d102b79c [FIX] sales_team: update to new kanban view 2015-06-15 16:30:35 +02:00
Géry Debongnie 6c0923f5b4 [FIX] account: update to new kanban view 2015-06-15 16:30:35 +02:00
Aaron Bohy 4072e336a2 [FIX] Cross-addons: Kanban templates: records editable/deletable
for the sake of compatibility with the communication logic in the
new Kanban implementation.
2015-06-15 16:30:35 +02:00
Géry Debongnie c530c0d1ee [FIX] web: various tweaks to make web_kanban view work 2015-06-15 16:30:34 +02:00
Géry Debongnie 01c3dfa7d2 [IMP] web: add pager widget to web client
This pager is used by the kanban view. It could be used by the list
view, the form view and some others (and it is, in the enterprise
edition)
2015-06-15 16:30:34 +02:00
Géry Debongnie ae583ba173 [REF] web_kanban: new redesigned kanban view
This commit introduces an almost completely rewritten kanban view. It
was necessary in order to be able to render a different DOM to match
the new design.

It basically has the same features as before, but will render a
different DOM.  Three main differences, API wise, should be noted:
* the way the kanban view components communicate has been changed.  It now
  uses events, and event bubbling.
* kanban records do not have access to the view, so every call to this.view
  should be updated
* kanban templates are no longer wrapped in a div, so they should have a
  single root element for better result.
2015-06-15 16:30:34 +02:00
Simon Lejeune 5cb10d4fc9 [IMP] web: update bootstrap to 3.4, and use less files
important note: the bootstrap.css file is left in the tree because
it is used for reports.  (reports fails if they use the less files)
2015-06-15 16:29:38 +02:00
Raphael Collet 2e4e1a3c10 Merge pull request #7069 from odoo-dev/master-base_action_rule-rco
[IMP] base_action_rule: improve functionality of automated actions
2015-06-15 14:51:34 +02:00
Christophe Matthieu 9c1155a020 [IMP] web: boot.js add some informations for debugging (missing modules, failed modules, unloaded modules). Add odoo.init in the website to display debugging informations. 2015-06-15 13:45:52 +02:00
Raphael Collet 180ed9dab9 [IMP] base_action_rule: process all results in onchange method 2015-06-15 12:44:19 +02:00
Raphael Collet c59b0eb8c3 [IMP] base_action_rule: merge _register_onchange() into _register_hook()
Improve _register_hook() so as to patch only the necessary methods, and use the
fact that _register_hook() is always called on a "clean" registry.
2015-06-15 12:44:19 +02:00
Raphael Collet 7d648542a5 [IMP] base_action_rule: simply reload the registry after modifying rules
This simplifies the registry "patching", as it is now always made on a clean
registry.
2015-06-15 12:44:19 +02:00
Thomas Groutars 0cf21d3137 [IMP] Make on_change_fields a char field 2015-06-15 12:44:19 +02:00
Thomas Groutars 3fe1199572 [IMP] Allow to define custom onchanges 2015-06-15 12:44:19 +02:00
Thomas Groutars c9d41b409f [IMP] Allow 'On Deletion' automated actions 2015-06-15 12:44:19 +02:00
Thomas Groutars 9d7964a6b5 [IMP] Add old values in context of on write automated actions 2015-06-15 12:44:18 +02:00
Raphael Collet b0d0625277 [IMP] ir_model: in method write(), prevent the update of critical fields
Also fix code that tries to rename models!
2015-06-15 12:19:52 +02:00
Thomas Groutars 5c0bfaafd1 [IMP] ir_model: enable the creation of transient custom models
Rename the field 'osv_memory' on 'ir.model' into 'transient', and make it a
regular field instead of a computed one.  When instantiating a custom model,
use its value to make transient models.

This commit alone will make your server crash on an existing database.  A small
database migration is needed: simply add a boolean column `transient` (with
default value false) in table `ir_model`.
2015-06-15 12:19:52 +02:00
Christophe Matthieu b8527edcd2 [FIX] web: database_manager: remove unused javascript files who displayed error inside the chrome console 2015-06-15 11:34:48 +02:00
Jeremy Kersten 237564626e [REF] base: res_country - rename phone_prefix to phone_code
Thanks to 'The en_US police' for feedback
2015-06-15 11:20:31 +02:00