def BillNextID(self, vendor): ''' Return the next Bill ID. ''' from gnucash.gnucash_core_c import gncInvoiceNextID return gncInvoiceNextID(self.get_instance(), vendor.GetEndOwner().get_instance()[1])
def BillNextID(self, vendor): ''' Return the next Bill ID. ''' from gnucash.gnucash_core_c import gncInvoiceNextID return gncInvoiceNextID(self.get_instance(),vendor.GetEndOwner().get_instance()[1])
def InvoiceNextID(self, customer): ''' Return the next invoice ID. This works but I'm not entirely happy with it. FIX ME''' from gnucash.gnucash_core_c import gncInvoiceNextID return gncInvoiceNextID(self.get_instance(), customer.GetEndOwner().get_instance()[1])
def InvoiceNextID(self, customer): ''' Return the next invoice ID. This works but I'm not entirely happy with it. FIX ME''' from gnucash.gnucash_core_c import gncInvoiceNextID return gncInvoiceNextID(self.get_instance(),customer.GetEndOwner().get_instance()[1])