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).
 | 
					# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    "name": "EBICS Files batch import",
 | 
					    "name": "EBICS Files batch import",
 | 
				
			||||||
    "version": "16.0.1.0.0",
 | 
					    "version": "17.0.1.0.0",
 | 
				
			||||||
    "license": "AGPL-3",
 | 
					    "license": "AGPL-3",
 | 
				
			||||||
    "author": "Noviat",
 | 
					    "author": "Noviat",
 | 
				
			||||||
    "website": "https://www.noviat.com",
 | 
					    "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).
 | 
					# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from sys import exc_info
 | 
					from sys import exc_info
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
        <header>
 | 
					        <header>
 | 
				
			||||||
          <button
 | 
					          <button
 | 
				
			||||||
                        name="button_draft"
 | 
					                        name="button_draft"
 | 
				
			||||||
                        states="done,error"
 | 
					                        invisible="state not in ('done', 'error')"
 | 
				
			||||||
                        string="Set to Draft"
 | 
					                        string="Set to Draft"
 | 
				
			||||||
                        type="object"
 | 
					                        type="object"
 | 
				
			||||||
                    />
 | 
					                    />
 | 
				
			||||||
@@ -48,11 +48,11 @@
 | 
				
			|||||||
                        help="Reprocess 'draft' EBICS Files"
 | 
					                        help="Reprocess 'draft' EBICS Files"
 | 
				
			||||||
                        type="object"
 | 
					                        type="object"
 | 
				
			||||||
                        class="oe_highlight"
 | 
					                        class="oe_highlight"
 | 
				
			||||||
                        attrs="{'invisible': ['|', ('state', '=', 'done'),('has_draft_files', '=', False)]}"
 | 
					                        invisible="state, '=', 'done' or not has_draft_files"
 | 
				
			||||||
                    />
 | 
					                    />
 | 
				
			||||||
          <button
 | 
					          <button
 | 
				
			||||||
                        name="button_done"
 | 
					                        name="button_done"
 | 
				
			||||||
                        states="draft,error"
 | 
					                        invisible="state not in ('done', 'error')"
 | 
				
			||||||
                        string="Mark Done"
 | 
					                        string="Mark Done"
 | 
				
			||||||
                        type="object"
 | 
					                        type="object"
 | 
				
			||||||
                    />
 | 
					                    />
 | 
				
			||||||
@@ -70,7 +70,7 @@
 | 
				
			|||||||
                            type="object"
 | 
					                            type="object"
 | 
				
			||||||
                            class="oe_stat_button"
 | 
					                            class="oe_stat_button"
 | 
				
			||||||
                            icon="fa-pencil-square-o"
 | 
					                            icon="fa-pencil-square-o"
 | 
				
			||||||
                            attrs="{'invisible': [('file_count', '=', 0)]}"
 | 
					                            invisible="file_count == 0"
 | 
				
			||||||
                        >
 | 
					                        >
 | 
				
			||||||
                   <field name="file_count" widget="statinfo" string="EBICS Files" />
 | 
					                   <field name="file_count" widget="statinfo" string="EBICS Files" />
 | 
				
			||||||
            </button>
 | 
					            </button>
 | 
				
			||||||
@@ -93,7 +93,7 @@
 | 
				
			|||||||
                    <field name="create_date" />
 | 
					                    <field name="create_date" />
 | 
				
			||||||
                    <field name="error_count" />
 | 
					                    <field name="error_count" />
 | 
				
			||||||
                  </group>
 | 
					                  </group>
 | 
				
			||||||
                  <group attrs="{'invisible':[('note', '=', False)]}">
 | 
					                  <group invisible="not note">
 | 
				
			||||||
                    <separator colspan="4" />
 | 
					                    <separator colspan="4" />
 | 
				
			||||||
                    <field name="note" nolabel="1" colspan="4" height="360" />
 | 
					                    <field name="note" nolabel="1" colspan="4" height="360" />
 | 
				
			||||||
                  </group>
 | 
					                  </group>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user