addons14/contract/models/abstract_contract_line.py
def _set_recurrence_field(self, field):
        """Helper method for computed methods that gets the equivalent field
        in the header.

        We need to re-assign the original value for avoiding a missing error.
        """
        for record in self:
            if record.contract_id.line_recurrence:
                record[field] = record[field]
            else:
                record[field] = record.contract_id[field]
Helper method for computed methods that gets the equivalent field
        in the header.

        We need to re-assign the original value for avoiding a missing error.
        
Helper method for computed methods that gets the equivalent field
in the header.

We need to re-assign the original value for avoiding a missing error.
Helper method for computed methods that gets the equivalent field in the header . We need to re - assign the original value for avoiding a missing error .
def _set_recurrence_field(self, field):
        for record in self:
            if record.contract_id.line_recurrence:
                record[field] = record[field]
            else:
                record[field] = record.contract_id[field]
def _set_recurrence_field ( self , field ) : for record in self : if record . contract_id . line_recurrence : record [ field ] = record [ field ] else : record [ field ] = record . contract_id [ field ]
Helper method for computed methods that gets the equivalent field
in the header.
Helper method for computed methods that gets the equivalent field in the header .
"""Helper method for computed methods that gets the equivalent field
        in the header.

        We need to re-assign the original value for avoiding a missing error.
        """
self
field