mirror of
https://github.com/NaN-tic/trytond-account_payment_gateway.git
synced 2023-12-14 02:13:05 +01:00
Transaction Log field
This commit is contained in:
parent
645e352c37
commit
90ee5e5b41
2 changed files with 5 additions and 1 deletions
|
@ -82,6 +82,7 @@ class AccountPaymentGatewayTransaction(Workflow, ModelSQL, ModelView):
|
|||
('done', 'Done'),
|
||||
('cancel', 'Canceled'),
|
||||
], 'State', readonly=True)
|
||||
log = fields.Text("Log", depends=['state'], states=READONLY_IF_NOT_DRAFT)
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
|
|
|
@ -17,7 +17,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
</page>
|
||||
<page string="Other Information" id="other_info" col="6">
|
||||
<page string="Other Information" id="other_info">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="gateway"/>
|
||||
|
@ -27,6 +27,9 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="authorisation_code"/>
|
||||
<field name="authorisation_code"/>
|
||||
</page>
|
||||
<page string="Logs" id="log">
|
||||
<field name="log"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="10" colspan="4" id="buttons">
|
||||
<field name="state"/>
|
||||
|
|
Loading…
Reference in a new issue