- 26 Jan, 2024 36 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* subscription scenario needs project now * project is needed when requesting an instance * hardcode automated ledger category for the newly created sale packing list * hardcode automated ledger category for the newly created accounting transactions
-
Romain Courteaud authored
-
Romain Courteaud authored
* add SlapOSLedgerConstraint * add SlapOSLedgerConstraint on all * Transaction XXX FOrces tests to fail as much as possible if ledger is not configured. Add test to ensure constraint is configured * hardcode automated ledger category for the newly created sale packing list * propagate ledger in the simulation tree * build ledger category from delivery builders * aggregate ledger from order builder * ensure ledger category is allowed on the portal type when using the constraint * requires ledger on Hosting Subscription, Open Sale Order and Sale Packing List * hardcode ledger value on Open Sale Order and Hosting Subscription * open order must propagate the ledger value * automated ledger path * add ledger to the accounting template * source_administration is not used anymore on Compute Node * source_administration is not used anymore on Compute Node
-
Romain Courteaud authored
* slapos member user are not allowed anymore to create compute node * no need to create a dedicated local_roles from compute node source_administration Only slapos manager will handle compute nodes * duplicate test_default_scenario to happily break it * drop friend/personal in new scenario test * all members can allocation on all compute nodes * give user security group based on function (to access some module) and project/function (to access documents) * only a project computer manager can create compute nodes * only project computer manager is assignor on compute node * need a project assignment to create a compute node * drop group security on Instance Tree * drop group security from Software Instance * project member only need Auditor role on it * add customer project assignment * remove source_administration interaction workflow on Compute Node and add follow_up instead * Software Installation: move interaction workflow from destination_section to follow_up * give role on Software Installation to Project Compute Node Manager * shadow user do not need access to Compute Node anymore * only project comp manager can create SOftware Installation * project customer can create software instance * project customer can create instance tree * project people can only view the project module * also check PAS plugins which are not supposed to be activated * drop PAS shadow user plugins * drop shadow access from compute node module * drop shadow from compute node module * drop shadow role from computer module * drop shadow role from person* portal types * drop shadow role on project module * Revert "slapos_erp5: drop PAS shadow user plugins" Needed for accounting * Revert "slapos_erp5: drop shadow role from person* portal types"
-
Romain Courteaud authored
* open personal * allocation scope is meaningless to restrict allocation permission * add follow_up category on Compute Node To attach to a project * require a project reference when requesting a compute node * requesting a compute node requires a project * increase error verbosity * stop using shadow to allocate instance Use project only * set follow up on Instance Tree and Software Instance portal type * requesting an instance tree requires a project * assert project reference is provided * propagate follow up when requesting instance * requesting an instance requires a project * add follow_up accessor on compute partition * no need for follow_up on Compute Partition * directly search follow_up value on parent Compute Node * use new related key format * drop source_administration from Compute Node * drop source_administration on Compute Node * drop source_administration from Compute Node * Software Installation drop destination_section and use follow_up * stop setting role/member on Assignment by default * requesting an instance tree need a project reference * add SlapOSVirtualMasterConstraint XXX TODO fix broken TALES expression which prevent entering invaludated/suspended * configure SlapOSVirtualMasterConstraint on most slapos cloud portal types XXX TODO check if some are missing * SlapOSVirtualMasterConstraint need f#+=!$ TALES expression
-
Romain Courteaud authored
* project reference is required for compute node * require a project when requesting an instance tree
-
Romain Courteaud authored
-
Romain Courteaud authored
This reverts commit 53f61021.
-
Romain Courteaud authored
This reverts commit 730b0f11.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
slapos_accounting: * no need to create open order slowly * trade condition has more than one supply line * WIP create open order for compute node * alarm to create compute node open order * categrory * define comp node subscription price slapos_cloud: * approve computer again slapos_subscription_request: * trigger compute node open order creation
-
Romain Courteaud authored
* XXX do not approve computer by default TODO: create open order related to the computer usage * drop useless requestComputeNodeRegistration workflow transition This transition does nothing.
-
Romain Courteaud authored
* restore previous price setting * set round price * disable invoice generation for consumption to see test impacted * XXX consumption price must be set to 0 XXX migrate existing packing list
-
Romain Courteaud authored
Try to understand why price is not always copied slapos_accounting: restore original price
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
The new versions do not include any price informations. It is needed to create new Trade Condition which inherite from those versions. Update preference to use those latest trade conditions.
-
Romain Courteaud authored
slapos_accounting: factorise code slapos_wechat: use reference sale trade condition slapos_erp5: check sale trade condition reference
-
Romain Courteaud authored
sale trade condition are versionned.
-
Romain Courteaud authored
-
Romain Courteaud authored
Clarify trade condition title
-
Romain Courteaud authored
-
Romain Courteaud authored
Prices are defined on Supply Line inside Sale Trade Condition. Drop prices from Subscription Condition. Instead, link the Subscription Condition to a Sale Trade Condition. Apply the Sale Trade Condition on the created Open Sale Order. Stop duplicating properties from the Subscription Condition to the created Subscription Request. Payment is managed by the 'payment' category, and not the language. This allows to remove all '==zh' conditions. Instead, use custom Sale Trade Condition.
-
Romain Courteaud authored
slapos_accounting: rename script for hosting subscription slapos_accounting: revert failure error slapos_accounting: force open order line to have an Instance tree and a hosting subscription slapos_accounting: hosting subscript will host the date info slapos_accounting: set open order periodicity on the hosting subscription slapos_accounting: typo slapos_accounting: hosting subscription will contain the periodicity slapos_accounting: create hosting subscription slapos_accounting: fixup start/stop date confusion slapos_accounting: fixup slapos_cloud: add hosting subscription workflow slapos_cloud: stop using Instance Tree as Subscription Item slapos_accounting: move periodicity view on hosting subscription slapos_erp5: open order line have 2 items now slapos_cloud: open order line has 2 items now slapos_accounting: simulation is expanded from Hosting Subscription slapos_accounting: validate hosting subscription slapos_accounting: check all aggregate value slapos_accounting: revert aggregate tester slapos_accounting: simulate from hosting subscription slapos_accounting: constraint is on hosting subscription slapos_accounting: interaction are on hosting subscription slapos_subscription_request: periodicity is on hosting subscription slapos_accounting: open order line has 2 aggregate slapos_cloud: hosting subscription have a workflow again slapos_cloud: add hosting subscription template slapos_accounting: do not create open order if it was not allocated slapos_accounting: script renamed slapos_cloud: update HS_view
-
Romain Courteaud authored
* create empty contraint property sheet for open order * only one line per open order * workaround wrong select returning a result multiple times
-
Romain Courteaud authored
* force open order to be created to allocate * only check validated open order * check open order consistency before allocating * call script on the real web section
-
Romain Courteaud authored
-
Romain Courteaud authored
* generate one open order per instance tree
-
Romain Courteaud authored
* drop not needed condition * factorize some code
-
Romain Courteaud authored
This make usage of the relationfield nicer.
-
- 23 Jan, 2024 4 commits
-
-
Roque authored
See merge request nexedi/slapos.core!596
-
Roque authored
-
Roque authored
See merge request nexedi/slapos.core!595
-
Roque authored
-