- 26 Jan, 2024 40 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* add Software Product to create Subscription Request * add Sale Supply for virtual master * fixup to generate subscription request and use the instance parameter editor * fixup Instance editor usage * set reference on the Trade Condition * fix consistency of other documents before running the tests
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* use Person_addVirtualMaster * do not explicitely call alarms rely on interaction workflow instead
-
Romain Courteaud authored
-
Romain Courteaud authored
Ensure all invoices for one user will be created at the same date. Ensure all users do not use the same periodicity, to NOT generated all system invoices on the same date.
-
Romain Courteaud authored
-
Romain Courteaud authored
* drop accounting_list action This action hardcodes rapidspace organisation, and has a different logic from the new implementation * drop unused scripts
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
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
-