Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !370

You need to sign in or sign up before continuing.
Closed
Created Mar 21, 2022 by Romain Courteaud@romain🐙Owner
  • Report abuse
Report abuse

WIP: allow to define custom prices

  • Overview 1
  • Commits 25
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: customprice
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7