← Back to team overview

openobject-italia-core-devs team mailing list archive

[Bug 882945] Re: nel modulo l10n_it_ri_ba, form "riba lines", eccezione se cerco un'entry lines

 

Non ho verificato a fondo il problema ma credo sia meglio
('reconcile_id','!=', False)

** Changed in: openobject-italia
     Assignee: (unassigned) => Eliumara Lopez (lopez.eliumara)

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/882945

Title:
  nel modulo l10n_it_ri_ba, form "riba lines", eccezione se cerco
  un'entry lines

Status in OpenERP Italia:
  New

Bug description:
  l'errore ritornato è:

  ProgrammingError: operator does not exist: integer = boolean
  LINE 1: ..._move_line" WHERE (account_move_line.reconcile_id = true) AN...
                                                               ^
  HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

  penso si possa risolvere cosi:

  file: l10n_it_ri_ba/riba_issue_view.xml

  167c167
  <                                     <field name="move_line_id" on_change="onchange_move_line(move_line_id,parent.mode,parent.date_prefered,parent.date_scheduled,currency,company_currency)" select="1" domain="[('reconcile_id','=', True),('debit', '>',0),('amount_to_pay','>',0)] "/>
  ---
  >                                     <field name="move_line_id" on_change="onchange_move_line(move_line_id,parent.mode,parent.date_prefered,parent.date_scheduled,currency,company_currency)" select="1" domain="[('reconcile_id','!=', None),('debit', '>',0),('amount_to_pay','>',0)] "/>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/882945/+subscriptions


References