Commit Graph
100 Commits
Author SHA1 Message Date
tanshu d21d4e2a09 Version Bump v10.2.8 2021-11-15 21:47:00 +05:30
tanshu 8e9babd1dc Fix: Recipe recursion and updating of product price on updating recipe 2021-11-15 21:46:29 +05:30
tanshu b0de2d5ae4 Version Bump v10.2.7 2021-11-14 12:02:58 +05:30
tanshu 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
tanshu ddd389a899 Version Bump v10.2.6 2021-11-11 21:17:18 +05:30
tanshu 1159db5007 Nothing much 2021-11-11 21:17:02 +05:30
tanshu 65d75bcaad Version Bump v10.2.5 2021-11-11 20:52:56 +05:30
tanshu 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
tanshu eeb36d7f8b Version Bump v10.2.4 2021-11-10 21:41:25 +05:30
tanshu 240ecf3fbb Fix: Checking the wrong id 2021-11-10 21:41:12 +05:30
tanshu 3dc8f0151e Version Bump v10.2.3 2021-11-10 12:12:08 +05:30
tanshu cdc988c015 Fix: Raw Material Cost needed order 2021-11-10 12:11:50 +05:30
tanshu bfdf70cdc4 Version Bump v10.2.2 2021-11-10 11:22:35 +05:30
tanshu ec2b6d7293 Version Bump v10.2.1 2021-11-10 11:19:35 +05:30
tanshu 584be9f349 Fix: Forgot to add this 2021-11-10 11:19:28 +05:30
tanshu e44fc4d313 Version Bump v10.2.0 2021-11-10 11:01:33 +05:30
tanshu 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
tanshu 3b8c972c48 Version Bump v10.1.5 2021-11-08 17:19:52 +05:30
tanshu 952f030e8d Fix: Deleting voucher fucked up due to cascading changes was not 2021-11-08 17:19:27 +05:30
tanshu 3d5d02a416 Version Bump v10.1.4 2021-11-08 10:08:55 +05:30
tanshu ff52aa40bc Fix: Blank voucher error as incentives was not supplied 2021-11-08 10:08:25 +05:30
tanshu 40d5914684 Chore: Updated dependencies 2021-11-08 07:48:52 +05:30
tanshu 2d2a6a785b Fix: All entries was not working as assert was truthy and not checking for None 2021-11-07 18:48:06 +05:30
tanshu 98b574307d Version Bump v10.1.3 2021-11-07 18:32:03 +05:30
tanshu 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
tanshu fa6aa514bc Fix: Employee attendance was not showing 2021-11-07 12:44:52 +05:30
tanshu ca99aa00ed Version Bump v10.1.2 2021-11-02 16:39:31 +05:30
tanshu 4df8c916ab Fix: Recipe was crashing the whole thing 2021-11-02 16:39:15 +05:30
tanshu 5e66db381b Version Bump v10.1.1 2021-11-02 14:15:13 +05:30
tanshu 7a5ccdfbbb Fix: Upgrade failed when multiple skus 2021-11-02 14:15:00 +05:30
tanshu 49aaa2fbe3 Version Bump v10.1.0 2021-11-02 14:01:51 +05:30
tanshu 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
tanshu b3075577e6 Version Bump v10.0.2 2021-11-02 12:31:18 +05:30
tanshu e06c8b484e Change the default sort in Closing Stock 2021-11-02 12:31:12 +05:30
tanshu ce01a4d1f3 Version Bump v10.0.1 2021-11-02 12:00:34 +05:30
tanshu 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
tanshu b69a38d8e9 Version Bump v10.0.0 2021-10-31 18:54:21 +05:30
tanshu 6b176c22dc Docker: Change the dockerfile to better use caching. 2021-10-31 18:54:06 +05:30
tanshu 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
tanshu f8de1cd3cf Fix: Fingerprint upload 2021-10-05 15:04:05 +05:30
tanshu 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
tanshu 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
tanshu 4f907e965b Fix: Incentives was not working 2021-09-26 09:34:16 +05:30
tanshu c3bd22fc9f Fix: Balance Sheet and Trial Balance would not update when changing date. 2021-09-25 11:48:56 +05:30
tanshu 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
tanshu 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
tanshu b1557bef88 DB Integrity checks for batch integrity and also updates quantities when it can. 2021-09-21 09:54:11 +05:30
tanshu 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
tanshu f2d617bbce Fix: Add / Update user error when a role was added. 2021-09-16 12:32:15 +05:30
tanshu 176559466a Feature: Changed the unposted report to entries report with paging, sorting, etc. 2021-09-14 12:49:01 +05:30
tanshu d34c8ea0a4 Rate Contract is checked during save and update of Purchase at the backend 2021-09-13 13:01:34 +05:30
tanshu ceaf93d1cd Fix: Prevent duplicate valid attendances 2021-09-11 17:21:01 +05:30
tanshu dee053c115 Added: Rate Contract Module. To implement: Checking this during purchase. 2021-09-11 15:43:18 +05:30
tanshu 20ce1a297e Fix: Batch autocomplete was not working so Issue / Return was not working 2021-09-11 13:25:05 +05:30
tanshu 074e45fe69 Chore: Renamed the auth tables to remove the prefix 2021-09-11 06:02:09 +05:30
tanshu 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
tanshu dbf0ecf0d8 Updated the deploy and version_bump scripts 2021-09-10 13:26:16 +05:30
tanshu 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
tanshu 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
tanshu 0bd6f8eb03 Version Bump v9.4.4 2021-04-03 07:55:17 +05:30
tanshu 0786a634b0 Chore: Updated a few dependencies 2021-04-03 07:54:39 +05:30
tanshu f1be068d0b Fix: joinedload_all was depreciated in sqlalchemy 1.2 and removed in 1.4 2021-04-03 07:54:00 +05:30
tanshu ef826d30c7 Fix: Overlord build would fail as angular requires TypeScript >=4.0.0 and <4.2.0 2021-04-02 18:48:51 +05:30
tanshu 39c1f61dc5 Version Bump v9.4.3 2021-04-02 18:43:52 +05:30
tanshu 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
tanshu 15be0d5009 Version Bump v9.4.2 2021-02-04 08:50:17 +05:30
tanshu 0cf948b4c8 Fix: Purchase Return was not showing the vendor on load 2021-02-04 08:47:21 +05:30
tanshu 5d0852a74d Version Bump v9.4.1 2021-01-27 09:21:38 +05:30
tanshu faea622ffc Fix: The look of the incentive component 2021-01-27 09:20:52 +05:30
tanshu a883d5ab1c Version Bump v9.4.0 2021-01-25 13:15:34 +05:30
tanshu e3d3179cbd Feature: Added lint, version_bump and deploy scripts 2021-01-25 13:14:17 +05:30
tanshu f2df28ca9c Fix: Incentive takes into account the date chosen
Fix: Employee query was querying AccountBase and errored out as it did not have the designation column
Fix: Incentive update set_date was wrong
Fix: Incentive amount takes into account the current date but not any incentive voucher for the date
2021-01-25 13:07:52 +05:30
tanshu d7f635b7b6 Chore: Split models into their own files 2021-01-25 12:44:17 +05:30
tanshu 9e1da1d59a Version Bump v9.3.3 2020-12-18 14:43:16 +05:30
tanshu 1127ee0ebc I think that when logging in with a client which will be deleted in the later command, there was an error 2020-12-18 14:30:11 +05:30
tanshu fc7c85d592 Fix: Purchase Return did not show default vendor 2020-12-18 13:47:06 +05:30
tanshu 0b589a3ab6 Version bump v9.3.2 2020-12-12 10:27:49 +05:30
tanshu 184dca62f6 Fix: Save product for new product would bork as productGroup as null and not undefined. 2020-12-12 10:26:12 +05:30
tanshu 24ea8096c4 Version bump v9.3.1 2020-12-11 07:48:20 +05:30
tanshu 158f3e0e36 Fix: Raw material cost detail report borked on sort at the end as order was not in RawMaterialCost schema. Although it is not needed in the frontend, added it as optional. 2020-12-11 07:47:36 +05:30
tanshu ccf2f704b6 Fix: Post voucher was not working. Replace command had borked the url.
Fix: Attendace report file name contained single quotes and did not open in excel
2020-12-08 13:05:38 +05:30
tanshu 1f21438a4c Version Bump v9.3.0 2020-12-08 12:10:35 +05:30
tanshu 57ef355170 Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
2020-12-08 12:09:19 +05:30
tanshu d5048bc455 Version Bump v9.2.0 2020-12-05 09:04:11 +05:30
tanshu 9aeb71d566 User and Client lists show the last logins. 2020-12-05 09:03:11 +05:30
tanshu c2e8c0382a Version bump to v9.1.1 2020-12-05 08:08:18 +05:30
tanshu 4042a49896 Fix: was storing the client id instead of code in the cookie 2020-12-04 14:50:11 +05:30
tanshu 02b87262a4 Version bump to v9.1.0 2020-12-04 13:03:01 +05:30
tanshu 2d81f80c63 Moved all the schemas into their own logical files. 2020-12-04 13:02:13 +05:30
tanshu 8ff8d6bc91 Version bump to v9.0.1 2020-11-26 07:07:06 +05:30
tanshu 4c4c1b994e Fix: Employee and Account showed [object Object] in Department instead of the department name.
This is due to enabling strict mode in Typescript and changing the list department from string to object. But the html was not updated.
2020-11-26 07:06:09 +05:30
tanshu 9cd4a4ef20 Version bump to v9.0.0 2020-11-24 08:05:27 +05:30
tanshu 2972203148 Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final.
Testing is required.
2020-11-24 08:03:43 +05:30
tanshu 715e35ef38 Fix: Vouchers post was not allowed as the check was wrong. 2020-11-23 17:29:32 +05:30
tanshu 1b84ef0b11 Upgrade to angular v11 2020-11-23 17:12:27 +05:30
tanshu afe746ecdc Strict done!! 2020-11-23 16:42:54 +05:30
tanshu af343cb7f9 All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
2020-11-23 10:25:53 +05:30
tanshu 39e3cc51bb Moving to strict.
Create form has now moved to constructor and route data subscribe is type safe.
2020-11-23 09:18:02 +05:30
tanshu 30b1a3ef7d Version bump v8.2.4 2020-11-09 12:51:10 +05:30
tanshu c8681b2994 Fix: Add product was borking as during check_inventories_are_valid the product_id of inventory was Null 2020-11-09 12:50:16 +05:30