← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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)] "/>

** Affects: openobject-italia
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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


Follow ups

References