Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !370

WIP: allow to define custom prices

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Romain Courteaud requested to merge romain/slapos.core:customprice into master Mar 21, 2022
  • Overview 1
  • Commits 25
  • Pipelines 0
  • Changes 201

This is still a WIP (commit are not clean for example) and the goal is only to make my ongoing changes more visible.

Here is non complete list of important changes:

  • one Open Sale Order per Instance Tree instead of one Open Sale Order per user
  • create one Hosting Subscription per Open Sale Order line
  • Software Instance are not allocated if the Open Sale Order is not created yet. The goal is to use the Sale Trade Condition to setup the Instance Tree related documents security (instead of custom project)
  • use the wechat/payzen payment_mode instead of the user language to define the expected payment behaviour
  • use the price_currency to define the taxes
  • allow defining inherited Sale Trade Condition trees, to define custom price per project/organisation/user/software.
  • the Subscription Condition specify which Sale Trade Condition to use
  • drop the prices based on service variation. Instead, create a new Sale Trade Condition for a specific software release
  • stop copying properties from the Subscription Condition to the Subscription Request

TODO:

  • migrating existing Open Sale Order / Hosting Subscription
  • specify the expected behaviour of a console based request
  • update the rapid space web site if needed
  • create custom Service for some software releases
  • ...
Edited Mar 21, 2022 by Romain Courteaud
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: customprice
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7