[6.1] [mig] l10n_ve_fiscal_requirements No me permite hacer la nota de crédito.

Bug #1055638 reported by Nhomar - Vauxoo on 2012-09-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openerp Venezuela
Undecided
Unassigned
6.1
Critical
Jose Antonio Morales Ponce(vauxoo) - - http://www.vauxoo.com

Bug Description

Al intentar hacer la nota de crédito con el botón refund invoice, éste wizard explota.

2012-09-24 16:52:25,554 5425 ERROR ? openerp.sql_db: Programming error: column "period_id" is of type integer but expression is of type record
LINE 1: ...ULL,NULL,'0.00',44,NULL,NULL,'False',NULL,17,1,46,(9, 'X 09/...
                                                             ^
HINT: You will need to rewrite or cast the expression.
, in query insert into "account_invoice" (id,"comment","internal_number","date_due","check_total","account_id","reference","payment_term","reconciled","number","journal_id","currency_id","address_invoice_id","period_id","sin_cred","partner_id","date_invoice","fiscal_position","user_id","name","reference_type","company_id","state","address_contact_id","type",create_uid,create_date) values (26,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,(now() at time zone 'UTC'))
2012-09-24 16:52:25,555 5425 ERROR ? openerp.sql_db: bad query: SELECT res_users."menu_id",res_users."menu_tips",res_users."active",res_users."date",res_users."context_lang",res_users."password",res_users."id",res_users."context_tz",res_users."name",res_users."company_id",res_users."signature",res_users."login",res_users."action_id",res_users."user_email",res_users.id FROM "res_users" WHERE res_users.id IN (1) ORDER BY name
Traceback (most recent call last):
  File "/home/nhomar/instancias/6.1/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-24 16:52:25,556 5425 ERROR ? openerp.netsvc: Unknown Error
column "period_id" is of type integer but expression is of type record
LINE 1: ...ULL,NULL,'0.00',44,NULL,NULL,'False',NULL,17,1,46,(9, 'X 09/...
                                                             ^
HINT: You will need to rewrite or cast the expression.

Se está haciendo referencia objetos desde el wizard, para la v6.1 lo que llegan son tuplas.

Nhomar - Vauxoo (nhomar) on 2012-09-24
Changed in openerp-venezuela-localization:
status: New → Confirmed

Hola jefferson

Nos puedes contar por que cambias el estado del bug?

te recomiendo propongas otro es mas sencillo de hacerle seguimiento.

gracias por tu entendimiento.

Saludos

Nhomar HernandeZ desde mi cel linux based
El 26/11/2012 15:26, "Jefferson Miranda Tito" <
<email address hidden>> escribió:

> ** Changed in: openerp-venezuela-localization/6.1
> Status: Fix Committed => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1055638
>
> Title:
> [6.1] [mig] l10n_ve_fiscal_requirements No me permite hacer la nota de
> crédito.
>
> Status in Localización Venezuela:
> Confirmed
> Status in Openerp Venezuela 6.1 series:
> Confirmed
>
> Bug description:
> Al intentar hacer la nota de crédito con el botón refund invoice, éste
> wizard explota.
>
>
> 2012-09-24 16:52:25,554 5425 ERROR ? openerp.sql_db: Programming error:
> column "period_id" is of type integer but expression is of type record
> LINE 1: ...ULL,NULL,'0.00',44,NULL,NULL,'False',NULL,17,1,46,(9, 'X
> 09/...
> ^
> HINT: You will need to rewrite or cast the expression.
> , in query insert into "account_invoice"
> (id,"comment","internal_number","date_due","check_total","account_id","reference","payment_term","reconciled","number","journal_id","currency_id","address_invoice_id","period_id","sin_cred","partner_id","date_invoice","fiscal_position","user_id","name","reference_type","company_id","state","address_contact_id","type",create_uid,create_date)
> values
> (26,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,(now()
> at time zone 'UTC'))
> 2012-09-24 16:52:25,555 5425 ERROR ? openerp.sql_db: bad query: SELECT
> res_users."menu_id",res_users."menu_tips",res_users."active",res_users."date",res_users."context_lang",res_users."password",res_users."id",res_users."context_tz",res_users."name",res_users."company_id",res_users."signature",res_users."login",res_users."action_id",res_users."user_email",
> res_users.id FROM "res_users" WHERE res_users.id IN (1) ORDER BY name
> Traceback (most recent call last):
> File "/home/nhomar/instancias/6.1/server/openerp/sql_db.py", line 212,
> in execute
> res = self._obj.execute(query, params)
> InternalError: current transaction is aborted, commands ignored until
> end of transaction block
>
> 2012-09-24 16:52:25,556 5425 ERROR ? openerp.netsvc: Unknown Error
> column "period_id" is of type integer but expression is of type record
> LINE 1: ...ULL,NULL,'0.00',44,NULL,NULL,'False',NULL,17,1,46,(9, 'X
> 09/...
> ^
> HINT: You will need to rewrite or cast the expression.
>
> Se está haciendo referencia objetos desde el wizard, para la v6.1 lo
> que llegan son tuplas.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/openerp-venezuela-localization/+bug/1055638/+subscriptions
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers