delete file 'default_performance_rate'

This commit is contained in:
sinergia 2022-11-11 12:36:52 -05:00
parent 07d892bf6d
commit 840b2ed5d8
2 changed files with 6 additions and 12 deletions

16
shop.py
View File

@ -77,10 +77,6 @@ class PurchaseShop(ModelSQL, ModelView):
],
depends=['rate', 'group'])
default_performance_rate = fields.Numeric('Default Performance Rate', _digits)
@classmethod
def __register__(cls, module_name):
connection = Transaction().connection
@ -203,13 +199,13 @@ class PurchaseShop(ModelSQL, ModelView):
config = Config(1)
return config
@staticmethod
def default_performance_rate():
Config = Pool().get('purchase.configuration')
config = Config(1)
# @staticmethod
# def default_standard_performance_rate():
# Config = Pool().get('purchase.configuration')
# config = Config(1)
if config.default_performance_rate:
return config.default_performance_rate
# if config.standard_performance_rate:
# return config.standard_performance_rate
@fields.depends('company')

View File

@ -18,8 +18,6 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
<field name="analytic_account"/>
<label name="withholding_tax"/>
<field name="withholding_tax"/>
<label name="default_performance_rate"/>
<field name="default_performance_rate"/>
<notebook colspan="4">
<page string="General" id="general">
<label name="purchase_sequence"/>