[Import] always_* types for is_paid and type requires assigning a source #75

Closed
opened 2025-12-28 23:25:16 +01:00 by adam · 0 comments
Owner

Originally created by @eitchtee on GitHub (Nov 28, 2025).

For "sign" to work you need to set a source (usually the same as amount), if the value starts with "-" it will be considered an expense, otherwise Income.

Now, for always_income and always_expense, it shouldn't require a source, but it seems like it does require one to work. If you could create a new issue about this, please.

In short, add a source to type, even if it is always_*. This also extends to is_paid.

type:
   target: type
   detection_method: sign
   source: Amount

Originally posted by @eitchtee in #325

Originally created by @eitchtee on GitHub (Nov 28, 2025). > For "sign" to work you need to set a source (usually the same as amount), if the value starts with "-" it will be considered an expense, otherwise Income. > > Now, for always_income and always_expense, it shouldn't require a source, but it seems like it does require one to work. If you could create a new issue about this, please. > > In short, add a source to type, even if it is always_*. This also extends to is_paid. > > ``` > type: > target: type > detection_method: sign > source: Amount > ``` _Originally posted by @eitchtee in [#325](https://github.com/eitchtee/WYGIWYH/issues/325#issuecomment-3587659658)_
adam added the bug label 2025-12-28 23:25:16 +01:00
adam closed this issue 2025-12-28 23:25:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WYGIWYH#75