parameters: (self, qty, cost, credit_account_id, debit_account_id, description)
return_statement: return res
docstring: Generate the account.move.line values to post to track the stock valuation difference due to the
          processing of the given quant.
docstring_summary: Generate the account.move.line values to post to track the stock valuation difference due to the
          processing of the given quant.
docstring_tokens: Generate the account . move . line values to post to track the stock valuation difference due to the processing of the given quant .
function: def _prepare_account_move_line(self, qty, cost, credit_account_id, debit_account_id, description):
          """
          Generate the account.move.line values to post to track the stock valuation difference due to the
          processing of the given quant.
          """
          self.ensure_one()
  
          # the standard_price of the product may be in another decimal precision, or not compatible with the coinage of
          # the company currency... so we need to use round() before creating the accounting entries.
          debit_value = self.company_id.currency_id.round(cost)
          credit_value = debit_value
  
          valuation_partner_id = self._get_partner_id_for_valuation_lines()
          res = [(0, 0, line_vals) for line_vals in self._generate_valuation_lines_data(valuation_partner_id, qty, debit_value, credit_value, debit_account_id, credit_account_id, description).values()]
  
          return res
function_tokens: def _prepare_account_move_line ( self , qty , cost , credit_account_id , debit_account_id , description ) : self . ensure_one ( ) # the standard_price of the product may be in another decimal precision, or not compatible with the coinage of # the company currency... so we need to use round() before creating the accounting entries. debit_value = self . company_id . currency_id . round ( cost ) credit_value = debit_value valuation_partner_id = self . _get_partner_id_for_valuation_lines ( ) res = [ ( 0 , 0 , line_vals ) for line_vals in self . _generate_valuation_lines_data ( valuation_partner_id , qty , debit_value , credit_value , debit_account_id , credit_account_id , description ) . values ( ) ] return res