minor fix

This commit is contained in:
Wilson Gomez 2023-05-05 16:00:34 -05:00
parent ad64eac790
commit 35bc824e9c
2 changed files with 3 additions and 3 deletions

View File

@ -1766,7 +1766,7 @@ class DialogCollection(QuickDialog):
label_payment_method.setObjectName('label_collection_payment_method')
grid.addWidget(label_payment_method, 5, 1)
self.combobox_payment_method = ComboBox(
parent, 'payment_method', {'values': self.get_payment_methods()}
parent, 'payment_method_collection', {'values': self.get_payment_methods()}
)
grid.addWidget(self.combobox_payment_method, 5, 2)

View File

@ -98,7 +98,7 @@ MODELS_RESTAURANT = {
'rec_name': 'name',
'fields': [
'name', 'shop.company', 'shop.name', 'shop.taxes', 'shop.taxes.name',
'shop.party.name', 'journals.name', 'journals.require_voucher',
'shop.party.name', 'journals.name', 'journals.require_voucher', 'journals.kind',
'shop.product_categories.accounting',
'shop.product_categories.name',
'shop.product_categories.name_icon',
@ -313,7 +313,7 @@ MODELS_RETAIL = {
'rec_name': 'name',
'fields': [
'name', 'shop.company', 'shop.name', 'shop.taxes', 'shop.taxes.name',
'shop.party.name', 'journals.name', 'journals.require_voucher',
'shop.party.name', 'journals.name', 'journals.require_voucher', 'journals.kind',
'shop.product_categories.accounting',
'shop.product_categories.name',
'shop.product_categories.name_icon',