Subscribie / subscribie

Collect recurring payments online - subscription payments collection automation
https://subscribie.co.uk
Mozilla Public License 2.0
56 stars 20 forks source link

Regression. As an developer, when I run initdb and seed the database, price lists are attached to all plans #1404

Closed chrisjsimpson closed 2 months ago

chrisjsimpson commented 2 months ago

Is your feature request related to a problem? Please describe.

When developing locally and using flask db upgrade; flask initdb then loading http://127.0.0.1:500 :

TypeError: unsupported operand type(s) for /: 'str' and 'int'
amount = self.getIntervalAmount(get_geo_currency_code()) / 100

Describe the solution you'd like Run assignDefaultPriceLists during flask initdb

Describe alternatives you've considered

Additional context

Regression introduced by https://github.com/Subscribie/subscribie/pull/1399

github-actions[bot] commented 2 months ago

:rocket: Issue was released in v0.1.207 :rocket:

github-actions[bot] commented 2 months ago

:rocket: Issue was released in v0.1.207 :rocket: