Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V9]Impossible to close the debt in tg_pos #61

Closed
flotho opened this issue Jan 31, 2016 · 13 comments
Closed

[V9]Impossible to close the debt in tg_pos #61

flotho opened this issue Jan 31, 2016 · 13 comments
Labels

Comments

@flotho
Copy link
Contributor

flotho commented Jan 31, 2016

Hi,

here is a problem while trying to close the debt of the customer :

TypeError: this.cashregister.journal_id is undefined
http://erp.manucentre.fr/point_of_sale/static/src/js/models.js:1429
Retraçage :
exports.Paymentline<.initialize@http://erp.manucentre.fr/point_of_sale/static/src/js/models.js:1429:9
Backbone.Model@http://erp.manucentre.fr/web/static/lib/backbone/backbone.js:256:5
extend/child@http://erp.manucentre.fr/web/static/lib/backbone/backbone.js:1541:34
.pay_full_debt@http://erp.manucentre.fr/tg_pos_debt_notebook/static/src/js/tg_pos.js:119:38
.renderElement/<@http://erp.manucentre.fr/tg_pos_debt_notebook/static/src/js/tg_pos.js:96:54

Thanks in advance for your support

@flotho
Copy link
Contributor Author

flotho commented Feb 1, 2016

Hi,
@yelizariev do you reproduce this error?

regards

@yelizariev
Copy link
Collaborator

@flotho
I will check new updates in debt modules (see #62) and then will check this issue

@flotho
Copy link
Contributor Author

flotho commented Feb 10, 2016

Hi @yelizariev ,

Any chance to have an idea of the merge date of your PR ?

@yelizariev
Copy link
Collaborator

@flotho We've merged #62 and I confirm your issue.

@ufaks there is also issue with debt value in Customer Page in POS: it is not updated after debt payment

@yelizariev yelizariev self-assigned this Feb 18, 2016
@yelizariev yelizariev added the bug label Feb 18, 2016
@yelizariev yelizariev removed their assignment Feb 18, 2016
@flotho
Copy link
Contributor Author

flotho commented Feb 19, 2016

Hi @yelizariev

We still having an issue in the customer :


    return new_api(self, *args, **kwargs)
  File "/home/florent/DEV/Lib_Odoo/v9-yelizariev_pos_addons/pos_debt_notebook/models.py", line 26, in _get_debt
    (debt_account.id, tuple(self.ids)))
  File "/home/florent/DEV/Serveurs/odoo/odoo_9/openerp/sql_db.py", line 141, in wrapper
    return f(self, *args, **kwargs)
  File "/home/florent/DEV/Serveurs/odoo/odoo_9/openerp/sql_db.py", line 220, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  l'opérateur n'existe pas : integer = boolean
LIGNE 3 :             WHERE l.account_id = false AND l.partner_id IN (...


@gaelTorrecillas
Copy link
Contributor

hi, I have the same issue

@flotho
Copy link
Contributor Author

flotho commented Feb 19, 2016

HI @yelizariev ,

Personnaly I forced an update on the already exsiting module and it failed.
The code seems to inicates that the journal must be named XDEBT, isn't it too restrictive?
Wouldn't it be simplier to find the journal and afterwards use its account?

@flotho
Copy link
Contributor Author

flotho commented Feb 19, 2016

Additionnaly, could it be reluctant to use the already existing field for the customer balance?

@flotho
Copy link
Contributor Author

flotho commented Feb 22, 2016

@obviousnikhil
Copy link

Hi @yelizariev ,

Are you still working on this issue? Do you think this issue will be fixed soon?

@yelizariev
Copy link
Collaborator

I think we will finish it next week.
Current work available here https://github.com/yelizariev/pos-addons/pull/92

@obviousnikhil
Copy link

Yes, I figured #92 and thanks for the update.

yelizariev pushed a commit that referenced this issue Jun 1, 2016
@yelizariev
Copy link
Collaborator

I close it, as update #92 is merged. Ping us if new issue happens
cc @ufaks

gaelTorrecillas pushed a commit to gaelTorrecillas/pos-addons that referenced this issue Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants