When I post a direct entry of cash or bank through Accounting > Journal Entries, I am unable to find the Cash or Bank Journal there. It shows only the journals that have Miscellaneous type. How can I fix it so that I can get the Cash and Bank type Journal there?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
Hello,
We have a module that solves this problem.
Here is the link: https://apps.odoo.com/apps/modules/18.0/rrm_all_journal
Kind regards,
Hi,
By default in odoo, if you create a Journal entry directly form Journal Entries, it will take the miscellaneous type of Journal. Bank and Cash Journals are used for the Payment.
If you want to have option to select all the journals you can customize by either remove this domain for the field journal_id from account.move model or you can modify the function _compute_suitable_journal_ids to not checking the type of journal as below:
@api.depends('company_id', 'invoice_filter_type_domain')
def _compute_suitable_journal_ids(self):
for m in self:
journal_type = m.invoice_filter_type_domain or 'general'
company = m.company_id or self.env.company
m.suitable_journal_ids = self.env['account.journal'].search([
*self.env['account.journal']._check_company_domain(company)
])
Hope this will help you
Thanks
Hi,
Please check this:
https://www.odoo.com/forum/help-1/why-bank-type-journal-is-not-showing-in-journal-entries-213299
Hope it helps
For manual Journal entry, it will support only the journal with type "Miscellaneous". There is a domain applied for the journal in journal Item.
If you want to change the domain / listing.. please over ride following function.
@api.depends('company_id', 'invoice_filter_type_domain')
def _compute_suitable_journal_ids(self):
for m in self:
journal_type = m.invoice_filter_type_domain or 'general'
company = m.company_id or self.env.company
m.suitable_journal_ids = self.env['account.journal'].search([
*self.env['account.journal']._check_company_domain(company),
('type', '=', journal_type),
])
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
5
mar 17
|
9860 | ||
|
1
may 16
|
13992 | ||
|
2
jun 23
|
4355 | ||
|
1
abr 22
|
3115 | ||
|
1
sept 17
|
6083 |