openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #04579
[Bug 912377] Re: HR Expense module does not create invoice
Hello,
I have checked your issue with latest stable-6 and trunk both at my end,
but all are working fine.
I have attached a video for your more reference, so would you please
check it and notify us where you have faced the problem or may I missed
something.
Thanks and waiting for your reply!
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/912377
Title:
HR Expense module does not create invoice
Status in OpenERP Addons (modules):
Incomplete
Bug description:
The expense module allows to generate automatically a purchase invoice
after the approval of the expense sheet, in order to create accounting
entries for paying the employee (purchase).
After creating the expense, confirmed and approved, on clicking the
invoice button to generate the invoice, I get the following error:
ERROR:db.cursor:bad query: insert into "account_invoice" (id,"origin","internal_number","fiscal_position","user_id","account_id","reference","payment_term","address_contact_id","reconciled","reference_type","company_id","journal_id","currency_id","state","type","check_total","address_invoice_id","partner_id","name",create_uid,create_date) values (10,E'Test',NULL,NULL,1,NULL,E'EXP/001',NULL,149,E'False',E'none',1,35,43,E'draft',E'in_invoice',E'0.00',149,144,E'Test',1,now())
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "account_id" violates not-null constraint
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/912377/+subscriptions
References