restore product_update_price_last_purchase and pos_ticket_pricelist
This commit is contained in:
parent
412d897695
commit
b5bb678cbc
16 changed files with 1296 additions and 0 deletions
36
product_update_price_last_purchase/views/actions.xml
Normal file
36
product_update_price_last_purchase/views/actions.xml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
Copyright (C) 2020-Today: La Osa (<https://laosa.coop/>)
|
||||
@author: Criptomart (https://criptomart.net)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- Add action entry in the Action Menu for calculate sale price in Products -->
|
||||
<record id="action_product_calculate_theoritical_price" model="ir.actions.server">
|
||||
<field name="name">Update Sales Price</field>
|
||||
<field name="model_id" ref="product.model_product_template" />
|
||||
<field name="binding_model_id" ref="product.model_product_template" />
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
records.use_theoretical_price()
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Open products window with filter
|
||||
<record id="action_product_template_list_price_updated" model="ir.actions.act_window">
|
||||
<field name="name">Productos con PVP actualizable</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">product.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="product.product_template_tree_view"/>
|
||||
<field name="domain">[]</field>
|
||||
<field name="context">{"search_default_products_updated_filter": 1}</field>
|
||||
<field name="help" type="html">
|
||||
<p class="oe_view_nocontent_create">
|
||||
Todos los productos están actualizados.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
-->
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue