Add readme

This commit is contained in:
matthieu.saison
2024-02-16 11:25:34 +01:00
parent e38606992a
commit a5b2f746aa
3 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1 @@
* Matthieu Saison <matthieu.saison@akretion.com>

View File

@@ -0,0 +1,8 @@
This module introduce improvement on journal type to simplify configuration of Payment and Cash Journal.
The payment journal does not exist in odoo, it's associate to a bank journal but in payment case,
the default_account_id will have the same value as payment_debit_account_id.
This module introduce a new field type called display_type who hide the default type from UI, and make possible to had new journal type. Payment display_type is hadded here, and the associated legacy journal type is bank. The default_account_id is hided and will have the same value as payment_debit_account_id
For Cash type, the only field we kept is default_account_id. The payment config tab is useless for a cash journal and was remove from UI. (in this case payment_debit_account_id and payment_credit_account_id are set with value of default_account_id)

View File

@@ -10,7 +10,7 @@
<attribute name="attrs">{'invisible': True}</attribute>
</field>
<field name="type" position="after">
<field name="display_type" />
<field name="display_type" string="Type"/>
</field>
<xpath