~romaia/stoq/quality

« back to all changes in this revision

Viewing changes to stoqlib/gui/dialogs/productiondialog.py

  • Committer: Ronaldo Maia
  • Date: 2011-10-26 15:20:52 UTC
  • Revision ID: romaia@async.com.br-20111026152052-i9f0sgl9h6mhe2qa
Move add produced/lost funcionality from ProductionItemSearch to ProductionDetailsDialog. Add funcionality to allocate more material for the production and return remainng quantity after the production is closed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
    def get_components(self):
78
78
        return self.product.get_components()
79
79
 
 
80
 
80
81
class _TemporaryProductionItemComponent(object):
81
82
    def __init__(self, product_component):
82
83
        self.product = product_component.component