-
-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] move transfer jpurnal setting from journal to payment mode
- Loading branch information
1 parent
7ee43ed
commit dec9cf2
Showing
10 changed files
with
70 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from . import account_journal | ||
from . import account_payment_line | ||
from . import account_jpayment_mode |
5 changes: 2 additions & 3 deletions
5
...ransfer_journal/models/account_journal.py → ...r_journal/models/account_jpayment_mode.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Set transfer jounrnal directly on the bank journal. If there is no transfer journal, the bank journal itself will be used. | ||
Set transfer jounrnal via Accounting Settings or on the payment mode. | ||
If there is no transfer journal, the bank journal itself will be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
account_payment_order_transfer_journal/views/account_journal_views.xml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
account_payment_order_transfer_journal/views/account_payment_mode_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
|
||
<record id="account_payment_mode_form" model="ir.ui.view"> | ||
<field name="name">account.payment.mode.form.transfer_journal)</field> | ||
<field name="model">account.payment.mode</field> | ||
<field | ||
name="inherit_id" | ||
ref="account_payment_order.account_payment_mode_form" | ||
/> | ||
<field name="arch" type="xml"> | ||
<field name="variable_journal_ids" position="after"> | ||
<field name="transfer_journal_id" /> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</odoo> |