all journals company_id is set to the same company_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I cannot document very well this bug and I am looking for some help to find out more accurate information.
After using a while with a certain user, all journals in account_journal have the company_id set to the current_user company_id.
Problem is I dont know how to trace it back as I only can knowledge the problem when I change the user
I had the problem without doing the following activity : invoicing, inputing sales and purchase orders, no manual entry or payment.
I was mainly creating new products, templates and generating variants
version 5.0.7 with stable_addons and trunk downloaded with bzr on 2010/04/16.
I have very few non-standard modifications (mostly reports)
I use multi-company environnement with the following modules
account
account_
account_
account_
account_asset
account_balance
account_
account_base
account_budget
account_chart
account_
account_
account_payment
account_
account_report
account_reporting
account_simulation
base
base_contact
base_contact_city
base_crypt
base_language
base_partner_gender
base_partner_
base_report_creator
base_report_
base_report_unicode
base_setup
base_vat
board
board_account
board_crm_
board_document
board_project
board_sale
c2c_currency_
c2c_multicost_base
c2c_multicost_stock
c2c_multicost_
c2c_multicost_
c2c_refresh_
c2c_reporting_tools
city
crm
crm_configuration
delivery
document
document_extension
document_ics
event
fashion
google_calendar
google_map
hr
hr_attendance
hr_timesheet
hr_timesheet_
hr_timesheet_sheet
import_export
invoice_sequence
l10n_chart_
l10n_fr
mrp
mrp_jit
multi_company
multi_company_
multi_company_
multi_company_
multi_company_
multi_company_
multi_company_
multi_company_
process
product
product_
product_
product_
profile_service
project
project_gtd
purchase
purchase_
purchase_delivery
purchase_number
report_account
report_analytic
report_
report_
report_analytic2
report_crm
report_document
report_purchase
report_sale
report_task
report_timesheet
sale
sale_analytic_plans
sale_category
sale_crm
sale_delivery
sale_delivery_
sale_intercompany
sale_intercompa
sale_margin_
sale_numbers
sale_payment
sale_product_
sale_supplier_
stock
stock_invoice_
In fact with a little bit of luck and perseverance, I found that this happens when we upgrade a module "account" and in the log I found the following information that might be responsible for the strange behaviour:
[2010-04-21 19:25:32,384] INFO:orm:column company_id (Company) in table account_journal removed: converted to a function !