Bonjour,
Je rencontre une difficulté lors de la validation de mon bon de clôture tel que présenté sur l’image ci-après.
Voici mes infos de version utilisé :
- « erpnext »: « 4.67.0 »,
- « frappe »: « 4.70.0 »,
Et voici le descriptif de l’erreur :
### Route
```
Form/Period Closing Voucher/ACC-PCV-2026-00001
```
### Traceback
```
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 114, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1761, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 30, in wrapper
return func(*args, **kwargs)
File "apps/frappe/frappe/desk/form/save.py", line 37, in savedocs
doc.submit()
File "apps/frappe/frappe/utils/typing_validations.py", line 30, in wrapper
return func(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1102, in submit
return self._submit()
File "apps/frappe/frappe/model/document.py", line 1085, in _submit
return self.save()
File "apps/frappe/frappe/model/document.py", line 343, in save
return self._save(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 416, in _save
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1204, in run_post_save_methods
self.run_method("on_submit")
File "apps/frappe/frappe/model/document.py", line 1019, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1412, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1396, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File "apps/erpnext/erpnext/regional/france/utils.py", line 31, in on_closing_voucher_submission
generate_carry_forward_entry(doc)
File "apps/erpnext/erpnext/regional/france/utils.py", line 88, in generate_carry_forward_entry
doc.get_pcv_gl_entries()
AttributeError: 'PeriodClosingVoucher' object has no attribute 'get_pcv_gl_entries'
Sauriez-vous me donner des pistes pour comprendre l’origine de mon problème ?
Merci d’avance,
