Topic: Bug Created by Last Commit to items.php

After this Commit a bug is found in items.php.

If by chance the Item Code matches with any of the GL Code then When you see the details of any Item it shows that GL Code in all related GL Accounts for that Item.

www.boxygen.pk

Re: Bug Created by Last Commit to items.php

I tried to do the same thing, like I created a GL account ( 121110)
And I created an item with same item code. 

And i tried to clone it and also it saved with different code. during the clone it worked fine.

Than i placed one PI and checked things. Really sorry, i couldn't understand the abnormal behaivour

Subscription service based on FA
HRM CRM POS batch Themes

3 (edited by boxygen 11/02/2018 05:07:13 pm)

Re: Bug Created by Last Commit to items.php

The problem is not in Cloning but Just in View of an already Created Item whose Code is Same as that of any GL Code.

To Reproduce the Error follow the steps below

Login here
id: admin
pass: Pakistan1947

Go to Iitems&Inventory>>Items

Create a New Item with Code 5800 and check the behavior.

There is already a GL Account with Code 5800 named Licenses.

Once you Create the Item and then Reopen it you will see this screen

While you see the above screen the Data in Database is absolutely correct. The problem is just in View of the related GL Codes for this Item.

Note: This installation is a Fresh installation with the Demo Data

Post's attachments

screen.png 122.2 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.
www.boxygen.pk

Re: Bug Created by Last Commit to items.php

@joe: This could be an issue based on the commit at line 363 where a sales_account is used instead of item units.

Re: Bug Created by Last Commit to items.php

This bug is not addressed yet I think.

www.boxygen.pk

Re: Bug Created by Last Commit to items.php

@joe: any thoughts?

Re: Bug Created by Last Commit to items.php

@joe , please have a look at this bug also or roll it back

www.boxygen.pk

Re: Bug Created by Last Commit to items.php

Hello,

Please address this to Janusz directly. I see he is responsible for the change. Quite complicated.

/Joe

Re: Bug Created by Last Commit to items.php

@itronics: Please have a look. Will need to revert the line 363 changes in inventory/manage/items.php