OCA / l10n-canada

Odoo modules for Canada
https://community.odoo.com/project/42
GNU Affero General Public License v3.0
8 stars 31 forks source link

[FIX] Fix warnings when installing hr_expense_line_supplier with demo data #73

Closed Ehtaga closed 8 years ago

Ehtaga commented 9 years ago

Installing hr_expense_line_supplier with demo data (for example in runbot) caused this warning:

2015-09-05 16:15:46,077 5535 WARNING 3114532-61-4f6da3-all openerp.osv.orm: WARNING: unable to set column partner_id of table hr_expense_line not null ! Try to re-run: openerp-server --update=module If it doesn't work, update records and execute manually: ALTER TABLE hr_expense_line ALTER COLUMN partner_id SET NOT NULL

I added partner_id fields on existing demo data. I had to separate the module in 2:

This should avoid #61 runbot build fail for example.

ehdem commented 9 years ago

:+1:

ghost commented 8 years ago

:+1: