[IMP] Add upload state tracking on EBICS payment files

account_ebics:
- Add pain_state and ebics_order_number to ebics.file
- Set these fields after a successful upload
- Add neutralized property to api.Environment

account_ebics_batch_payment:
- Add EBICS notebook page with upload info to batch payment form
- Post chatter message with OrderID after upload

account_ebics_payment_order:
- Fix broken postprocess: replace deprecated active_model/active_id
  context keys with model/id
This commit is contained in:
Luc De Meyer committed 2026-10-11 20:59:48 +02:00
1 parent 2cfdbd50f8
commit 2d301e87f8
10 files changed
+109 -16

No files matched your search

+6
View File
@@ -70,6 +70,12 @@ class EbicsFile(models.Model):
readonly=True,
)
note = fields.Text(string="Notes")
ebics_order_number = fields.Char(string="EBICS OrderID", readonly=True)
pain_state = fields.Selection(
[("draft", "Draft"), ("uploaded", "Uploaded"), ("error", "Error")],
default="draft",
readonly=True,
)
note_process = fields.Text(
string="Process Notes",
readonly=True,