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

[14.0] [IMP] l10n_it_ricevute_bancarie: modificare data pagamento distinte #4557

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

odooNextev
Copy link
Contributor

@odooNextev odooNextev commented Jan 17, 2025

Implementa #4297 per 14.0.
Backporting di #4383.

@odooNextev odooNextev changed the title [IMP] l10n_it_riba: Pay multiple lines at once [14.0] [IMP] l10n_it_riba: modificare data pagamento distinte Jan 17, 2025
@francesco-ooops francesco-ooops linked an issue Jan 17, 2025 that may be closed by this pull request
2 tasks
@stenext stenext force-pushed the 14.0-imp-l10n_it_riba-payment_date branch from 7a00e93 to fe10fd7 Compare January 17, 2025 14:47
@francesco-ooops francesco-ooops changed the title [14.0] [IMP] l10n_it_riba: modificare data pagamento distinte [14.0] [IMP] l10n_it_ricevute_bancarie: modificare data pagamento distinte Jan 17, 2025
@stenext stenext force-pushed the 14.0-imp-l10n_it_riba-payment_date branch 3 times, most recently from 389d7cf to 8581ce2 Compare January 17, 2025 16:34
@MaurizioPellegrinet
Copy link

@odooNextev @francesco-ooops Quando vado in "mark settlement" e seleziono le righe mi restituiscce questo errore
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/http.py", line 696, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/http.py", line 370, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/http.py", line 358, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/http.py", line 919, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo/http.py", line 544, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 1328, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/opt/odoo/addons/web/controllers/main.py", line 1347, in do_search_read
return Model.web_search_read(domain, fields, offset=offset, limit=limit, order=sort)
File "/opt/odoo/addons/web/models/models.py", line 62, in web_search_read
records = self.search_read(domain, fields, offset=offset, limit=limit, order=order)
File "/opt/odoo/odoo/models.py", line 4881, in search_read
records = self.search(domain or [], offset=offset, limit=limit, order=order)
File "/opt/odoo/odoo/models.py", line 1719, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/opt/odoo/odoo/models.py", line 4548, in _search
query = self._where_calc(args)
File "/opt/odoo/odoo/models.py", line 4304, in _where_calc
return expression.expression(domain, self).query
File "/opt/odoo/odoo/osv/expression.py", line 442, in init
self.parse()
File "/opt/odoo/odoo/osv/expression.py", line 656, in parse
raise ValueError("Invalid field %s.%s in leaf %s" % (model._name, path[0], str(leaf)))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 652, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Invalid field riba.distinta.line.slip_id in leaf ('slip_id', '=', 2)

@stenext stenext force-pushed the 14.0-imp-l10n_it_riba-payment_date branch 2 times, most recently from d6ade02 to 127dc51 Compare January 20, 2025 08:14
@odooNextev
Copy link
Contributor Author

@MaurizioPellegrinet ho cercato di sistemare l'errore che hai segnalato ed ora non viene più mostrata l'eccezione, solo che sembra che il bottone non fa niente lo stesso.

@francesco-ooops
Copy link
Contributor

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

@francesco-ooops The rebase process failed, because command git rebase origin/14.0 failed with output:

Rebasing (1/1)
Auto-merging l10n_it_ricevute_bancarie/README.rst
CONFLICT (content): Merge conflict in l10n_it_ricevute_bancarie/README.rst
Auto-merging l10n_it_ricevute_bancarie/__manifest__.py
Auto-merging l10n_it_ricevute_bancarie/static/description/index.html
CONFLICT (content): Merge conflict in l10n_it_ricevute_bancarie/static/description/index.html
Auto-merging l10n_it_ricevute_bancarie/wizard/wizard_unsolved.py
error: could not apply 127dc51aa... [IMP] l10n_it_riba: Pay multiple lines at once
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 127dc51aa... [IMP] l10n_it_riba: Pay multiple lines at once

@francesco-ooops
Copy link
Contributor

@odooNextev puoi fare rebase?

@stenext stenext force-pushed the 14.0-imp-l10n_it_riba-payment_date branch 3 times, most recently from ff33ddd to 790f76a Compare January 22, 2025 11:06
@francesco-ooops
Copy link
Contributor

@odooNextev posso chiedere un nuovo rebase?

@francesco-ooops
Copy link
Contributor

@odooNextev ping :)

Also allow to set a date during payment and past due process
@stenext stenext force-pushed the 14.0-imp-l10n_it_riba-payment_date branch from 790f76a to dd20304 Compare February 4, 2025 13:17
@odooNextev
Copy link
Contributor Author

@francesco-ooops ho fatto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

16.0 l10n_it_riba: modificare data pagamento distinte
5 participants