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 35
    • Merge requests 35
  • 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
  • !805

slapos_subscription_request: create Subscription Request from Software/Slave Instance

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Romain Courteaud requested to merge romain/slapos.core:software_instance_subscription into master Aug 27, 2025
  • Overview 7
  • Commits 39
  • Pipelines 0
  • Changes 286

This is another implementation of !750 (closed) and !789 (closed)

This depends on erp5!2282 (merged)


The consumptions are not registered as Internal Packing List, without any source/destination _section, and not source. The only arrow set is the destination, linked to the seller Organisation. In short, there is not information about the customer on it.

The Internal Packing Line defines the consumption resource with its quantity. The Software Instance/Slave Instance/Compute Node related to the consumption is linked as aggregate.

Once per day, an Alarm gather all Internal Packing Line without any grouping_reference, and tries to generate a monthly single Sale Packing List per customer. So, it look for the current item customer. The Sale Packing List is generate to match the current invoicing process (as generated by the Open Sale Order), with start/stop_date matching the current invoicing period.

A single Sale Packing List Line is monthly created by resource: quantity are accumulated. There is not aggregate relation.

price is calculated by this alarm.

Used Internal Packing Line get a grouping_reference.


There are 2 processes generating Internal Packing List:

  • TioXML files extraction
  • monthly consumption (using Open Internal Order) of every Instance and Compute Node
Edited May 06, 2026 by Romain Courteaud
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: software_instance_subscription
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7