Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[imp] start production plan with max qty and sell remaining products even though production is started #513

Open
bruecksen opened this issue Oct 22, 2024 · 2 comments

Comments

@bruecksen
Copy link
Owner

It would be great to start a production plan with max qty and still be able to sell the products through the shop till max qty is reached. Storno of a order should not be possible though. One customer got lots of stornos the last day and is now sitting on a lot of produced breads.

Can we simply add an option when a production plan is started, to start it with max qty and allow customers to order the product till max. qty is reached (even though production plan is started)? The only question is what do we do with the difference once the production plan is finished and max qty is not sold?

@madmooose I guess you have some thoughts here, right :)

@madmooose
Copy link
Collaborator

@bruecksen how not?
I guess it's about time to decouple sale orders from production plans.
I would like to (finally) add states to Sale Orders.
I would recommend

  • draft - adjustment possible
  • approved (or sale) - only adding
  • locked (but would postpone this one for now) - well...
  • canceled (not editable but no deliveries/further processing)

For the production plan let's start setting the plan manually (We already do this half with setting the max qty during planning phase). Then we can put an action to the production day to adjust the plan qty based on orders or max qty. For making this convenient we should introduce a planning action on the plan before aktually setting it to production.
Would already like to spoiler that this delivery bills will probably be the next thing. ;)

@bruecksen
Copy link
Owner Author

bruecksen commented Oct 24, 2024

Produktionsplan:

  • wird immer aus der geplanten Menge des Produktionstages erstellt
  • Tag spalte wird entfernt

Produktionstag:

  • max menge wird geplante Menge
  • geplante menge einstellbar auf produkt ebene, geplante menge auf bestellte menge setzen als button, max. Menge bestellen entfernen
  • status einfügen: draft, approved und done (locked), siehe oben
  • existierende Besetllungen ändern Status wenn Status des Produktionstags sich ändert

Bestellung:

  • kriegen Status: draft, approved, canceled
  • neue Bestellungen bekommen Status vom Produktionstag oder Draft
  • Bestellung löschen kann immer gemacht werden auch wenn plan gestartet

Delivery Bill

  • Tag ist draft: zeige Bestellungen in draft und approved
  • Tag ist approved: zeige Bestellungen in approved
  • Tag ist done: zeige Bestellungen in approved
    • order position nur fertiggestellt und in produktion anzeigen
  • abgebrochene Order Position filtern

Shop

  • in produktion als Banner anzeigen (schräg in der ecke)
  • ausverkauft wandert nach unten und ersetzt bestell widget
  • Produktionstag ist done, "Bestellzeitraum abgelaufen" anzeigen
  • solange Menge verfügbar (auch wenn produktionsplan gestartet) oder Tag nicht done, produkt noch bestellbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants