parameters: (self)
return_statement: return -1 if self.move_type in ('out_invoice', 'in_refund', 'out_receipt') else 1
docstring: The sign must be forced to a negative sign in case the balance is on credit
              to avoid negatif taxes amount.
              Example - Customer Invoice :
              Fixed Tax  |  unit price  |   discount   |  amount_tax  | amount_total |
              -------------------------------------------------------------------------
                  0.67   |      115      |     100%     |    - 0.67    |      0
              -------------------------------------------------------------------------
docstring_summary: The sign must be forced to a negative sign in case the balance is on credit
              to avoid negatif taxes amount.
              Example - Customer Invoice :
              Fixed Tax  |  unit price  |   discount   |  amount_tax  | amount_total |
              -------------------------------------------------------------------------
                  0.67   |      115      |     100%     |    - 0.67    |      0
              -------------------------------------------------------------------------
docstring_tokens: The sign must be forced to a negative sign in case the balance is on credit to avoid negatif taxes amount . Example - Customer Invoice : Fixed Tax | unit price | discount | amount_tax | amount_total | ------------------------------------------------------------------------- 0 . 67 | 115 | 100% | - 0 . 67 | 0 -------------------------------------------------------------------------
function: def _get_tax_force_sign(self):
          """ The sign must be forced to a negative sign in case the balance is on credit
              to avoid negatif taxes amount.
              Example - Customer Invoice :
              Fixed Tax  |  unit price  |   discount   |  amount_tax  | amount_total |
              -------------------------------------------------------------------------
                  0.67   |      115      |     100%     |    - 0.67    |      0
              -------------------------------------------------------------------------"""
          self.ensure_one()
          return -1 if self.move_type in ('out_invoice', 'in_refund', 'out_receipt') else 1
function_tokens: def _get_tax_force_sign ( self ) : self . ensure_one ( ) return - 1 if self . move_type in ( 'out_invoice' , 'in_refund' , 'out_receipt' ) else 1