@classmethod with 1st argument self (instead of cls)
There a few places where @classmethods have a first argument named self instead of cls.
https://www.python.org/dev/peps/pep-0008/#function-and-method-arguments
ag @classmethod -A2 | grep self -B1
trytond/modules/stock_forecast/forecast.py:234: @classmethod
trytond/modules/stock_forecast/forecast.py:235- def delete(self, forecasts):
--
trytond/modules/currency/currency.py:246: @classmethod
trytond/modules/currency/currency.py:247- def check_xml_record(self, records, values):
--
trytond/modules/timesheet/line.py:280: @classmethod
trytond/modules/timesheet/line.py:281- def search_week(self, name, domain):
--
trytond/modules/timesheet/line.py:334: @classmethod
trytond/modules/timesheet/line.py:335- def search_month(self, name, domain):
--
trytond/modules/stock/shipment.py:1386: @classmethod
trytond/modules/stock/shipment.py:1387- def _set_move_planned_date(self, shipments):
--
trytond/modules/stock/location.py:276: @classmethod
trytond/modules/stock/location.py:277- def check_xml_record(self, records, values):
--
trytond/modules/production/production.py:605- @ModelView.button_action('production.wizard_assign')
trytond/modules/production/production.py:606- def assign_wizard(self, productions):
--
trytond/modules/sale_subscription/service.py:29: @classmethod
trytond/modules/sale_subscription/service.py:30- def search_rec_name(self, name, clause):
--
trytond/modules/account_payment_sepa/payment.py:550: @classmethod
trytond/modules/account_payment_sepa/payment.py:551- def has_payments(self, mandates, name):
--
trytond/modules/account_invoice/invoice.py:476: @classmethod
trytond/modules/account_invoice/invoice.py:477- def get_type_name(self, invoices, name):