Commit Graph
95642 Commits
Author SHA1 Message Date
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
Jeremy Kersten fcff956c55 [IMP] website_sale: display cgv at payment step 2015-06-10 21:46:05 +02:00
Jeremy Kersten 18aa569a10 [IMP] website_sale: allow extra step as option
Allow to add a step between address and payment form to allow to customize the
 checkout form.

Only fields prefixed with x_ value are allowed. So it's to the user to implement
 automated action if they want write on a default field not prefixed by x_.
2015-06-10 21:46:05 +02:00
Jeremy Kersten 8e905d318a [IMP] website_sale: uniformize wizard_checkout 2015-06-10 21:46:04 +02:00
Jeremy Kersten a2b7678f10 [IMP] website_sale: add popup resume cart
Add popover to display a resume of the cart at hover of menu 'My Cart'
2015-06-10 21:46:04 +02:00
Jeremy Kersten 48a0263397 [IMP] res_country: add one2many for states and phone prefix 2015-06-10 21:46:04 +02:00
Jeremy Kersten 3315aeef1f [IMP] website_sale: typo in order state message.
Not clear for the end user... Now we can distinct the payment error
(not in done,cancel,pending) from the payment which need a manual
activation.
2015-06-10 21:46:03 +02:00
Jeremy Kersten 5dcfa83e1b [IMP] website_sale: display attributes according current products
If you filter the list of products with category, we don't display all the attributes,
but only the list of attributes impacted by the current sub-select of products.
2015-06-10 21:46:03 +02:00
Jeremy Kersten 62844ec9be [IMP] website_sale: switch column price and quantity in front end 2015-06-10 21:46:03 +02:00
Paul Catinean e5602afb6d [IMP] website_sale: Delaying json call to cart_update
Don't call update_cart at each click, but wait until 500 ms before that json
call is trigerred.

If poeple click 3 times quickly on the plus, that will avoid to sent three
requests with set_qty 1, set_qty 2, set_qty 3, but only one with set_qty 3.

Based on / fix #6102
2015-06-10 20:48:51 +02:00
Jeremy Kersten 5a5dd1e100 [IMP] website_sale: add publish button in view list 2015-06-10 20:48:50 +02:00
Jeremy Kersten 8bac2adcee [FIX] base: ir_ui_view don't call clear cache in dev mode since decorator is conditionnal
If we are in dev mode, _read_template has no cache, so impossible to clear the cache.
Some code call directly the _read_template, it's why the condition is duplicated (fe4df440a0)
2015-06-10 20:48:50 +02:00
Jeremy Kersten 4a7fed2745 [IMP] website_sale_delivery: only display delivery cost in cart if already set 2015-06-10 20:48:50 +02:00
qdp-odoo 1243937e10 [FIX] account: usability small improvement in invoice form view 2015-06-10 15:49:13 +02:00
qdp-odoo b92bb1b156 [IMP] account: modifying the short name of a journal now updates accordingly its sequence(s), if it doesn't contain any journal items (otherwise it raises an error) 2015-06-10 15:11:19 +02:00
Jamin Shah cec4e34146 [IMP] sale_crm, website_sale : onboarding improvements
sale_crm : prevent the creation of SO from lead form view (avoid bypassing process)
website_quote : "View Quotation" on SO form view should not be a state button, so it is now replaced by a link near the field
2015-06-10 14:46:57 +02:00
Géry Debongnie d4a8ab4691 [FIX] web: datetime widget didn't detect all changes
The datetime widget use the "keypress" event to detect if it has been
changed.  Unfortunately, some keys, such as backspace, do not fire a
keypress event.  This commit listen instead on the 'change' event, which
should fire when the input has changed.
2015-06-10 14:00:57 +02:00