Comentado botón de stock, redirige a una id de stock location que no existe, en una ND nueva no lo hace ¿?

Borrado botón de productos
This commit is contained in:
snt 2021-09-15 19:10:14 +02:00
parent a1cfaeba74
commit 739250c64f

View file

@ -32,21 +32,15 @@
<group attrs="{'invisible': [('deposit_sale_accept', '!=', True)]}">
<field name="deposit_sale_location_id" readonly="1" />
<field name="deposit_sale_last_liquidation_date" readonly="1" />
<button string="Current Stock"
<!-- <button string="Current Stock"
class="oe_stat_button"
icon="fa-building-o"
name="%(stock.location_open_quants)d"
type="action"
context="{'location_id': deposit_sale_location_id}"
context="{'active_id': deposit_sale_location_id}"
groups="stock.group_stock_manager"
/>
<button string="Products"
class="oe_stat_button"
icon="fa-filter" name="%(stock.act_product_location_open)d" type="action"
context="{'location_id': deposit_sale_location_id}"
groups="stock.group_stock_manager"
/>
</group>
/> -->
</group>
</group>
<group class="o_group o_inner_group o_group_col_6">
<group>
@ -55,20 +49,14 @@
<group attrs="{'invisible': [('deposit_buy_accept', '!=', True)]}">
<field name="deposit_buy_location_id" readonly="1" />
<field name="deposit_buy_last_liquidation_date" readonly="1" />
<button string="Current Stock"
<!-- <button string="Current Stock"
class="oe_stat_button"
icon="fa-building-o"
name="%(stock.location_open_quants)d"
type="action"
context="{'location_id': deposit_buy_location_id}"
context="{'active_id': deposit_buy_location_id}"
groups="stock.group_stock_manager"
/>
<button string="Products"
class="oe_stat_button"
icon="fa-filter" name="%(stock.act_product_location_open)d" type="action"
context="{'location_id': deposit_buy_location_id}"
groups="stock.group_stock_manager"
/>
/> -->
</group>
</group>
</page>