Commit Graph

533 Commits

Author SHA1 Message Date
Amritanshu Agrawal 129664e564 Chore: Upgraded to angular 15
Chore: Moved from angular/flex-layout to Tailwind
Chore: Upgrade completed
2022-12-12 12:00:24 +05:30
Amritanshu Agrawal 4a85a9133e Chore: Removed @angular/flex-layout and replaced it with tailwind.
Chore: Upgraded some packages
2022-12-11 07:50:45 +05:30
Amritanshu Agrawal b9fbdd4b99 Version Bump v10.7.0 2022-10-31 09:24:40 +05:30
Amritanshu Agrawal 21fa2ae139 Chore: Updated dependencies 2022-10-31 09:24:06 +05:30
Amritanshu Agrawal a023e4ce37 Chore: Compress down the multiple alembic versions into 2. One for the structure and another for the data.
Also got rid of defunt initaliedb for the initial data
2022-10-31 08:53:46 +05:30
Amritanshu Agrawal e5dbe741f0 Some git cleanup 2022-07-29 07:28:09 +05:30
Amritanshu Agrawal 3fbc11d3e3 Version Bump v10.6.0 2022-07-28 22:18:35 +05:30
Amritanshu Agrawal 3eb715e2de Created a period table for date ranges and made the recipes dependent on it instead of having arbitrary date ranges. This will enable easy copying into new months. 2022-07-28 22:16:28 +05:30
Amritanshu Agrawal 492b80e116 Version Bump v10.5.5 2022-07-24 18:25:09 +05:30
Amritanshu Agrawal c7bc379032 Version Bump v10.5.4 2022-07-24 06:45:03 +05:30
Amritanshu Agrawal 49b1ac61cf Fix: At times the report would fail with numbers not in multiples of .01 2022-07-24 06:44:11 +05:30
Amritanshu Agrawal c03210d965 Version Bump v10.5.3 2022-07-18 23:41:16 +05:30
Amritanshu Agrawal 836858deb1 Version Bump v10.5.2 2022-07-17 14:31:25 +05:30
Amritanshu Agrawal c76696e022 Version Bump v10.5.1 2022-07-17 08:17:30 +05:30
Amritanshu Agrawal 4072733dfe Version Bump v10.5.0 2022-07-15 13:25:13 +05:30
Amritanshu Agrawal b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +05:30
Amritanshu Agrawal 92023caadc Added the inventory information for ansible in the project and made it so that the file is only run once.
Updated python dependencies
2022-06-07 18:30:39 +05:30
Amritanshu Agrawal 98d3e212c3 Version Bump v10.4.1 2022-05-10 00:46:45 +05:30
Amritanshu Agrawal b87079813c Fix: Pre-commit depends on cfgv which is not 3.10 compatible 2022-05-10 00:46:11 +05:30
Amritanshu Agrawal 6b6b46c2e1 Version Bump v10.4.0 2022-05-09 23:58:38 +05:30
Amritanshu Agrawal 763af272d1 Fix: Rebase
Chore: Updated dependencies
Chore: Python 3.10
Chore: Node 18
Chore: Ansible to support new layouts
2022-05-09 23:56:51 +05:30
Amritanshu Agrawal 13df9614bb Version Bump v10.3.5 2022-01-16 16:08:55 +05:30
Amritanshu Agrawal 7065a3b911 Allow downloading of fingerprint data. 2022-01-16 16:08:19 +05:30
Amritanshu Agrawal 1806ae1b06 Version Bump v10.3.4 2022-01-06 16:54:27 +05:30
Amritanshu Agrawal 4a5556347c Fix: Didn't commit all the changes 2022-01-06 16:54:16 +05:30
Amritanshu Agrawal b83a0b0d29 Version Bump v10.3.3 2022-01-06 16:16:39 +05:30
Amritanshu Agrawal a4c98444aa Fix: Client router failed as not all fields were populated and the right config for missing 2022-01-06 16:16:13 +05:30
Amritanshu Agrawal f9436da74b Version Bump v10.3.2 2021-12-26 06:58:20 +05:30
Amritanshu Agrawal 68390a1eb6 Fix: The batch integrity report was not taking into account the closing stock entries and resetting stock to wrong levels. Fixed 2021-12-26 06:57:37 +05:30
Amritanshu Agrawal b85621dee8 Version Bump v10.3.1 2021-12-17 05:44:18 +05:30
Amritanshu Agrawal d27d1076ce Fix: Account creation failed because of missing code.
Chore: Some more mypy settings and their fixes.
2021-12-17 05:43:58 +05:30
Amritanshu Agrawal 0b9ffc652b Mypy: The OTP Field is nullable 2021-11-23 09:57:09 +05:30
Amritanshu Agrawal 997f47aa58 Version Bump v10.3.0 2021-11-21 12:18:39 +05:30
Amritanshu Agrawal 9d088aa95e Extensive mypy checking. 2021-11-21 12:18:26 +05:30
Amritanshu Agrawal 529e50b3ba Version Bump v10.2.9 2021-11-21 11:52:03 +05:30
Amritanshu Agrawal 7c352eb2e2 Fix: Fingerprints were ignoring the time and only recording the date 2021-11-21 11:50:53 +05:30
Amritanshu Agrawal d21d4e2a09 Version Bump v10.2.8 2021-11-15 21:47:00 +05:30
Amritanshu Agrawal 8e9babd1dc Fix: Recipe recursion and updating of product price on updating recipe 2021-11-15 21:46:29 +05:30
Amritanshu Agrawal b0de2d5ae4 Version Bump v10.2.7 2021-11-14 12:02:58 +05:30
Amritanshu Agrawal ee7f036ced Chore: Mypy work going on
Fix: Recipes costing of semi items would show very high cost of the whole recipe for per unit as ingredient
2021-11-14 12:02:22 +05:30
Amritanshu Agrawal ddd389a899 Version Bump v10.2.6 2021-11-11 21:17:18 +05:30
Amritanshu Agrawal 1159db5007 Nothing much 2021-11-11 21:17:02 +05:30
Amritanshu Agrawal 65d75bcaad Version Bump v10.2.5 2021-11-11 20:52:56 +05:30
Amritanshu Agrawal 1a3248ad70 Fix: Products could be added without skus rendering them useless
Feature: Change of product in purchase / issue / Purchase return allowed.
2021-11-11 20:52:28 +05:30
Amritanshu Agrawal eeb36d7f8b Version Bump v10.2.4 2021-11-10 21:41:25 +05:30
Amritanshu Agrawal 240ecf3fbb Fix: Checking the wrong id 2021-11-10 21:41:12 +05:30
Amritanshu Agrawal 3dc8f0151e Version Bump v10.2.3 2021-11-10 12:12:08 +05:30
Amritanshu Agrawal cdc988c015 Fix: Raw Material Cost needed order 2021-11-10 12:11:50 +05:30
Amritanshu Agrawal bfdf70cdc4 Version Bump v10.2.2 2021-11-10 11:22:35 +05:30
Amritanshu Agrawal ec2b6d7293 Version Bump v10.2.1 2021-11-10 11:19:35 +05:30
Amritanshu Agrawal 584be9f349 Fix: Forgot to add this 2021-11-10 11:19:28 +05:30
Amritanshu Agrawal e44fc4d313 Version Bump v10.2.0 2021-11-10 11:01:33 +05:30
Amritanshu Agrawal ffd46bf717 Feature: Recipe module mostly working. What needs to be done is duplicating recipes and export for checking.
Feature: Non Contract Purchases Report
2021-11-10 10:57:18 +05:30
Amritanshu Agrawal 3b8c972c48 Version Bump v10.1.5 2021-11-08 17:19:52 +05:30
Amritanshu Agrawal 952f030e8d Fix: Deleting voucher fucked up due to cascading changes was not 2021-11-08 17:19:27 +05:30
Amritanshu Agrawal 3d5d02a416 Version Bump v10.1.4 2021-11-08 10:08:55 +05:30
Amritanshu Agrawal ff52aa40bc Fix: Blank voucher error as incentives was not supplied 2021-11-08 10:08:25 +05:30
Amritanshu Agrawal 40d5914684 Chore: Updated dependencies 2021-11-08 07:48:52 +05:30
Amritanshu Agrawal 2d2a6a785b Fix: All entries was not working as assert was truthy and not checking for None 2021-11-07 18:48:06 +05:30
Amritanshu Agrawal 98b574307d Version Bump v10.1.3 2021-11-07 18:32:03 +05:30
Amritanshu Agrawal abe99f0187 Chore: Added type hints for sqlalchemy and checked a lot of them using mypy
There can be many errors now
2021-11-07 18:30:14 +05:30
Amritanshu Agrawal fa6aa514bc Fix: Employee attendance was not showing 2021-11-07 12:44:52 +05:30
Amritanshu Agrawal ca99aa00ed Version Bump v10.1.2 2021-11-02 16:39:31 +05:30
Amritanshu Agrawal 4df8c916ab Fix: Recipe was crashing the whole thing 2021-11-02 16:39:15 +05:30
Amritanshu Agrawal 5e66db381b Version Bump v10.1.1 2021-11-02 14:15:13 +05:30
Amritanshu Agrawal 7a5ccdfbbb Fix: Upgrade failed when multiple skus 2021-11-02 14:15:00 +05:30
Amritanshu Agrawal 49aaa2fbe3 Version Bump v10.1.0 2021-11-02 14:01:51 +05:30
Amritanshu Agrawal 30e3288b1e DB Normalization: Moved fractionUnits back to Product from SKU as it is better suited there.
Feature: Created the ProductSku schema for the product/sku autocomplete
2021-11-02 14:00:15 +05:30
Amritanshu Agrawal b3075577e6 Version Bump v10.0.2 2021-11-02 12:31:18 +05:30
Amritanshu Agrawal e06c8b484e Change the default sort in Closing Stock 2021-11-02 12:31:12 +05:30
Amritanshu Agrawal ce01a4d1f3 Version Bump v10.0.1 2021-11-02 12:00:34 +05:30
Amritanshu Agrawal b6ef6f79e5 Fix: Closing stock on update was not working as it was not able to encode/parse creation date and last edit date 2021-11-02 12:00:26 +05:30
Amritanshu Agrawal b69a38d8e9 Version Bump v10.0.0 2021-10-31 18:54:21 +05:30
Amritanshu Agrawal 0574f9df14 Chore: Changed the account_type and voucher_type enum.
The account type enum is not stored in the database as an enum.
The voucher_type enum is now a table in the database.

Feature: Closing stock can now be saved and in each department.
2021-10-31 18:41:06 +05:30
Amritanshu Agrawal f8de1cd3cf Fix: Fingerprint upload 2021-10-05 15:04:05 +05:30
Amritanshu Agrawal e96ef38173 Fix: Purchase update error. There is no longer product_id in Inventory. Also, now issuing direct updates instead of updating the models. 2021-09-30 17:19:36 +05:30
Amritanshu Agrawal 1647d356c9 Feature: Added product Stock Keeping Units to prevent duplicate products. A lot of refactoring because of this.
Removed: Reset Stock as it was never used and don't think it is even needed with this new batch system.
Fix: Incentive update was not working
2021-09-27 14:22:31 +05:30
Amritanshu Agrawal 4f907e965b Fix: Incentives was not working 2021-09-26 09:34:16 +05:30
Amritanshu Agrawal 119c5b71f1 Fix: Purchase edit will make sure that there are no backdated issues.
Fix: Purchase edit will also update issue prices.
Chore: Simplify loop-in-loops
2021-09-25 10:58:21 +05:30
Amritanshu Agrawal 6d0d95070b Moved the batch integrity report from settings to its own report in products with permission of product ledger.
It also automatically fixes the issue prices.
2021-09-24 14:40:51 +05:30
Amritanshu Agrawal b1557bef88 DB Integrity checks for batch integrity and also updates quantities when it can. 2021-09-21 09:54:11 +05:30
Amritanshu Agrawal 6212eead20 Fix: Update purchase was wrong. It would stop after the first product as break would exit the loop instead of going to the next iteration. It was actually not needed and was a holdover from the previous loop in loop code. 2021-09-21 07:01:36 +05:30
Amritanshu Agrawal f2d617bbce Fix: Add / Update user error when a role was added. 2021-09-16 12:32:15 +05:30
Amritanshu Agrawal 176559466a Feature: Changed the unposted report to entries report with paging, sorting, etc. 2021-09-14 12:49:01 +05:30
Amritanshu Agrawal d34c8ea0a4 Rate Contract is checked during save and update of Purchase at the backend 2021-09-13 13:01:34 +05:30
Amritanshu Agrawal ceaf93d1cd Fix: Prevent duplicate valid attendances 2021-09-11 17:21:01 +05:30
Amritanshu Agrawal dee053c115 Added: Rate Contract Module. To implement: Checking this during purchase. 2021-09-11 15:43:18 +05:30
Amritanshu Agrawal 20ce1a297e Fix: Batch autocomplete was not working so Issue / Return was not working 2021-09-11 13:25:05 +05:30
Amritanshu Agrawal 074e45fe69 Chore: Renamed the auth tables to remove the prefix 2021-09-11 06:02:09 +05:30
Amritanshu Agrawal ca352649f0 Fix: The lock was not working because:
1. The Account Types sent were sqlqueries and not integer literals
2. Voucher Types and Account Types were being compared to VoucherTypesSelected and AccountTypesSelected objects and not their ids.
2021-09-10 22:36:07 +05:30
Amritanshu Agrawal 2820813cb6 Refactor: Moved various Schemas into their files
Feature: Complex voucher locking where specific types of vouchers and accounts can be locked and the locks can also be times to expire after some time.
Highest index takes priority
2021-09-10 13:21:43 +05:30
Amritanshu Agrawal 350edf7126 Removed timezone information from columns. Time will be stored in UTC coordinates.
Moved to Sqlalchemy 1.4 model and SessionFuture.

Upgraded to Angular 12

Upgraded the python dependencies
2021-09-07 12:59:18 +05:30
Amritanshu Agrawal 0bd6f8eb03 Version Bump v9.4.4 2021-04-03 07:55:17 +05:30
Amritanshu Agrawal 0786a634b0 Chore: Updated a few dependencies 2021-04-03 07:54:39 +05:30
Amritanshu Agrawal f1be068d0b Fix: joinedload_all was depreciated in sqlalchemy 1.2 and removed in 1.4 2021-04-03 07:54:00 +05:30
Amritanshu Agrawal 39c1f61dc5 Version Bump v9.4.3 2021-04-02 18:43:52 +05:30
Amritanshu Agrawal d54c5a5cf9 Fix: Users could not be added as password was not supplied in the BlankUser schema and it gave an error 2021-04-02 18:43:17 +05:30
Amritanshu Agrawal 15be0d5009 Version Bump v9.4.2 2021-02-04 08:50:17 +05:30
Amritanshu Agrawal 0cf948b4c8 Fix: Purchase Return was not showing the vendor on load 2021-02-04 08:47:21 +05:30
Amritanshu Agrawal 5d0852a74d Version Bump v9.4.1 2021-01-27 09:21:38 +05:30