[IMP] *_online_ponto: forward port 12.0 improvements

Separate retrieval of data from ponto (buffer data) and
creation of statements.
This commit is contained in:
Ronald Portier (Therp BV)
2022-10-02 13:15:38 +02:00
parent fa59c44b22
commit c32a65fe3c
11 changed files with 433 additions and 507 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.ui.view" id="online_bank_statement_provider_form">
<field name="name">online.bank.statement.provider.form</field>
<field name="model">online.bank.statement.provider</field>
<field
name="inherit_id"
ref="account_statement_import_online.online_bank_statement_provider_form"
/>
<field name="arch" type="xml">
<xpath expr="//group[@name='main']" position="inside">
<group name="ponto" attrs="{'invisible':[('service','!=','ponto')]}">
<field name="username" string="Login" />
<field name="password" string="Secret Key" />
</group>
</xpath>
</field>
</record>
</odoo>