- 26 Jan, 2024 40 commits
-
-
Romain Courteaud authored
* fix: do not use unrelated causality value Builder passes all movement used to generate all the invoice * allow closing the invoice has soon as the stop date value is reached * test: wip accounting checks * do not access the object if not needed * drop Entity_statOutstandingAmount * wip Entity_hasOutstandingAmount * wip: create from multiple invoices using Entity_getOutstandingAmountList * group also outstanding amount by ledger * drop PaymentTransaction_start * use the same ledger than the payment transaction * create Payment Transaction to pay all user's invoices * improve Payment line title * allow to pay invoices at a date * test paying invoices * test: fix create payment tests * drop preferred_default_pre_payment_subscription_invoice_template_property * test: templates were dropped * drop preferred_default_pre_payment_template * drop getPreferredAggregatedSubscriptionSaleTradeCondition * drop preferred_aggregated_sale_trade_condition * test: unused variable * test: fixup testSlapOSAccountingConstraint * test: fix trade condition retrieval * drop preferred_instance_delivery_template_property * drop slapos_accounting_instance_delivery_template * drop slapos_accounting_instance_delivery_line_template * drop preferred_aggregated_consumption_sale_trade_condition * drop SlapOSAccountingSystemPreference * keep organisation_module/slapos/bank_account * disable packing list generation from tio xml this is not critical for now, and will be upgraded later * fixConsistency is not called anymore on Hosting Subscription * drop template_compute_node * drop template_member * test: there is no causality_state anymore on instance tree * test: fix consistency on Hosting Subscription does not set the periodicity date * drop unused script * reduce number of sale trade condition to check
-
Romain Courteaud authored
* drop template_software_installation * drop template_instance_tree * drop template_member
-
Romain Courteaud authored
* update xml format * optional_variation_base_category_list are not set in variation_base_category_list * force software change from Upgrade Decision * drop template_instance_tree * allow to force upgrade to a specific release * rely on self instead of one a global * drop view_related_upgrade_decision on Compute Node Deprecated for a long time
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* fixup rebase * drop files moved to portal_skins
-
Romain Courteaud authored
* disable packing list generation from tioxml Everything is broken currently... * drop testSlapOSContractAlarm * drop create_new_cloud_contract action * drop jump_to_cloud_contract action * test: SoftwareInstance_requestValidationPayment was dropped * drop CloudContractLine_getRemainingInvoiceCredit * drop Person_isAllowedToAllocate * drop Entity_statSlapOSOutstandingAmount * test: change class inheritance do not inherit from a class with existing test, as it forces subclass to keep exactly the same test function name * lint: do not redefine id variable
-
Romain Courteaud authored
* drop preferred_support_request_template_property * drop slapos_crm_support_request_template * fixup slapos_crm_create_regularisation_request tests * reactivate slapos_crm_create_regularisation_request * test slapos_crm_invalidate_suspended_regularisation_request is ok * test slapos_crm_check_software_installation_state * test slapos_crm_check_instance_in_error * test slapos_crm_update_support_request_state * desactivate Person_getSubscriptionRequestFirstUnpaidInvoiceList * drop Person_getSubscriptionRequestFirstUnpaidInvoiceList * do not count all Support Requests limit parameter with count is meaningless, as count return 1 result * update Base_getSupportRequestInProgress usage * XXX disable ticket.notify and ticket.requestEvent * wip script to create Support Request and Event * search a matching Trade Condition to generate a Support Request * update ComputeNode_checkState to use new scripts * test ComputeNode_checkSoftwareInstallationState * deliver outgoing events * test InstanceTree_checkSoftwareInstanceState * Project_createSupportRequestWithCausality already checks if Support Request exists * no need to check twice the object portal type * test SupportRequest_updateMonitoringState * activate one more alarm * revert Send Mail on pending tickets nexedi/slapos.core!417 Virtual Master's manager are responsible to handle the tickets through their worklist. Not user. Virtual Master's manager can send email from the Ticket to directly ping a user. * drop ticket_slap_interface_workflow * test ComputeNode_hasContactedRecently Do not check if there is a packing list. It is unrelated to the contact. * Base_getOpenRelatedTicketList was dropped * ComputeNode_checkAndUpdateAllocationScope was dropped * test: simplify * set comment in the event workflow history * send Mail Message * unify event creation Reuse Ticket_createProjectEvent * do not pass a empty list of node_uid * no need to manually handle the notification message * create the Regularisation Request from a Trade Condition instead of a template * use notification message title instead of the ticket title * use Entity_hasOutstandingAmount Entity_getOutstandingAmount is meaningless in case of multiple source_section and multiple currencies. Entity_hasOutstandingAmount will only report True or False. * test RegularisationRequest_invalidateIfPersonBalanceIsOk * test RegularisationRequest_checkToTriggerNextEscalationStep * test RegularisationRequest_triggerStopReminderEscalation * test RegularisationRequest_triggerStopAcknowledgmentEscalation * test RegularisationRequest_triggerDeleteReminderEscalation * test RegularisationRequest_stopInstanceTreeList * test RegularisationRequest_deleteInstanceTreeList * fixup RegularisationRequest_checkToSendUniqEvent tests * fixup RegularisationRequest_checkToTriggerNextEscalationStep tests * fixup InstanceTree_stopFromRegularisationRequest tests * fixup InstanceTree_deleteFromRegularisationRequest tests * drop slapos_crm_regularisation_request_template * drop slapos_crm_web_message_template * drop preferred_web_message_template_property * drop slapos_ticket_trade_condition * drop update_destination_for_slapos * drop allocation_tester * drop template_software_installation * drop template_instance_tree * drop template_member * test: fixup person title * test: fixup: ensure tickets can be created * test: fixup creation of instance tree * test: fixup instance tree creation * test: ComputeNode_getTicketRelatedList was dropped * test: rss feed will be used by virtual manager production * test: ticket.approveRegistration was dropped * ExactMatch
-
Romain Courteaud authored
* drop support request template preference * drop my_preferred_support_request_template * stop using getPreferredSupportRequestTemplate * drop Subscription Condition usage * break Base_getSupportRequestInProgress Use causality category instead of aggregate, to link the Ticket to the context document (instance, node, ...). Aggregate must be used to define the item of the movement resource. Break the parameters and use the context to define the causality value. * use causality to link the Ticket to the context document * XXX disable person.notify & person.requestSupport I don't get why there are 2 transitions for now. * drop ComputerNetwork_viewComputeNodeList * drop notify and requestSupport transitions They have been replaced by python script and alarms * test: person.notify has been dropped * drop slapos_crm_regularisation_request_template * Do not allow user to change the release/type/shared status * no need to use a tag if context is not reindexed * allow to force software change * speed up Base_reindexAndSenseAlarm execution * drop my_preferred_default_pre_payment_template * drop default_pre_payment_subscription_invoice_template * drop getPreferredAggregatedSubscriptionSaleTradeCondition * test: drop unused functions * drop preferred_aggregated_sale_trade_condition * drop preferred_aggregated_sale_trade_condition * test: drop reference to slapos_aggregated_trade_condition_v3 * test: drop test from dropped interaction * test: role is not required on a Person * test: do not invalidate instance to not unlink * test: create Trade Condition when Project is accountable * drop slapos_crm_web_message_template * drop my_preferred_web_message_template * drop template_pre_payment_subscription_sale_invoice_transaction * drop preferred_default_pre_payment_subscription_invoice_template * drop slapos_accounting_instance_delivery_line_template * drop slapos_aggregated_consumption_trade_condition * drop preferred_aggregated_consumption_sale_trade_condition * drop unused template * drop template_computer_model * drop template_hosting_subscription * drop template_software_installation * drop template_compute_node * drop template_instance_tree * drop template_software_instance * drop template_member * drop drop template_software_instance * drop template_software_instance * drop template_software_instance * add afterClone scripts * test: check remote node parameters propagation * try to create an upgrade decision for a remote instance * test: add checkRemoteInstanceUnallocation method * XXX stop invalidating Slave Instance TODO: Instance on Remote Node must propagate their destruction, before being invalidated * instance must be invalidated before unallocating it * drop not needed script * invalidate Slave Instance allocation on a Compute Node * trigger invalidation as soon as an Instance is destroyed * alarm must visit allocated Slave Instance to invalidate them * report software url of the linked instance, even if it is in destroyed_state / invalidated * test: slave are not directly invalidated as soon as it is destroyed * propagate remote node destruction * do not crash if no instance is found * ExactMatch * drop comments * keep compatibility with project_guid sla * allow to propagate a single instance * add subordination category on Remote Node * try to wait for previous alarms to finish before triggering a new one * priority 3 * do not call activeSense concurrently * prevent activeSense to be called concurrently * reduce number of activities * do not loop * drop preferred_cloud_contract_enabled * stop using hateoas web site * change the skin selection to register * test: create needed bank account
-
Romain Courteaud authored
otherwise, new categories are not installed
-
Romain Courteaud authored
* test: assignments are automatically created when adding a virtual master
-
Romain Courteaud authored
-
Romain Courteaud authored
* test: fixup trade condition specialise * configure 2 modules's business_application * do not allow user to see each others Do not allow personal information to be visible to anybody * allow Sale agent/manager to handle Assignments * test: assignments are automaticall created when creating a virtual master * test: fixup * drop organisation pages
-
Romain Courteaud authored
* assert trade_condition_type are the same * update Subscription Request view
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* test: slapos_panel_compatibility was added * test: create Trade Condition for Deposit * test: slapos_panel_compatibility skin selection
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
We can not update the Open Order every time one Instance is upgraded
-
Romain Courteaud authored
* search Sale Trade Condition by trade_condition_type * set trade_condition_type on temporary Sale Order
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* readd translation bt5 dependencies * configure trade_condition_type on the Sale Trade Condition
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This will be used to automatically select a Trade Condition in slapos_accounting
-
Romain Courteaud authored
* dependencies
-
Romain Courteaud authored
* status gadget portal _type is provided by the python script * do not mess with cursor used by browser it only confuses users * do not display links without href * disable gadget status onLoop Instead of jio.get, the paramers must provide the url to query, otherwise, it is not possible to use this gadget in the full ERP5JS * reintroduce all stuff from slapos_jio_before_deletion my branch is not ready to drop everything
-
Romain Courteaud authored
-
Romain Courteaud authored
* project does not have status gadget anymore * use getPreferredHateoasUrl to generate the compute token improve consistency with slaptool (configure this value in 1 place only)
-
Romain Courteaud authored
onLoop must be fixed probably
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* add slaos_cloud_garbage_collect_one_time_virtual_master_access_token
-