Hi, I try to add a new field in "Stock Moves" report (Inventory) but I can not find the .py file.
I suppose there should be the .py file with
def _select(self): " ", def _from(self): " ", def _group_by(self): " ", def init(self): " " etc.
but stock.move model has nothing like that.
the .xml part is the following:
<record id="view_move_pivot" model="ir.ui.view">
<field name="name">stock.move.pivot</field>
<field name="model">stock.move</field>
<field name="arch" type="xml">
<pivot string="Stock Moves Analysis">
<field name="product_id" type="row"/>
<field name="location_dest_id" groups="stock.group_stock_multi_locations" type="row"/>
<field name="product_uom_qty" type="measure"/>
</pivot>
</field>
</record>