[ 
https://issues.apache.org/jira/browse/OFBIZ-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato closed OFBIZ-412.
-----------------------------------

    Resolution: Fixed

Thank you Eriks,

this is fixed in rev. 604154

> Cannot assign SGA_EXPENSE, COGS_EXPENSE, etc. account as default account for 
> purchase invoice item
> --------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-412
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-412
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Eriks Dobelis
>            Assignee: Jacopo Cappellato
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to