odoo/addons
Cédric Pigeon a1aada9f76 [FIX] stock: new cursor for orderpoint
On large databases, the orderpoint calculation can fail due to the huge
cache used diring the process.

Instead of using one cursor for the transaction, we create a new cursor
every 100 orderpoints, to limit the cache size and speed up the
performances.

opw-726711
Closes #16158
2017-04-03 10:13:03 +02:00
..
account [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
account_accountant [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
account_analytic_analysis [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
account_analytic_default [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
account_analytic_plans [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
account_anglo_saxon [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
account_asset [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
account_bank_statement_extensions [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
account_budget [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
account_cancel [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
account_chart [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
account_check_writing [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
account_followup [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
account_payment [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
account_sequence [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
account_test [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
account_voucher [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
analytic [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
analytic_contract_hr_expense [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
analytic_user_function [I18N] Update translation terms from Transifex 2017-02-05 02:54:43 +01:00
anglo_saxon_dropshipping [FIX] anglo_saxon_dropshipping: fix accounting entries creating on anglo_saxon + real_time + dropship. 2016-10-17 09:39:53 +02:00
anonymization [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
association [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
auth_crypt [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
auth_ldap [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
auth_oauth [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
auth_openid [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
auth_signup [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
base_action_rule [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
base_gengo [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
base_geolocalize [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
base_iban [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
base_import [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
base_import_module [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
base_report_designer [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
base_setup [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
base_vat [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
board [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
bus [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
calendar [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
claim_from_delivery [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
contacts [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
crm [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
crm_claim [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
crm_helpdesk [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
crm_mass_mailing [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
crm_partner_assign [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
crm_profiling [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
crm_project_issue [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
decimal_precision [I18N] Update translation terms from Transifex 2017-02-05 02:54:43 +01:00
delivery [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
document [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
edi [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
email_template [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
event [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
event_sale [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
fetchmail [I18N] Update translation terms from Transifex 2017-03-01 02:54:50 +01:00
fleet [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
gamification [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
gamification_sale_crm [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
google_account [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
google_calendar [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
google_drive [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
google_spreadsheet [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
hr [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
hr_applicant_document [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
hr_attendance [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
hr_contract [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
hr_evaluation [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
hr_expense [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
hr_gamification [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
hr_holidays [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
hr_payroll [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
hr_payroll_account [I18N] Update translation terms from Transifex 2017-02-05 02:54:43 +01:00
hr_recruitment [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
hr_timesheet [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
hr_timesheet_invoice [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
hr_timesheet_sheet [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
hw_blackbox_be [FIX] hw_proxy,hw_blackbox_be: make RS-232 drivers protect their device 2016-11-14 17:11:57 +01:00
hw_escpos [IMP] hw_escpos: more fault tolerant printer detection 2017-03-16 13:37:20 +01:00
hw_posbox_homepage [ADD] hw_screen: implement support for customer facing displays (#15303) 2017-03-21 11:50:12 +01:00
hw_posbox_upgrade [IMP] hw_proxy: remove the old docs and refer to the new docs 2015-10-26 09:09:37 +01:00
hw_proxy [IMP] hw_proxy: add lsusb full output to hw status page 2016-11-14 17:11:57 +01:00
hw_scale [FIX] hw_scale: update driver for rs232_devices map and support AdamAZExtra scale 2016-11-14 17:11:57 +01:00
hw_scanner [IMP] hw_scanner: support multiple simultaneously attached devices 2016-06-08 10:03:09 +02:00
hw_screen [ADD] hw_screen: implement support for customer facing displays (#15303) 2017-03-21 11:50:12 +01:00
im_chat [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
im_livechat [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
im_odoo_support [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
knowledge [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
l10n_ae
l10n_ar [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
l10n_at
l10n_be [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_be_coda [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
l10n_be_hr_payroll [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_be_hr_payroll_account
l10n_be_intrastat [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_be_invoice_bba [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
l10n_bo [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_br [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_ca [FIX] l10n_ca - fix tax calculation for BC, MB and SK. Was PR #10376 2016-02-19 13:43:29 +01:00
l10n_ch
l10n_cl [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
l10n_cn [I18N] Update translation terms from Transifex 2016-06-01 00:27:50 +02:00
l10n_co
l10n_cr [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
l10n_de [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
l10n_do
l10n_ec [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
l10n_es [I18N] Update translation terms from Transifex 2017-01-22 03:25:31 +01:00
l10n_et
l10n_eu_service [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_fr [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
l10n_fr_hr_payroll [FIX] l10n_fr_hr_payroll: use `child_of` 2016-06-10 11:39:47 +02:00
l10n_fr_rib [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
l10n_gr [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_gt [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_hn [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_hr
l10n_hu
l10n_in [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_in_hr_payroll [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_it [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_jp
l10n_lu [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
l10n_ma [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_multilang [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
l10n_mx
l10n_nl [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_no
l10n_pa
l10n_pe [I18N] fetch missing terms in previous pull 2017-01-23 15:58:56 +01:00
l10n_pl [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_pt
l10n_ro [IMP] l10n_ro: Update tax code, taxes, chart of accounts. 2015-12-29 11:07:18 +01:00
l10n_sa
l10n_sg
l10n_si
l10n_syscohada [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_th [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
l10n_tr
l10n_uk [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
l10n_us
l10n_uy
l10n_ve [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
l10n_vn
lunch [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
mail [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
marketing [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
marketing_campaign [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
marketing_campaign_crm_demo [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
marketing_crm [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
mass_mailing [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
membership [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
mrp [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
mrp_byproduct [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
mrp_operations [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
mrp_repair [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
multi_company [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
note [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
note_pad [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
pad [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
pad_project [I18N] Update translation terms from Transifex 2016-12-11 02:58:13 +01:00
payment [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
payment_adyen [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
payment_authorize [IMP] payment_*: avoid access error on provider model 2016-09-06 10:20:41 +02:00
payment_buckaroo [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
payment_ogone [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
payment_paypal [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
payment_sips [IMP] payment_*: avoid access error on provider model 2016-09-06 10:20:41 +02:00
payment_transfer [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
point_of_sale [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
portal [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
portal_claim [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
portal_gamification
portal_project [I18N] Update translation terms from Transifex 2017-03-01 02:54:50 +01:00
portal_project_issue [I18N] Update translation terms from Transifex 2016-11-27 02:57:09 +01:00
portal_sale [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
portal_stock
pos_discount [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
pos_restaurant [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
procurement [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
procurement_jit [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
procurement_jit_stock [FIX] procurement_jit_stock: Cancelled MO 2015-10-16 09:04:09 +02:00
product [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
product_email_template [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
product_expiry [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
product_extended [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
product_margin [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
product_visible_discount [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
project [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
project_issue [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
project_issue_sheet [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
project_timesheet [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
purchase [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
purchase_analytic_plans [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
purchase_double_validation [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
purchase_requisition [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
report [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
report_intrastat [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
report_webkit [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
resource [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
sale [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
sale_analytic_plans [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
sale_crm [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
sale_journal [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
sale_layout [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
sale_margin [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
sale_mrp [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
sale_order_dates [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
sale_service [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
sale_stock [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
sales_team [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
share [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
stock [FIX] stock: new cursor for orderpoint 2017-04-03 10:13:03 +02:00
stock_account [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
stock_dropshipping [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
stock_invoice_directly [I18N] Update translation terms from Transifex 2016-11-20 02:58:43 +01:00
stock_landed_costs [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
stock_picking_wave [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
subscription [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
survey [I18N] Update translation terms from Transifex 2017-04-02 02:56:31 +02:00
survey_crm [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
warning [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
web [FIX] web: Avoid double-fetching many2many tags in list views 2017-03-28 15:12:56 +02:00
web_analytics
web_api
web_calendar [FIX] web_calendar: remove attendee icons from event title 2017-03-24 15:12:39 +01:00
web_diagram [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
web_gantt [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
web_graph [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
web_kanban [I18N] Update translation terms from Transifex 2017-02-19 02:54:42 +01:00
web_kanban_gauge [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
web_kanban_sparkline
web_linkedin [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
web_tests
web_tests_demo
web_view_editor [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
website [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_blog [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_certification [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
website_crm [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
website_crm_partner_assign [I18N] Update translation terms from Transifex 2017-03-12 02:54:51 +01:00
website_customer [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
website_event [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
website_event_sale [I18N] Update translation terms from Transifex 2017-02-12 02:53:52 +01:00
website_event_track [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_forum [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_forum_doc [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_gengo [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_google_map [I18N] Update translation terms from Transifex 2017-01-29 02:55:31 +01:00
website_hr [I18N] Update translation terms from Transifex 2017-03-05 02:55:35 +01:00
website_hr_recruitment [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_instantclick
website_livechat [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
website_mail [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
website_mail_group [I18N] Update translation terms from Transifex 2017-04-01 02:56:03 +02:00
website_membership [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
website_partner [I18N] Update translation terms from Transifex 2017-02-05 02:54:43 +01:00
website_payment [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
website_project [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
website_quote [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
website_report [I18N] Update translation terms from Transifex 2017-02-26 02:55:24 +01:00
website_sale [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_sale_delivery [I18N] Update translation terms from Transifex 2017-03-26 03:09:57 +02:00
website_sale_options [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00
website_twitter [I18N] Update translation terms from Transifex 2017-03-19 02:55:34 +01:00