parameters: (self)
return_statement: return '%s/%s' % (prefix, ref)
docstring: This computes the reference based on the Odoo format.
              The data used is the reference set on the partner or its database
              id otherwise. For instance if the reference of the customer is
              'dumb customer 97', the reference will be 'CUST/dumb customer 97'.
docstring_summary: This computes the reference based on the Odoo format.
              The data used is the reference set on the partner or its database
              id otherwise. For instance if the reference of the customer is
              'dumb customer 97', the reference will be 'CUST/dumb customer 97'.
docstring_tokens: This computes the reference based on the Odoo format . The data used is the reference set on the partner or its database id otherwise . For instance if the reference of the customer is dumb customer 97 the reference will be CUST / dumb customer 97 .
function: def _get_invoice_reference_odoo_partner(self):
          """ This computes the reference based on the Odoo format.
              The data used is the reference set on the partner or its database
              id otherwise. For instance if the reference of the customer is
              'dumb customer 97', the reference will be 'CUST/dumb customer 97'.
          """
          ref = self.partner_id.ref or str(self.partner_id.id)
          prefix = _('CUST')
          return '%s/%s' % (prefix, ref)
function_tokens: def _get_invoice_reference_odoo_partner ( self ) : ref = self . partner_id . ref or str ( self . partner_id . id ) prefix = _ ( 'CUST' ) return '%s/%s' % ( prefix , ref )