addons14/contract/models/contract_line.py
def _onchange_is_auto_renew(self):
        """Date end should be auto-computed if a contract line is set to
        auto_renew"""
        for rec in self.filtered("is_auto_renew"):
            if rec.date_start:
                rec.date_end = self._get_first_date_end(
                    rec.date_start,
                    rec.auto_renew_rule_type,
                    rec.auto_renew_interval,
                )
Date end should be auto-computed if a contract line is set to
        auto_renew
Date end should be auto-computed if a contract line is set to
auto_renew
Date end should be auto - computed if a contract line is set to auto_renew
def _onchange_is_auto_renew(self):
        for rec in self.filtered("is_auto_renew"):
            if rec.date_start:
                rec.date_end = self._get_first_date_end(
                    rec.date_start,
                    rec.auto_renew_rule_type,
                    rec.auto_renew_interval,
                )
def _onchange_is_auto_renew ( self ) : for rec in self . filtered ( "is_auto_renew" ) : if rec . date_start : rec . date_end = self . _get_first_date_end ( rec . date_start , rec . auto_renew_rule_type , rec . auto_renew_interval , )
Date end should be auto-computed if a contract line is set to
auto_renew
Date end should be auto - computed if a contract line is set to auto_renew
"""Date end should be auto-computed if a contract line is set to
        auto_renew"""
self