[FR] Add "Require Target Date" option to Purchasing settings

Open
#12,207 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
django, python
Domain
backend

Research direction

Use the existing "Require Responsible Owner" purchasing setting as the template: find where it is defined and where the purchase order checks it, then add a matching "Require Target Date" setting that makes the target date mandatory on purchase orders. The issue links the settings page at /web/settings/system/purchasing, so check the setting appears there. Done when a PO cannot be saved without a target date while the setting is on, and tests cover both states.

Written by the indexing model from the issue text.

Description

enhancement
Please verify that this feature request has NOT been suggested before.
  • I checked and didn't find a similar feature request
Problem statement

We want fill target date for all POs. We want to do this field as required.

Suggested solution

Add "Require Target Date" to setting page https://demo.inventree.org/web/settings/system/purchasing
similar as "Require Responsible Owner".

Describe alternatives you've considered

Prefilled target date of PO as today plus 7 days.

Examples of other systems

No response

Do you want to develop this?
  • I want to develop this.
Dominant language
Python
Stars
7.7k
Forks
1.6k
Avg merge
21h 45m
Merged PRs (30d)
204

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inventree/InvenTree

All issues in inventree/InvenTree

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.