mirror of
				https://github.com/inventree/inventree-docs.git
				synced 2025-10-31 04:45:38 +00:00 
			
		
		
		
	Fixed misunderstanding of can_complete (#405)
* started python API reference guide * Added test to the API reference guide * Added Price break * added context variables to the build section * Cleand up build section and added new example * Fine tuning * fixed picture * removed unfinished python reference guide * Added allocated_stock to the build rreport * Added contect variables for user model * Added link to user in build.md * Fixed misunderstanding of can_complete
This commit is contained in:
		| @@ -31,7 +31,8 @@ The following variables are accessed by build.variable | |||||||
| | active | Boolean that tells if the build is active | | | active | Boolean that tells if the build is active | | ||||||
| | batch | Batch code transferred to build parts (optional) | | | batch | Batch code transferred to build parts (optional) | | ||||||
| | bom_items | A query set with all BOM items for the build | | | bom_items | A query set with all BOM items for the build | | ||||||
| | can_complete | Boolean that tells if the build can be completed ( all material allocated)| | | can_complete | Boolean that tells if the build can be completed. Means: All material allocated and all parts have been build. | | ||||||
|  | | are_untracked_parts_allocated | Boolean that tells if all bom_items have allocated stock_items. |  | ||||||
| | creation_date | Date where the build has been created | | | creation_date | Date where the build has been created | | ||||||
| | completion_date | Date the build was completed (or, if incomplete, the expected date of completion) | | | completion_date | Date the build was completed (or, if incomplete, the expected date of completion) | | ||||||
| | completed_by | The [User](./context_variables.md#user) that completed the build | | | completed_by | The [User](./context_variables.md#user) that completed the build | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user