bvanelli / actualpy

Python API implementation for Actual server - reference https://actualbudget.org/
20 stars 4 forks source link

Operation ActionType.SET_SPLIT_AMOUNT not supported #53

Closed esseti closed 3 weeks ago

esseti commented 1 month ago

Description

I've a rule that given a certain payee, it creates a split transaction of 50% each. it seems that the code here is not supporting it. is there a way to support this or a hint on how i can create a pr?

esseti commented 1 month ago

In the enum of the possible operations there's the value https://github.com/bvanelli/actualpy/blob/f7210990432f8748a7707463be7ba477fc717bdd/actual/rules.py#L32 , however, the code lacks of the implementation. https://github.com/bvanelli/actualpy/blob/f7210990432f8748a7707463be7ba477fc717bdd/actual/rules.py#L341