Commit Graph
99161 Commits
Author SHA1 Message Date
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
Goffin Simon, Nicolas Lempereur 98a72a2604 [FIX] website_sale_delivery: update shopping cart
The delivery must be updated when the cart is updated.
The method "_check_carrier_quotation" called by "_cart_update" deletes sale order line related to delivery.
Then each line passed to "_cart_update" must be checked with "exists" to be sure that the record is not
missing.
Related to the task : 12239
opw:641913
2015-06-16 13:56:43 +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
Frédéric van der Essen 018435c6d7 [IMP] point_of_sale: contributing partners demo data. 2015-06-16 12:52:02 +02:00
Christophe Matthieu 5e7e8e90b3 [FIX] web: add 'forget' commands in AbstractManyField 2015-06-16 12:32:57 +02:00
Goffin Simon 70c21d7b0d [FIX] stock: source document
The origin of a stock.move must be the same of its  picking destination.

opw:641887
2015-06-16 09:38:11 +02:00
StefanRijnhart 3940a096b2 [FIX] http: Compatibility with psutil 3.0
Version 3.0 has replaced get_memory_info by memory_info.
Create wrapper to be able to use the correct one depending on the installed
version.
2015-06-16 08:59:44 +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
Denis Ledoux 55b7f15ee2 [FIX] stock_account: stock valuation report performances
Basically, computation of the `inventory_value` is now done
in batch instead of one by one.

In a real use case, the computation of the stock valuation
passed from 20+ minutes to less than a minute.

This revision contains an unusual SQL request:
`SELECT DISTINCT ON`
Basically, it returns the most recent line of table
product_price_history for each tuple
`(product_template_id, company_id)`
which is actually what we want, with good performances.

See postgresql doc for more information:
http://www.postgresql.org/docs/9.0/static/sql-select.html#SQL-DISTINCT

opw-641154
2015-06-15 16:28:13 +02:00
Christophe Simonis 0d5b01543e [MERGE] forward port of branch saas-3 up to 8855659 2015-06-15 16:25:00 +02:00
Christophe Simonis 885565968f [MERGE] forward port of branch 7.0 up to d566558 2015-06-15 16:24:11 +02:00
Denis Ledoux d566558a6c [FIX] membership: missing name field in search view.
Which leaded to the inability to search on the partner name

opw-642301
fixes #6703
2015-06-15 15:26:39 +02:00
Denis Ledoux 5fc8315e25 [FIX] report_vat: display tax of selected chart of tax.
The Taxes report gives the possibility to choose a chart of tax.
This chart of tax wasn't respected when printing the report,
all taxes from all chart of taxes of the company were printed.

opw-642362
2015-06-15 15:09:52 +02:00
Damien Bouvy de8d90e12e [IMP] website_quote: add payment management
Until now, you could only sign and confirm a sale order from the frontend.

From now on, you can also pay sale orders if the 'Immediate Payment'
option is checked on the sale order.
2015-06-15 14:57:16 +02:00
Damien Bouvy 3dafbe9aa8 [IMP] website_payment: module is no longer an empty shell
With this module, you can register payment methods with a nice formatting
2015-06-15 14:57:16 +02:00
Damien Bouvy c3c0408471 [ADD] website_portal
- manage your sale documents from the frontend in the 'My Account' page
- move 'My Orders' page from website_sale to website_portal to manage your orders and quotations
- update website_sale_digital and website_sale_stock controllers and view
2015-06-15 14:57:15 +02:00
Damien Bouvy 6cca3ee0f5 [IMP] account_analytic_analysis: move feature to another module
Feature: adding a recurring_invoice field on product_template; when a SO is linked to a contract, these products are added automatically
Moved to: sale_contract (internal module, will be shipped with v9/saas7)
2015-06-15 14:57:15 +02:00
Damien Bouvy 37c3b69fb7 [IMP] hr_timesheet_invoice: set header in contract form view to be invisible when viewing a template (templates don't need states) 2015-06-15 14:57:15 +02:00
Damien Bouvy ef86cfaa1c [IMP] payment_ogone: add support for s2s payments 2015-06-15 14:57:15 +02:00
Damien Bouvy dbd3efef1f [IMP] payment: add support for server2server payments
This commit adds a new model, Payment Method, which stores
a reference to the payment acquirer's database and a reference to
a partner. Each payment module must have its own implementation.

The implementation is completely abstract but may not suit every
provider's way of implementing recurring payments.
2015-06-15 14:57:14 +02:00
Goffin Simon c7c2f5743b [FIX] base: export translation
In css, overflow-x and overflow-y must have the same value. If overflow-x is equal to
auto then overflow-y is equal to auto.
To solve the problem, the height of the input is removed because it is forced by the Jquery
auto-completion plugin according to the wrapper.
Without this patch, when you go to Settings > Import/Export > Export Translation and click on the arrow to
to show the list of modules you can export, the list is partially hidden.

opw:632607
2015-06-15 14:54:07 +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
Christophe Simonis 4647778758 [MERGE] forward port of branch 8.0 up to ea59856 2015-06-15 12:28:32 +02:00