Cannot assign SGA_EXPENSE, COGS_EXPENSE, etc. account as default account for purchase invoice item
--------------------------------------------------------------------------------------------------
Key: OFBIZ-412
URL:
http://issues.apache.org/jira/browse/OFBIZ-412 Project: OFBiz (The Open for Business Project)
Issue Type: Bug
Components: accounting
Reporter: Eriks Dobelis
In the Accounting screen allowing to edit GlAccount defaults for purchase invoices (accounting/control/addPurInvoiceItemTypeGlAssignment) there is a combobox, which is supposed to contain all expense accounts, which could be made as default accounts for certain Purchase invoice item type. Currently this Combobox lists only those accounts, which are directly of glAccountClassId EXPENSE, but not those, which are descandant classes, e.g. SGA_EXPENSE, COGS_EXPENSE, etc. The problem is in applications/accounting/webapp/accounting/admin/AdminForms.xml file, which states explicitely:
<entity-constraint name="glAccountClassId" operator="equals" value="EXPENSE"></entity-constraint>
Is there a simple way to fix it?
I suspect that similar problem could be with Sales invoice default account assignment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira