Skip to content

Multi-company invoices and revenues create errors #804

@iahmadaj

Description

@iahmadaj

Please, submit only real issues. Use the forum for support, feature requests, proposals, new versions, help etc. https://akaunting.com/forum

Steps to reproduce the issue

1- Create a new company and switch to that company
2- Go to incomes->invoices or incomes->revenues
3- Click on add new and it will show "Whoops, looks like something went wrong."
4- Also an error when you try to go to general settings for this 2nd company

Expected result

1- It should show a form to add invoices or Revenues
2- For settings it should show general settings form

Actual result

Displays an error page with "Whoops, looks like something went wrong." error

System information (Akaunting, PHP versions)

Akaunting_1.3.14-Stable version, and

PHP Version 7.1.27

Additional comments

After debugging I noticed that for 2nd company the settings table is not being populated with some required variable for invoices and revenues. After I changed the code and added those settings variables it started working as expected.

I just want to know if I am doing anything wrong while adding new company or during company management do I need to do anything extra which I am missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions