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