Skip to content

[Feature]: Supplier/Customer/User attributes #2244

Open

Description

@objecttothis

Background information

  • Reporting an issue of an unmodified OSPOS installation
  • Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • Read the wiki
  • Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • Aware the installation code is in bintray (see README), and GitHub master is for developers only and therefore not complete nor stable

Installation information

  • OSPOS version is: 3.3.0
  • OSPOS git commit hash is: 3f3e15
  • PHP version is: 5.6.38
  • MySQL or MariaDB version is: 5.7.24
  • OS and version is: FreeBSD 11.2
  • WebServer is: Apache 2.4
  • Selected language is: English

New Feature

@jekkos has done a stellar job with item attributes and we are just working out the kinks with it, but I think it's a great move. Have we thought through doing a similar thing for the People database with its various fields? For example, we have many suppliers (book publishers in our case) who have multiple contact numbers. It would be very helpful to be able to create attributes as needed. Another example is that our business is located in a geographically small country that does not use "states", so having that as an attribute would be great because of the option of not including it.

I don't know the speed and database implications for attributes but I'm guessing they are as good or better than what we had before since that's often the first question that @jekkos and @daN4cat have when talking about database changes.

Activity

  1. jekkos commented on Dec 6, 2018

    @jekkos
    Member

    I think that expanding this new functionality to other modules might be rather straightforward. Technical tasks are the following

    • Add a new foreign key to the table we want to use attriburtes with (attribute_links)
    • Include the item.php view in the form of the module we want to extend
    • Adapt the search query in the model to look for attributes
    • Extend the tabular_helper to fill in the attribute fields for bstables in case they are visible
  2. added this to the 3.4.0 milestone on Feb 13, 2019
  3. self-assigned this
    on Feb 19, 2019
  4. modified the milestones: 3.4.0, 3.5.0 on Dec 10, 2022
  5. changed the title [-]Supplier/Customer/User Attributes[/-] [+][Feature]: Supplier/Customer/User attributes[/+] on Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions