Skip to content

CI4: get_info() function in Item model no longer contains location_id parameter #3457

Closed

Description

@objecttothis

Issue / Bug / Question / New Feature

The add_item() function in the Receiving_lib calls item->get_info() with two parameters, but item->get_info() has just one parameter.

image

image

@jekkos You removed the 2nd parameter from the function back in 2014 (97ff190) when you were adding functionality to include stock locations. In that same commit you removed the parameter from a bunch of calls to get_info, but there is one call in Receiving_lib that still has the parameter.

image

I need to know what to do with this? I think it probably just needs to be removed, but wanted to check with you.

#3271

Activity

  1. jekkos commented on Apr 2, 2022

    @jekkos
    Member

    Indeed it is probably an oversight, the param can be removed (as it is not used in get_info either).

  2. objecttothis commented on Apr 4, 2022

    @objecttothis
    MemberAuthor

    Done. Fixed in #3271

  3. added a commit that references this issue on Apr 4, 2022
  4. added this to the 3.4.0 milestone on Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions