Skip to content

[BUG] 'Value-added Tax Return Settings x not found' after Company rename #24

@dvdl16

Description

@dvdl16

Current Behavior

The app breaks when a Company is renamed

Steps To Reproduce

  1. Have an existing Value-added Tax Return Settings record for a company
  2. Rename the company
  3. Create a new Value-add Tax Return
  4. Click on Get transactions for period
  5. See error

Expected Behavior

Handle Company renames properly, rather using a Company Link field instead of it's own name

Anything else?

Current Workaround:

  1. Open existing Value-added Tax Return Settings record
  2. Menu > Duplicate
  3. Before saving, delete the existing Value-added Tax Return Settings record
  4. Click Save on draft created in Step 2

Environment and Versions

<redacted> Custom: v0.0.1 (HEAD)
South Africa Customisations: v0.2.1 (HEAD)
<redacted>: v0.2.0 (HEAD)
ERPNext: v15.54.5 (HEAD)
Frappe Framework: v15.56.1 (HEAD)

Operating System

Windows

What browsers are you seeing the problem on?

Firefox

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions