Commit Graph
95658 Commits
Author SHA1 Message Date
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
sha-odoo 0a2fd78b81 [IMP] crm: res.partner kanban view: filter the displayed meetings
when clicking on the meetings of a partner.
2015-06-15 11:08:09 +02:00
Christophe Matthieu 2a832f23a3 [FIX] web: can't load the page database mangager because session_instance.js is missing 2015-06-15 10:46:40 +02:00
Josse Colpaert 2cb3a90c1c [IMP] Barcode interface and transfer wizard in picking form instead
Pack operations will not appear in a transfer wizard or bar code interface anymore, but
in the picking form itself.  Some wizards are still needed however to ask whether a
backorder needs to be created and whether we need to do an immediate transfer

The biggest change in the model is in the picking where the locations of the picking
are not a related anymore, but need to be set. That is why the tests need to be changed.
This allows also to have pickings without moves initially and just move one pack e.g.
Locations won't be visible on stock moves in a picking either.  (as they should be those of the picking)

In order to avoid confusion, the pack operations are created immediately when stock is reserved and we
are not waiting until the wizard or the bar code interface is launched anymore.

The recompute button previously in the barcode interface will only appear when the reservation changed
and the user indicated in the pack operations that something was moved already.  Otherwise it will
recompute the pack operations.  That way the reservation on the stock moves, is reflected by the pack operations.

Return pickings are not confirmed automatically when confirming the return wizard.
That should make it possible to choose another location for the return.  (Don't return in output e.g.)

Barcode scanning is not in this commit.
2015-06-15 10:18:17 +02:00
Hitesh Trivedi 0bfb7d6915 [IMP] sales_team: Make sales team company specific 2015-06-15 09:09:56 +02:00
Olivier Dony 839b739ab5 [FIX] account, l10n_be: disable/remove WIP references to financial reports
To be done under @qdp-odoo's supervision
2015-06-15 04:36:24 +02:00
Denis Ledoux a29e291b69 [FIX] point_of_sale: ACLs & security rules
POS users/managers should not have any access
to the account.move/account.move.line, since
they are not accountants.

Regarding the bank statements, they should only
have access to the ones coming from the POS
specifically.

opw-628000
2015-06-12 12:33:48 +02:00
Christophe Matthieu bd3f6e447e [IMP] web: split misc.js into misc.js and session_instance.js 2015-06-12 12:02:34 +02:00
pvy 69ff9d1eaa [IMP] stock_account: added property stock accounts to remove dependencies 2015-06-12 10:10:28 +02:00
Fabien Pinckaers f9735c1b78 [IMP] opportunity view form, two buttons 2015-06-11 23:07:52 +02:00
Christophe Matthieu 9f000449dc [IMP] boot.js: add debugging features on odoo.__DEBUG__ object: get_missing_jobs and get_waited_jobs 2015-06-11 17:11:21 +02:00
Christophe Matthieu 8f1bb1f72b [IMP] qweb2.js: display with console.debug the error message and the template name when the qweb try to compute a wrong template 2015-06-11 17:11:21 +02:00
Jigar Patel 22b7362df1 [FIX] website: Fix choose image option 2015-06-11 15:08:14 +02:00
Jaysinh Shukla 6909d0e986 [IMP] survey: tests suite and basic UI tests
(+ a few fixes)
2015-06-11 12:25:21 +02:00
bpa-odoo 36af1abba7 [FIX] im_livechat : use env.context and not env._context. Typo, typo, typo ... 2015-06-11 12:08:10 +02:00
Thibault Delavallée dbb7d38176 [FIX] account: fix untested buggy code introduced at commit
28bd881d919c0779c7a0d554036861f165016b27. It is better to ensure a value exists
in a dictionnary when using it ;) .
2015-06-11 10:36:33 +02:00
Yannick Tivisse a2d4d23912 [IMP] sale,purchase: removed multi-analytic plans settings
Lots of people used to activate this option by mistake, so we remove the
checkbox but people can still install the module.
2015-06-11 10:23:55 +02:00
Jeremy Kersten d6a30df5cc [IMP] website_payment: add payment method in footer
(optionnal and desactivate by defaut)

Add all acquirers published in the automatic footer
2015-06-10 21:50:50 +02:00
Jeremy Kersten c4a6e504e3 [FIX] website_sale: fix tracking js
Dom has been changed by another commit
2015-06-10 21:46:05 +02:00