mirror of
				https://github.com/brain-tec/account_ebics.git
				synced 2025-11-03 22:50:59 +00:00 
			
		
		
		
	[MIG] account_ebics_batch: Migration to 17.0
This commit is contained in:
		@@ -1,9 +1,9 @@
 | 
			
		||||
# Copyright 2009-2023 Noviat.
 | 
			
		||||
# Copyright 2009-2024 Noviat.
 | 
			
		||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
    "name": "EBICS Files batch import",
 | 
			
		||||
    "version": "16.0.1.0.0",
 | 
			
		||||
    "version": "17.0.1.0.0",
 | 
			
		||||
    "license": "AGPL-3",
 | 
			
		||||
    "author": "Noviat",
 | 
			
		||||
    "website": "https://www.noviat.com",
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
# Copyright 2009-2023 Noviat.
 | 
			
		||||
# Copyright 2009-2024 Noviat.
 | 
			
		||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
 | 
			
		||||
 | 
			
		||||
from sys import exc_info
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,7 @@
 | 
			
		||||
        <header>
 | 
			
		||||
          <button
 | 
			
		||||
                        name="button_draft"
 | 
			
		||||
                        states="done,error"
 | 
			
		||||
                        invisible="state not in ('done', 'error')"
 | 
			
		||||
                        string="Set to Draft"
 | 
			
		||||
                        type="object"
 | 
			
		||||
                    />
 | 
			
		||||
@@ -48,11 +48,11 @@
 | 
			
		||||
                        help="Reprocess 'draft' EBICS Files"
 | 
			
		||||
                        type="object"
 | 
			
		||||
                        class="oe_highlight"
 | 
			
		||||
                        attrs="{'invisible': ['|', ('state', '=', 'done'),('has_draft_files', '=', False)]}"
 | 
			
		||||
                        invisible="state, '=', 'done' or not has_draft_files"
 | 
			
		||||
                    />
 | 
			
		||||
          <button
 | 
			
		||||
                        name="button_done"
 | 
			
		||||
                        states="draft,error"
 | 
			
		||||
                        invisible="state not in ('done', 'error')"
 | 
			
		||||
                        string="Mark Done"
 | 
			
		||||
                        type="object"
 | 
			
		||||
                    />
 | 
			
		||||
@@ -70,7 +70,7 @@
 | 
			
		||||
                            type="object"
 | 
			
		||||
                            class="oe_stat_button"
 | 
			
		||||
                            icon="fa-pencil-square-o"
 | 
			
		||||
                            attrs="{'invisible': [('file_count', '=', 0)]}"
 | 
			
		||||
                            invisible="file_count == 0"
 | 
			
		||||
                        >
 | 
			
		||||
                   <field name="file_count" widget="statinfo" string="EBICS Files" />
 | 
			
		||||
            </button>
 | 
			
		||||
@@ -93,7 +93,7 @@
 | 
			
		||||
                    <field name="create_date" />
 | 
			
		||||
                    <field name="error_count" />
 | 
			
		||||
                  </group>
 | 
			
		||||
                  <group attrs="{'invisible':[('note', '=', False)]}">
 | 
			
		||||
                  <group invisible="not note">
 | 
			
		||||
                    <separator colspan="4" />
 | 
			
		||||
                    <field name="note" nolabel="1" colspan="4" height="360" />
 | 
			
		||||
                  </group>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user