We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
web_widget_x2many_2d_matrix
M2o field is not filtered regarding its domain (view OR field declaration)
Affected versions: 16.0.1.1.0
Steps to reproduce the behavior:
Tested in sale_order default form with the following example:
<record id="view_order_form" model="ir.ui.view"> <field name="name">view.order.form</field> <field name="model">sale.order</field> <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <xpath expr="//page[@name='other_information']" position="inside"> <field name="order_line" widget="x2many_2d_matrix" field_x_axis="product_uom_qty" field_y_axis="product_id" field_value="route_id" colspan="2" > <tree editable="True" nolabel="1" create="false"> <field name="product_uom_qty" /> <field name="product_id" /> <field name="route_id" domain="[('id', '=', 10)]"/> <field name="company_id" invisible="1"/> </tree> </field> </xpath> </field> </record>
Expected behavior Domain have to be taken from the view or from the model itself
The text was updated successfully, but these errors were encountered:
@tarteo Could you please have a quick look on this one ?
Sorry, something went wrong.
Added code example
I assume this is about version 16.0?
This is about version 16.0
@therbin200 Please review the PR.
tarteo
Successfully merging a pull request may close this issue.
Module
web_widget_x2many_2d_matrix
Describe the bug
M2o field is not filtered regarding its domain (view OR field declaration)
To Reproduce
Affected versions: 16.0.1.1.0
Steps to reproduce the behavior:
Tested in sale_order default form with the following example:
Expected behavior
Domain have to be taken from the view or from the model itself
The text was updated successfully, but these errors were encountered: