New Features: * Docker support (Thanks to johnbenjaminlewis for the contribution)
Bug Fixes * Fix the system needs a fix `SECURITY_PASSWORD_SALT` and `SECURITY_PASSWORD_HASH` to work, now `SECURITY_PASSWORD_SALT` and `SECURITY_PASSWORD_HASH` can be set and system login will always works.
Enhancement * Using pytest in development
0.6.7.post4
- Python3 support, current 3.4, 3.5, 3.6, 3.7 is supported. - Upgrade all dependencies packages to latest stable version. - [BE-352] Enhancement: Delete in transit quantity field for manually created inventory transitions - [BE-362] Fix: Error msg shown when opening detail page of a receiving document
0.6.7
Story - [BE-275] - Change header detail edit and create page to fieldset and can folder for header fields. - [BE-324] - Ability to import all supplier fields from legacy system - [BE-327] - Add report to query for sales/profit per supplier / item - [BE-203] - Product overall report by predefined period - [BE-204] - Supplier overall report by predefined period - [BE-329] - As a user I would like to search product/customer/supplier by their pinyin when creating sales order/purchase order - [BE-282] - Display line number and unsaved mark for newly added lines
Task - [BE-227] - Deleted preference related tables and views - [BE-295] - Optimise the detail line display on object detail page - [BE-340] - Fix product select is not ajax based on some pages - inventorytransaction edit page - inventorytransaction create page - franchise purchase order create page - franchise purchase order edit page - [BE-343] - Only display delete and edit link when receiving is in draft status
Bug Fixes - [BE-323] - Fix missing translation on all the report page - [BE-330] - Fix Incoming is not updated upon sales order line update - [BE-339] - Fix line does not show on receiving and inventory transaction edit page - [BE-341] - Fix Saleable Quantity is editable on inventory transaction edit/create page - [BE-342] - The related PO is empty for an existing receiving - [BE-344] - Multiple receiving created for one PO if user hit PO save for multiple times - [BE-345] - User can not change receiving to received - [BE-346] - Inventory transaction created by PO and SO automatically should not be editable - [BE-353] - python manage.py db downgrade command stop works
0.6.6
* New Feature * [BE-202] Sales order overall report, include * Sales amount report * Sales amount per past 24 months * Sales amount per past 53 weeks * Sales amount compare to corresponding period last year(month and week) * Sales amount compare to last period(last month and week) * Sales profit report * Sales profit per past 24 months * Sales profit per past 53 weeks * Sales profit compare to corresponding period last year(month and week) * Sales profit compare to last period(last month and week) * [BE-301] Implement a transaction data cleanup command * __python psi/manage.py clean_transaction_data__ to clean all transaction data * __python psi/manage.py clean_database__ to clean all data * [BE-319] Implement FIFO profit calculation method
* Improvement * [BE-192] Auto calculate the profit of each product and set need advice to true for leverage products * [BE-287] Make name of role not editable * [BE-285] Support login using login/password or email/password * [BE-263] Move test code out of the whole application folder * [BE-317] set SEND_FILE_MAX_AGE_DEFAULT to 1 for development config
* Bug Fixes * [BE-296] User should not be able to delete franchise sales order * [BE-307] User is still able to see purchase price if he has product edit permission and without purchase price permission * [BE-310] Disable creation of franchise purchase order in some cases
0.6.5
- New Feature - [BE-258] - Support new branch business process - [BE-162] - As a Developer I want to add image field support so that product image can be stored in the product entity. - [BE-166] - Add the ability to filter purchase price for purchase order creation and manage role - [BE-171] - Change the inline child object display to a table based controller - [BE-259] - Workout detail requirement of branch support - [BE-262] - As a user I would like to see all images of the product in product detail page - [BE-299] - Implement a test / demo data load feature - [BE-279] - Add some indicator to the deleted line - Improvement - [BE-190] - Only allows to select nonsales and nonpurchase inventory transaction type when create manually - [BE-266] - Disable auto complete for password field when editing user - [BE-278] - The inline form table should be display as odd and even line different - [BE-286] - Product operation advice should be seen by sales manager not product manager - [BE-291] - Purchase order in non draft status should not be editable - [BE-293] - Make all the list page sort by id reverse - [BE-300] - Remove field code from product and supplier - [BE-280] - Include current commit sha and build number in software footer - Technical task - [BE-251] - Create setup.py - Bug - [BE-238] - Display error for the follow data(organization) - [BE-252] - Organisation admin user be able to edit it's parent organisation via edit shortcut in the object popup window. - [BE-261] - Add some indicator to the deleted line for inline form include Gray the words and Add a cross line such indicator to tell user that this line is marked as delete. - [BE-264] - Distinguish feature field display error on product detail page - [BE-270] - TemplateAssertionError: no filter named 'urlencode' - [BE-271] - TemplateAssertionError: no filter named 'urlencode' - [BE-272] - Organisation list page can not be shown on PRD - [BE-273] - User list page can not be shown on PRD - [BE-281] - sequence missing for some tables - [BE-283] - No able to create sales order with line - [BE-288] - Fix sales order created can not be shown in UI - [BE-290] - Fix sentry issue 'SalesOrderLine' object has no attribute 'lines' - [BE-292] - Fix the detail and edit link generate error on popover window if there's multiple view assigned to one model - [BE-294] - User is able to delete a record even it's not allowed by can_delete defined in the model - [BE-297] - get_next_code will cause IntegrityError: (psycopg2.IntegrityError) duplicate key value violates unique constraint - [BE-302] - Page scroll to top when click on a related object scroll to end of page - [BE-304] - For PO with more than one line, fully receive one line will mark PO as fully received - [BE-305] - Status of PO change to fully received if user delete some line from receiving and change receiving status to RECEIVED - [BE-306] - Change Receiving from draft to received and delete some line cause inventory transaction data wrong
0.6.4
- Technical task - [BE-209] - Remove organization role from role list page of normal organization admin - [BE-210] - Split admin to super admin and organization admin - [BE-212] - Change all the select field filters to support multiple organization - [BE-213] - Show all users from all organizations for super admin user - [BE-220] - `Hide organization field for user object for organization administrator - Epic - [BE-198] - Multiple organisation support - Bug - [BE-230] - User with super admin role but without user_edit role can not edit user - [BE-231] - Unit test on travis failure on push - [BE-237] - User admin in a business organization should not see super admin user in user list page. - [BE-246] - Not able to edit root organization from UI. - [BE-254] - Failed to create new organisation - [BE-257] - User should only be able to set organisation's parent organisation to it's own organisation and children. - Story - [BE-200] - Security model optimize - Task - [BE-217] - Cleanup admin user roles - [BE-218] - Add seed language and time zone to seed data - [BE-219] - Reconsider: Should organization admin user has ability to edit role? - [BE-242] - Edit of organisation / Change parent organisation - [BE-243] - Disable create of organisation with no parent - [BE-244] - i18n for some error messages - Improvement - [BE-208] - For enum value and role, user should not set parent/child to itself - [BE-222] - Hide organization on product category list / edit / create page. - [BE-224] - Set active default value of user to True. - [BE-226] - Make email required for user object - [BE-234] - Upgrade to flask 0.11 - [BE-236] - Add the sales order line view to migration - [BE-240] - Forbid to delete root organisation in system - [BE-241] - Disable delete of organisation if there's any child organisation exists - [BE-247] - Show current user's organisation and all it's children on user edit/create page - [BE-248] - User should see their own organisation and all children organisation in organisation admin list page. - [BE-249] - Fix all the cycle import