mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-10-17 16:29:06 +00:00
[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:
1 parent
2cfdbd50f8
commit
2d301e87f8
10 files changed
+109
-16
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user