Skip to content

Commit

Permalink
[FIX] account_multic_fix: modules update
Browse files Browse the repository at this point in the history
Este modulo está agreando check_company en campos de account bank statement line, eso hace que odoo agregue automáticamente un dominio relativo a las compañías, pero si en la vista no está el campo company_id esto da error.

Este problema no saltaba en este modulo porque este modulo en si no toca la vista, el problema surgió cuando otro módulo quiso heredar esta vista form de los statement lines

closes #107

X-original-commit: 1b1d42a
Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
jjscarafia committed May 6, 2022
1 parent c6cca40 commit 85f0e5d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_multic_fix/__manifest__.py
Expand Up @@ -19,13 +19,14 @@
##############################################################################
{
'name': 'Account Multi Company Fixes',
'version': '13.0.1.0.0',
'version': '13.0.1.1.0',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
'category': 'Accounting & Finance',
'depends': ['account'],
'data': [
'views/account_bank_statement_line_views.xml',
],
'demo': [],
'installable': False,
Expand Down
14 changes: 14 additions & 0 deletions account_multic_fix/views/account_bank_statement_line_views.xml
@@ -0,0 +1,14 @@
<odoo>

<record id="view_bank_statement_line_form" model="ir.ui.view">
<field name="name">bank.statement.line.form</field>
<field name="model">account.bank.statement.line</field>
<field name="inherit_id" ref="account.view_bank_statement_line_form"/>
<field name="arch" type="xml">
<form>
<field name="company_id"/>
</form>
</field>
</record>

</odoo>

0 comments on commit 85f0e5d

Please sign in to comment.