using the built in standard groups I have created a users doctor, belonging to the group Health Doctor and backoffice belonging to the group Health Backoffice.
As the user doctor, I can add items to the Health Services Modules, when I try and create the Health Service Invoice I am getting:
As the backoffice user I can access the Health Service record created by the user doctor, but can not create invoice, getting:
I have two payment terms created, cash and medical aid.
68.254.101:54589 using JSON-RPC on database 'medicare'
[Sun Oct 07 14:11:49 2012] INFO:dispatcher:successful login 'admin' from ::ffff:
192.168.254.101:54594 using JSON-RPC on database 'medicare'
[Sun Oct 07 14:13:54 2012] ERROR:sql:Wrong SQL: INSERT INTO "account_invoice" ("account","description","reference","payment_term","journal","currency","state","invoice_address","company","party","type", create_uid, create_date) VALUES ( 5, E'Consultation', E'SERV 2012/001', NULL, 1, 152, E'draft', 7, 1, 7, E'out_invoice', 1, '2012-10-07T14:13:54.189154'::timestamp) RETURNING id
Your assistance will be greatly appreciated.