blacked, isorted, flake8ed and moved to arq/redis from celery/rabbitmq

This commit is contained in:
2020-10-24 11:53:12 +05:30
parent 1d6baa9d1d
commit 00fe2410b7
67 changed files with 295 additions and 712 deletions

View File

@ -25,4 +25,4 @@
REM "\Program Files\PostgreSQL\11\bin\psql.exe" -U postgres petty < Data\u-ProductGroupModifiers.sql
"\Program Files\PostgreSQL\11\bin\psql.exe" -U postgres petty < Data\v-Reprints.sql
REM "\Program Files\PostgreSQL\11\bin\psql.exe" -U postgres petty < Data\w-Settings.sql
"\Program Files\PostgreSQL\11\bin\psql.exe" -U postgres petty < Data\x-VoucherSettlements.sql
"\Program Files\PostgreSQL\11\bin\psql.exe" -U postgres petty < Data\x-VoucherSettlements.sql

View File

@ -6,4 +6,4 @@ update permissions set name = 'Sale Report' where name = 'Sales Analysis';
update permissions set name = 'Tax Report' where name = 'Tax Analysis';
delete from role_permissions where permission_id = (select id from permissions where name = 'Void or Reprinted Bill Report');
delete from permissions where name = 'Void or Reprinted Bill Report';
update settlements as s set settled = 9 from vouchers v where v.id = s.voucher_id and v.voucher_type = 5 and s.settled = 1;
update settlements as s set settled = 9 from vouchers v where v.id = s.voucher_id and v.voucher_type = 5 and s.settled = 1;