Skip to content

Commit 0b01997

Browse files
author
matthieu.saison
committed
Add readme
1 parent e386069 commit 0b01997

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Matthieu Saison <matthieu.saison@akretion.com>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This module introduce improvement on journal type to simplify configuration of Payment and Cash Journal.
2+
3+
4+
The payment journal does not exist in odoo, it's associate to a bank journal but in payment case,
5+
the default_account_id will have the same value as payment_debit_account_id.
6+
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
7+
8+
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)

account_journal_display_type/views/account_journal_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<attribute name="attrs">{'invisible': True}</attribute>
1111
</field>
1212
<field name="type" position="after">
13-
<field name="display_type" />
13+
<field name="display_type" string="Sequence"/>
1414
</field>
1515

1616
<xpath

0 commit comments

Comments
 (0)