Module Stock (developer): Difference between revisions

Jump to navigation Jump to search
m
Line 35: Line 35:
When the option to increment the stock of orders is on the side of supplier orders, this is the class htdocs / prov / fournisseur.commande.class.php that supports incrementing the stock through its method '' DispatchProduct () ''. Enabling this control is only possible state 3 and 4 of the purchase order, which means that you should not miss a step when encode the order. Once the order "sent", it is possible to place the products in the stock by clicking on the tab Dispatch ('' Ventilation ').
When the option to increment the stock of orders is on the side of supplier orders, this is the class htdocs / prov / fournisseur.commande.class.php that supports incrementing the stock through its method '' DispatchProduct () ''. Enabling this control is only possible state 3 and 4 of the purchase order, which means that you should not miss a step when encode the order. Once the order "sent", it is possible to place the products in the stock by clicking on the tab Dispatch ('' Ventilation ').


= Améliorations possibles =
= Améliorations possibles (Possible enhancements) =


Une livraison d'un produit composé de plusieurs sous-produits devrait pouvoir être intégrée au stock sous forme des différents constituants plutôt que du tout.
Une livraison d'un produit composé de plusieurs sous-produits devrait pouvoir être intégrée au stock sous forme des différents constituants plutôt que du tout.
Cette intégration peut être faite de façon simple en ajoutant un checkbox dans fourn/commande/dispatch.php, une méthode donnant la liste détaillée des composants d'un produit (incluant les quantités), et une nouvelle méthode commandeFournisseur::DispatchProductAsComponents() qui va chercher la liste des enfants et les place un à un dans le stock.
Cette intégration peut être faite de façon simple en ajoutant un checkbox dans fourn/commande/dispatch.php, une méthode donnant la liste détaillée des composants d'un produit (incluant les quantités), et une nouvelle méthode commandeFournisseur::DispatchProductAsComponents() qui va chercher la liste des enfants et les place un à un dans le stock.
'''Temporary translation'''
A supply of a product consisting of several by-products should be able to be integrated into the stock in the form of individual components rather than at all.
This integration can be done in a simple way by adding a checkbox in prov / order / dispatch.php a method giving a detailed list of components of a product (including quantities), and a new method commandeFournisseur :: DispatchProductAsComponents () that fetches the list of children and places them one by one into the stock.


= Permissions =
= Permissions =
304

edits

Navigation menu