← 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

 

Ciao
Ho cancellato questa parte del domain, che rimane così:
domain="[('debit', '>',0),('amount_to_pay','>',0)]"
In fase di sviluppo, mi è rimasta questa riga delle view da controllare...scusate!
Adesso le Ri.Ba le potete generare senza problemi!

Grazie Lorenzo per aver aggiornato le depends.

P.S.: Se volete continuare a testare le Ri.Ba, vi consiglio vivamente
per ora di non installare account_payment insieme a l10n_it_ri_ba.
Abbiamo rilevato alcune incongruenze, durante questa fase di test. In
settimana prossima, appena mi è possibile rilascerò una new revision.

-- 
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