32.How To Open Wizard From Button || Button Type Action || Target New in Odoo Action

32.How To Open Wizard From Button || Button Type Action || Target New in Odoo Action

Odoo Mates

2 года назад

12,704 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

malik kamil
malik kamil - 31.05.2022 12:53

hi hope u r fine i buy a module for manufacturing back date enteries it alow m to back date enteries in manu but it dont change the date of journal entry i tried a lot plz help me how can chnge the date of journal entry by creating manufac order

Ответить
indeveloper id
indeveloper id - 24.05.2022 06:00

Why we have to use %(action_name)d instead of action_name directly ?

Ответить
Saeful Abdulloh Sayuti
Saeful Abdulloh Sayuti - 19.05.2022 18:51

I have an xml code like this
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="product_warehouse_cost_form" model="ir.ui.view">
<field name="name">product.warehouse.cost.wizard</field>
<field name="model">product.warehouse.cost</field>
<field name="arch" type="xml">
<form string="Product">
<group>
<field name="warehouse_id" string="Warehouse"/>
<field name="cost" string="Cost Price"/>
</group>
<footer>
</footer>
</form>
</field>
</record>

<record id="action_product_warehouse_cost" model="ir.actions.act_window">
<field name="name">Product</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.warehouse.cost</field>
<field name="view_mode">form</field>
<field name="view_id" ref="product_warehouse_cost_form"/>
<field name="target">new</field>
</record>

</odoo>

then I will call it in the position after the taxes_id field and I use xpath position after taxes id like this

<button name="%(equip3_accounting_stockoperation.action_product_warehouse_cost)d" string="Cost List Price" type="action"/>

but why is it wrong? help me please

Ответить
Majd Hazem
Majd Hazem - 18.04.2022 12:42

Hello,
I applied the same code but an error message appears (ValueError: External ID not found in the system: om_hospital.action_create_appointment )

What is the problem? Knowing that I did not make a wizard through Menu as in the previous video.. Does this have anything to do with the matter?

Ответить
NM Naufaldo
NM Naufaldo - 07.04.2022 20:10

Thank you

Ответить
Ihsan Nurul Iman
Ihsan Nurul Iman - 20.03.2022 20:58

how do you select automatically the patient that we're currently looking at to the selection field?

Ответить
Widad EL BEKKOURI
Widad EL BEKKOURI - 12.11.2021 17:11

You can add -u om_hospital after the path of your .conf file in Edit Configurations/Parameters so you don't need to upgrade your module manually every time you add something

Ответить
Uwu YT
Uwu YT - 05.09.2021 05:56

hello sir, how do I make a button that directly transfers the fields in the form to another place (for example, I have a form then I add a button, the button directly creates the data on the form into another form without filling in the initial fields (such as transaction results)) how how sir?

Ответить
Uwu YT
Uwu YT - 31.08.2021 18:33

Hello sir, I have a project, but I can't be related in the wizard, how do I auto-fill data such as related

Ответить
World Digital Information System
World Digital Information System - 24.06.2021 12:37

Thanks for the explanation..

Ответить