You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
Create an invoice with a partner A and one invoice line with a product X.
Create a rma claim, select the partner A, select the invoice in "product return" tab.
It autofills a line below.
Edit the rma, add a line that is not present in the invoice.
Pass the rma in "in progress" state.
Click on the "New Refund" button.
A pop-up appears, click on "Create Refund" red button.
A traceback occurs:
File "/home/rdeheele/machines/openerp_dev/parts/server/addons/account/wizard/account_invoice_refund.py", line 232, in invoice_refund
return self.compute_refund(cr, uid, ids, data_refund, context=context)
File "/home/rdeheele/machines/openerp_dev/parts/rma/crm_claim_rma/wizard/account_invoice_refund.py", line 36, in compute_refund
cr, uid, ids, mode=mode, context=context)
File "/home/rdeheele/machines/openerp_dev/parts/server/addons/account/wizard/account_invoice_refund.py", line 158, in compute_refund
refund_id = inv_obj.refund(cr, uid, [inv.id], date, period, description, journal_id, context=context)
File "/home/rdeheele/machines/openerp_dev/parts/server/addons/account/account_invoice.py", line 1296, in refund
context=context)
File "/home/rdeheele/machines/openerp_dev/parts/rma/crm_claim_rma/account_invoice.py", line 89, in _prepare_refund
journal_id=journal_id, context=context)
File "/home/rdeheele/machines/openerp_dev/parts/server/addons/account/account_invoice.py", line 1260, in _prepare_refund
invoice_lines = self._refund_cleanup_lines(cr, uid, invoice.invoice_line, context=context)
File "/home/rdeheele/machines/openerp_dev/parts/rma/crm_claim_rma/account_invoice.py", line 64, in _refund_cleanup_lines
print 'invline field_name ', inv_line[field_name]
File "/home/rdeheele/machines/openerp_dev/parts/server/openerp/osv/orm.py", line 406, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/home/rdeheele/machines/openerp_dev/parts/server/openerp/osv/orm.py", line 3720, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/rdeheele/machines/openerp_dev/parts/server/openerp/osv/orm.py", line 3774, in _read_flat
cr.execute(query, [tuple(sub_ids)] + rule_params)
File "/home/rdeheele/machines/openerp_dev/parts/server/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/home/rdeheele/machines/openerp_dev/parts/server/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...count_invoice_line" WHERE account_invoice_line.id IN (false)...
Problem
The added line is not linked with an existing invoice line, it seems a problem for refund creation.
Expected Behavior
Create a refund with the two lines.
OR
Show a message error explaining the problem.
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
Current behavior:
Create an invoice with a partner A and one invoice line with a product X.
Create a rma claim, select the partner A, select the invoice in "product return" tab.
It autofills a line below.
Edit the rma, add a line that is not present in the invoice.
Pass the rma in "in progress" state.
Click on the "New Refund" button.
A pop-up appears, click on "Create Refund" red button.
A traceback occurs:
Problem
The added line is not linked with an existing invoice line, it seems a problem for refund creation.
Expected Behavior
Create a refund with the two lines.
OR
Show a message error explaining the problem.
The text was updated successfully, but these errors were encountered: