Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V8] Bank statement actions. #6413

Closed
richard-willdooit opened this issue Apr 22, 2015 · 0 comments
Closed

[V8] Bank statement actions. #6413

richard-willdooit opened this issue Apr 22, 2015 · 0 comments

Comments

@richard-willdooit
Copy link
Contributor

Two views linked to an action with the same "sequence".

I just upgraded a client to the latest v8 code-base, upgrading accounts updated the bank statement action with the following:

     <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="view_bank_statement_tree"/>
        <field name="act_window_id" ref="action_bank_statement_tree"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
        <field name="sequence" eval="1"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="view_bank_statement_form"/>
        <field name="act_window_id" ref="action_bank_statement_tree"/>
    </record>

I don't know if there previous version had only one view linked to the action, but now, because of the sequence being "1", for them, the menu action picks up the "form" view before the "tree" view.

richard-willdooit pushed a commit to richard-willdooit/odoo that referenced this issue Apr 22, 2015
Ensure correct sequence of bank statement action views.
Fixes odoo#6413
@mart-e mart-e closed this as completed in 555b548 Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant