- 26 Jan, 2024 40 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* reduce some alarms frequency Interaction workflow are needed to speed up everything * add Base_reindexAndSenseAlarm * add interactions to speed up allocation Use Base_reindexAndSenseAlarm, to ensure object is reindexed, in order to be handled by the alarm * test: no need to manually call alarms Interaction workflow will trigger them * and fix wrong usage of Base_reindexAndSenseAlarm
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* no need to update open order period anymore * drop unused script * drop unused slapos_request_update_instance_tree_open_sale_order * drop unused SubscriptionRequest_*etAggregatedConsumptionDelivery * drop not needed slapos_start_confirmed_aggregated_subscription_sale_packing_list * drop slapos_api_invoicing_workflow * add an alarm to close the open order * no need to reindex open sale order
-
Romain Courteaud authored
* do not set the stop_date on the open order * generate a discount on the first invoice If the open order does not start the same day, do not ask user to pay for those missing days * no need to call OpenSaleOrder_updatePeriod when creating the open order
-
Romain Courteaud authored
subscription periodicity Set it directly from the script which create it
-
Romain Courteaud authored
* use the discount_service on the discount service No idea if it is a good idea or not for now * generate accounting movement for discount service * also compare invoice price with discount sale packing list
-
Romain Courteaud authored
-
Romain Courteaud authored
* serialise on business link to try grouping all user invoices movements * destination project is not required on invoice Do not search with a None value * Extend the invoice causality with the parent simulation movement explanation * drop not needed movement group Previous movement group already force the same invoice
-
Romain Courteaud authored
* test: create deposit payment to validate the subscription * test: update related document count
-
Romain Courteaud authored
* try to close the Subscription Request as soon as user paid an invoice * block subscription process if there is no deposit * do not accept new services if the virtual master subscription state is not expected
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
It is too early, and prevent other Simulation Movement to be aggregated
-
Romain Courteaud authored
-
Romain Courteaud authored
* test: define currency on the organisation * test: scenario for money deposit * test: typo * test: apply tax amount only if the resource is taxable * allow shadow user to view Organisation * test: reduce number of alarm calls
-
Romain Courteaud authored
-
Romain Courteaud authored
* force all Sale documents to use a consistent price currency * add script to generate the deposit * add deposit account XXX configuration must be reviewed * add Deposit service to use on the invoice * deposit service is not taxable XXX to check with accountants * business process: no need to have 2 credit path * creation causality link between the deposit payment and invoice * put destination account in the transaction line XXX no way currently to support having no destination if the destination_section does not handle accounting * add alarm slapos_update_delivery_simulation Generate invoice from packing list * generate accounting for resource_use/use/trade/deposit * add slapos_simulation_interaction_workflow Speed up execution of the simulation process by triggering alarms as soon as it is needed * generate Open Order simulation as soon as it is simulated
-
Romain Courteaud authored
* cleanup request when instance is not subscribed yet * stop instance tree propagation on instance_slap_interface_workflow Some alarm call request directly on the Instance Tree (this is expected) * rename Service_getSubscriptionStatus to Item_getSubscriptionStatus
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* ensure Subscription Request is consistent * allow to choose the currency when creating a Subscription Request
-
Romain Courteaud authored
-
Romain Courteaud authored
* test that Subscription Request is created from Compute Node * drop SubscriptionRequest_processStopped * drop SubscriptionRequest_processStarted * drop SubscriptionRequest_processOrdered * drop SubscriptionRequest_processConfirmed * drop SubscriptionRequest_processRequest * drop SubscriptionCondition_renderKVMClusterParameter * drop Base_instanceXmlToDict * drop SubscriptionCondition_renderParameter * drop testSlapOSERP5VirtualMasterSubscriptionRequestScenario
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* update one more test * test_virtual_master_slave_on_same_tree_without_accounting_scenario * test_virtual_master_on_remote_tree_without_accounting_scenario * test_virtual_master_slave_instance_on_remote_tree_without_accounting_scenario * test: really disable accounting
-
Romain Courteaud authored
-
Romain Courteaud authored
slapos_panel: Person_addVirtualMaster: try to find trade condition with Trade Model Line and currency
-
Romain Courteaud authored
* rules: stop diverging on source/destination payment Those info are not supposed to be set on order/delivery (ie, there is no field for this) * drop duplicated config * set the source payment before finalising the sale invoice
-
Romain Courteaud authored
-
Romain Courteaud authored
* test: use Person_addVirtualMaster to create project * test: login as user to request the instance
-