This commit is contained in:
2026-03-23 21:16:51 +01:00
parent 2262e79361
commit a94906bb53
4 changed files with 7 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ class Move(DescriptionOriginMixin, ModelSQL, ModelView):
date = fields.Date('Effective Date', required=True, states=_MOVE_STATES)
post_date = fields.Date('Post Date', readonly=True)
description = fields.Char('Description', states=_MOVE_STATES)
ext_ref = fields.Char('Ext. Ref')
origin = fields.Reference('Origin', selection='get_origin',
states=_MOVE_STATES)
state = fields.Selection([
@@ -921,6 +922,7 @@ class Line(DescriptionOriginMixin, MoveLineMixin, ModelSQL, ModelView):
fields.Reference("Move Origin", selection='get_move_origin'),
'get_move_field', searcher='search_move_field')
description = fields.Char('Description', states=_states)
ext_ref = fields.Char('Ext. Ref')
move_description_used = fields.Function(
fields.Char("Move Description", states=_states),
'get_move_field',

View File

@@ -21,6 +21,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="origin" colspan="3"/>
<label name="description_used"/>
<field name="description_used" colspan="3"/>
<label name="ext_ref"/>
<field name="ext_ref" colspan="3"/>
<notebook>
<page name="lines">
<field name="lines" colspan="4"

View File

@@ -26,6 +26,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="origin"/>
<label name="description_used"/>
<field name="description_used" colspan="3"/>
<label name="ext_ref"/>
<field name="ext_ref" colspan="3"/>
<notebook colspan="4">
<page string="Other Info" id="info">
<label name="date"/>

View File

@@ -12,5 +12,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="rate" optional="1"/>
<field name="tax_lines" optional="1"/>
<field name="description_used" expand="1" optional="1"/>
<field name="ext_ref" expand="1" optional="1"/>
<field name="reconciliation" optional="1"/>
</tree>