mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-04-26 07:36:51 +00:00
add github workflow
This commit is contained in:
committed by
Luc De Meyer
parent
3d59cdb642
commit
bf471b0f28
@@ -6,7 +6,7 @@
|
|||||||
"version": "18.0.1.0.0",
|
"version": "18.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Noviat",
|
"author": "Noviat",
|
||||||
"website": "https://www.noviat.com",
|
"website": "https://www.noviat.com/",
|
||||||
"category": "Accounting & Finance",
|
"category": "Accounting & Finance",
|
||||||
"summary": "EBICS Files automated import and processing",
|
"summary": "EBICS Files automated import and processing",
|
||||||
"depends": ["account_ebics"],
|
"depends": ["account_ebics"],
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<odoo noupdate="1">
|
<odoo noupdate="1">
|
||||||
|
|
||||||
<record id="ir_cron_ebics_batch_import" model="ir.cron">
|
<record id="ir_cron_ebics_batch_import" model="ir.cron">
|
||||||
<field name="name">EBICS Batch Import</field>
|
<field name="name">EBICS Batch Import</field>
|
||||||
<field name="model_id" ref="model_ebics_batch_log" />
|
<field name="model_id" ref="model_ebics_batch_log" />
|
||||||
@@ -11,5 +10,4 @@
|
|||||||
<field name="interval_type">days</field>
|
<field name="interval_type">days</field>
|
||||||
<field name="active" eval="False" />
|
<field name="active" eval="False" />
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,48 +1,51 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
<record id="ebics_batch_log_view_search" model="ir.ui.view">
|
||||||
|
<field name="name">ebics.batch.log.search</field>
|
||||||
|
<field name="model">ebics.batch.log</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<search string="Search EBICS Batch Import Log Files">
|
||||||
|
<group col="10" colspan="4">
|
||||||
|
<field name="create_date" />
|
||||||
|
<field name="state" />
|
||||||
|
</group>
|
||||||
|
<newline />
|
||||||
|
<group expand="0" string="Group By">
|
||||||
|
<filter
|
||||||
|
name="group_by_state"
|
||||||
|
string="State"
|
||||||
|
context="{'group_by':'state'}"
|
||||||
|
/>
|
||||||
|
</group>
|
||||||
|
</search>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record id="ebics_batch_log_view_search" model="ir.ui.view">
|
<record id="ebics_batch_log_view_list" model="ir.ui.view">
|
||||||
<field name="name">ebics.batch.log.search</field>
|
<field name="name">ebics.batch.log.list</field>
|
||||||
<field name="model">ebics.batch.log</field>
|
<field name="model">ebics.batch.log</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search string="Search EBICS Batch Import Log Files">
|
<list create="false">
|
||||||
<group col="10" colspan="4">
|
<field name="create_date" />
|
||||||
<field name="create_date" />
|
<field name="file_count" />
|
||||||
<field name="state" />
|
<field name="state" />
|
||||||
</group>
|
</list>
|
||||||
<newline />
|
</field>
|
||||||
<group expand="0" string="Group By">
|
</record>
|
||||||
<filter name="group_by_state" string="State" context="{'group_by':'state'}" />
|
|
||||||
</group>
|
|
||||||
</search>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="ebics_batch_log_view_list" model="ir.ui.view">
|
<record id="ebics_batch_log_view_form" model="ir.ui.view">
|
||||||
<field name="name">ebics.batch.log.list</field>
|
<field name="name">ebics.batch.log.form</field>
|
||||||
<field name="model">ebics.batch.log</field>
|
<field name="model">ebics.batch.log</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<list create="false">
|
<form string="EBICS Batch Import Log" create="false">
|
||||||
<field name="create_date" />
|
<header>
|
||||||
<field name="file_count" />
|
<button
|
||||||
<field name="state" />
|
|
||||||
</list>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="ebics_batch_log_view_form" model="ir.ui.view">
|
|
||||||
<field name="name">ebics.batch.log.form</field>
|
|
||||||
<field name="model">ebics.batch.log</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<form string="EBICS Batch Import Log" create="false">
|
|
||||||
<header>
|
|
||||||
<button
|
|
||||||
name="button_draft"
|
name="button_draft"
|
||||||
invisible="state not in ('done', 'error')"
|
invisible="state not in ('done', 'error')"
|
||||||
string="Set to Draft"
|
string="Set to Draft"
|
||||||
type="object"
|
type="object"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
name="reprocess"
|
name="reprocess"
|
||||||
string="Reprocess"
|
string="Reprocess"
|
||||||
help="Reprocess 'draft' EBICS Files"
|
help="Reprocess 'draft' EBICS Files"
|
||||||
@@ -50,68 +53,76 @@
|
|||||||
class="oe_highlight"
|
class="oe_highlight"
|
||||||
invisible="state, '=', 'done' or not has_draft_files"
|
invisible="state, '=', 'done' or not has_draft_files"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
name="button_done"
|
name="button_done"
|
||||||
invisible="state not in ('done', 'error')"
|
invisible="state not in ('done', 'error')"
|
||||||
string="Mark Done"
|
string="Mark Done"
|
||||||
type="object"
|
type="object"
|
||||||
/>
|
/>
|
||||||
<field
|
<field
|
||||||
name="state"
|
name="state"
|
||||||
widget="statusbar"
|
widget="statusbar"
|
||||||
statusbar_visible="draft,done"
|
statusbar_visible="draft,done"
|
||||||
statusbar_colors="{'error':'red'}"
|
statusbar_colors="{'error':'red'}"
|
||||||
/>
|
/>
|
||||||
</header>
|
</header>
|
||||||
<sheet>
|
<sheet>
|
||||||
<div class="oe_button_box" name="button_box">
|
<div class="oe_button_box" name="button_box">
|
||||||
<button
|
<button
|
||||||
name="view_ebics_files"
|
name="view_ebics_files"
|
||||||
type="object"
|
type="object"
|
||||||
class="oe_stat_button"
|
class="oe_stat_button"
|
||||||
icon="fa-pencil-square-o"
|
icon="fa-pencil-square-o"
|
||||||
invisible="file_count == 0"
|
invisible="file_count == 0"
|
||||||
>
|
>
|
||||||
<field name="file_count" widget="statinfo" string="EBICS Files" />
|
<field
|
||||||
</button>
|
name="file_count"
|
||||||
</div>
|
widget="statinfo"
|
||||||
<group colspan="4" col="4">
|
string="EBICS Files"
|
||||||
<field name="create_date" />
|
/>
|
||||||
<field name="ebics_config_ids" widget="many2many_tags" />
|
</button>
|
||||||
</group>
|
</div>
|
||||||
<notebook colspan="4">
|
<group colspan="4" col="4">
|
||||||
<page string="Batch Import Logs">
|
<field name="create_date" />
|
||||||
<field name="log_ids" nolabel="1">
|
<field name="ebics_config_ids" widget="many2many_tags" />
|
||||||
<list>
|
</group>
|
||||||
<field name="create_date" />
|
<notebook colspan="4">
|
||||||
<field name="state" />
|
<page string="Batch Import Logs">
|
||||||
<field name="error_count" />
|
<field name="log_ids" nolabel="1">
|
||||||
</list>
|
<list>
|
||||||
<form string="Batch Import Log">
|
<field name="create_date" />
|
||||||
<group colspan="4" col="6">
|
<field name="state" />
|
||||||
<field name="create_date" />
|
<field name="error_count" />
|
||||||
<field name="error_count" />
|
</list>
|
||||||
</group>
|
<form string="Batch Import Log">
|
||||||
<group invisible="not note">
|
<group colspan="4" col="6">
|
||||||
<separator colspan="4" />
|
<field name="create_date" />
|
||||||
<field name="note" nolabel="1" colspan="4" height="360" />
|
<field name="error_count" />
|
||||||
</group>
|
</group>
|
||||||
</form>
|
<group invisible="not note">
|
||||||
</field>
|
<separator colspan="4" />
|
||||||
</page>
|
<field
|
||||||
</notebook>
|
name="note"
|
||||||
</sheet>
|
nolabel="1"
|
||||||
</form>
|
colspan="4"
|
||||||
</field>
|
height="360"
|
||||||
</record>
|
/>
|
||||||
|
</group>
|
||||||
<record id="ebics_batch_log_action" model="ir.actions.act_window">
|
</form>
|
||||||
<field name="name">EBICS Batch Import Logs</field>
|
</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
</page>
|
||||||
<field name="res_model">ebics.batch.log</field>
|
</notebook>
|
||||||
<field name="view_mode">list,form</field>
|
</sheet>
|
||||||
<field name="view_id" ref="ebics_batch_log_view_list" />
|
</form>
|
||||||
<field name="search_view_id" ref="ebics_batch_log_view_search" />
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="ebics_batch_log_action" model="ir.actions.act_window">
|
||||||
|
<field name="name">EBICS Batch Import Logs</field>
|
||||||
|
<field name="type">ir.actions.act_window</field>
|
||||||
|
<field name="res_model">ebics.batch.log</field>
|
||||||
|
<field name="view_mode">list,form</field>
|
||||||
|
<field name="view_id" ref="ebics_batch_log_view_list" />
|
||||||
|
<field name="search_view_id" ref="ebics_batch_log_view_search" />
|
||||||
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
<menuitem
|
||||||
<menuitem
|
|
||||||
id="ebics_batch_log_menu"
|
id="ebics_batch_log_menu"
|
||||||
name="EBICS Batch Import Logs"
|
name="EBICS Batch Import Logs"
|
||||||
parent="account_ebics.ebics_processing_menu"
|
parent="account_ebics.ebics_processing_menu"
|
||||||
action="ebics_batch_log_action"
|
action="ebics_batch_log_action"
|
||||||
sequence="100"
|
sequence="100"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user