mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] Restrict button_cancel
This commit is contained in:
@@ -44,11 +44,16 @@ Usage
|
||||
select the records in the tree view and go to
|
||||
*Action / Post Inventory Revaluations*.
|
||||
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/153/10.0
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
* It is not possible to cancel inventory revaluations for products set with
|
||||
average or standard price.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
class="oe_highlight"/>
|
||||
<button name="button_cancel" states="draft,posted"
|
||||
string="Cancel" type="object"
|
||||
class="oe_highlight"/>
|
||||
class="oe_highlight"
|
||||
attrs="{'invisible':[('cost_method','in',['average','standard'])]}"/>
|
||||
<field name="state" widget="statusbar"
|
||||
statusbar_visible="draft,done,cancel"
|
||||
statusbar_colors='{"done":"blue"}'/>
|
||||
|
||||
Reference in New Issue
Block a user