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

Bug #882945 reported by bruno bottacini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Italia
Fix Released
Undecided
Eliumara Lopez

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

Related branches

Revision history for this message
Lorenzo Battistini (elbati) wrote :

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

Changed in openobject-italia:
assignee: nobody → Eliumara Lopez (lopez.eliumara)
Revision history for this message
Eliumara Lopez (lopez.eliumara) wrote :

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.

Changed in openobject-italia:
status: New → Fix Committed
Changed in openobject-italia:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.