addons14/contract/models/contract.py
def _get_contracts_to_invoice_domain(self, date_ref=None):
        """
        This method builds the domain to use to find all
        contracts (contract.contract) to invoice.
        :param date_ref: optional reference date to use instead of today
        :return: list (domain) usable on contract.contract
        """
        domain = []
        if not date_ref:
            date_ref = fields.Date.context_today(self)
        domain.extend([("recurring_next_date", "<=", date_ref)])
        return domain

        This method builds the domain to use to find all
        contracts (contract.contract) to invoice.
        :param date_ref: optional reference date to use instead of today
        :return: list (domain) usable on contract.contract
        
This method builds the domain to use to find all
contracts (contract.contract) to invoice.
This method builds the domain to use to find all contracts ( contract . contract ) to invoice .
def _get_contracts_to_invoice_domain(self, date_ref=None):
        domain = []
        if not date_ref:
            date_ref = fields.Date.context_today(self)
        domain.extend([("recurring_next_date", "<=", date_ref)])
        return domain
def _get_contracts_to_invoice_domain ( self , date_ref = None ) : domain = [ ] if not date_ref : date_ref = fields . Date . context_today ( self ) domain . extend ( [ ( "recurring_next_date" , "<=" , date_ref ) ] ) return domain
This method builds the domain to use to find all
contracts (contract.contract) to invoice.
This method builds the domain to use to find all contracts ( contract . contract ) to invoice .
"""
        This method builds the domain to use to find all
        contracts (contract.contract) to invoice.
        :param date_ref: optional reference date to use instead of today
        :return: list (domain) usable on contract.contract
        """
list (domain) usable on contract.contract
list ( domain ) usable on contract . contract
self
date_ref
optional reference date to use instead of today
optional reference date to use instead of today