How To Inherit And Add Field to Existing Views In Odoo12

How To Inherit And Add Field to Existing Views In Odoo12

Odoo Mates

4 года назад

44,576 Просмотров

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


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

@maximouz
@maximouz - 19.09.2022 09:59

i just inherited 2 fields many2one to product_template and i see them in the data base wirh his data i want to search data in purchase_template but it says that product_template has no attribute "my new field" why? if i can see it in database

Ответить
@arinalrahmat366
@arinalrahmat366 - 11.01.2022 05:34

thank you for your help sir.
I have a question sir, is it possible to add a group rather a field? and if it possible how should i declare it?
I'm new to odoo, so I'm sorry if this question seems dumb. Thank you

Ответить
@chaibiayoub2919
@chaibiayoub2919 - 07.01.2022 11:36

thanks a lot sir, i have a question : can i inherit a template into form view ?

Ответить
@abdurrazzak1612
@abdurrazzak1612 - 27.10.2021 19:31

What will depends for res.partner?

Ответить
@quickTravel
@quickTravel - 23.09.2021 17:36

Good content...
you change the default module by the inheritence in custom module.
But is there any way to inherit default module in custom module to change any field in custom module?

Ответить
@imanesamiry1114
@imanesamiry1114 - 27.08.2021 19:55

Thank you so much for this tutorial, it was very helpful!

Ответить
@waqasaziz9205
@waqasaziz9205 - 03.07.2021 09:36

Dear how i can set field that move to Next. Means like i added one field to Sales Order form and i want this field to Moves and customer invoice.

Ответить
@khan-zv6ox
@khan-zv6ox - 23.06.2021 13:17

helpful...thanks a lot sir....

Ответить
@roriirorii2790
@roriirorii2790 - 10.05.2021 10:40

i want the code please

Ответить
@fitwithease8678
@fitwithease8678 - 04.02.2021 08:51

how to add one2many filed using inheritance

Ответить
@fitwithease8678
@fitwithease8678 - 03.02.2021 14:58

Hello sir , i am getting error Field "checking" does not exist in model "product.template" even when i have added in py file and in init file i imported my py file

Ответить
@jephthah2347
@jephthah2347 - 25.01.2021 07:24

Great video, do you know how to add to the top right corner of a <page>?

Ответить
@palanikumar8023
@palanikumar8023 - 11.01.2021 11:07

Please tell how to add the custom field in popup form...Eg:In create contact there is a option for child contact where the popup form opens when we click create button...in that i want add one extra field..

Ответить
@irinakunstturnen2254
@irinakunstturnen2254 - 09.01.2021 14:44

Thanks for your informative videos, I love them because I'm new to Odoo.
Can you please show me how I can use 2 or more different mail_activity_view_forms in different apps? (E.g. one in Hospital and another in CRM)
Thanks in advance!

Ответить
@user-jt5mc2kr4m
@user-jt5mc2kr4m - 28.12.2020 18:57

Great explanation! Thanks a lot, Sir!

Ответить
@vrindhavinoj2222
@vrindhavinoj2222 - 25.11.2020 09:46

how can we add field to existing orderlines

Ответить
@zubairyounis5200
@zubairyounis5200 - 20.11.2020 09:21

How to add value to that field and post it along with orders while inheriting 'pos.order' in POS odoo13

Ответить
@baganaakh
@baganaakh - 16.09.2020 05:45

I got error
KeyError: 'partner_id'

Ответить
@AdeshPaul
@AdeshPaul - 24.08.2020 19:12

Thanks for the explaination sir, I just want to know that how can I inherit the one2many field?

Ответить
@shahwajahat8129
@shahwajahat8129 - 22.08.2020 16:04

how can i add new filed in existing model in odoo 13

Ответить
@MrArian2
@MrArian2 - 18.08.2020 14:10

Ive created some custom fields to sale.order model. Now I want to use this fields in delivery slip print pdf. How can I do this? thanks for the great videos.

Ответить
@MrArian2
@MrArian2 - 18.08.2020 12:51

Odoo Mates ROCKS

Ответить
@kyquanlx
@kyquanlx - 06.08.2020 17:45

Thank you very much.

Ответить
@palanikumar8023
@palanikumar8023 - 04.08.2020 11:20

r u adding these fields to the already exising sales/r to ur custom module?

Ответить
@AdeshPaul
@AdeshPaul - 01.08.2020 14:12

Thank you sir.

Ответить
@ResponsibleCitizen001
@ResponsibleCitizen001 - 30.06.2020 22:22

Hey I have been trying to create custom fields for the new user. So when the user logs in in /my/account page he can see the new field names such as Forename, Surname etc. I have created a custom module but it is not working. Can you please point me in the right direction or any link ?

Ответить
@Marina-nk1qo
@Marina-nk1qo - 17.06.2020 17:37

At first I have to say that all of your videos are great! They helped me so often. But now I have no idea how to handle. I inherited a new record, but when I want to install the new module I get the error: 'field xyz does not exist' but I set the field xyz in the python file. The field is an one2many field. What am I doing wrong?

Ответить
@payalmishra7827
@payalmishra7827 - 10.06.2020 11:30

I am facing this issue Field `employeeid` does not exist in odoo.When inherit field

Ответить
@mayanxoni
@mayanxoni - 17.04.2020 14:27

Hi! Thanks for the great video. Can you please show how to add a button inside the Sales module and link it to a custom module?

Ответить
@bonoandlavin
@bonoandlavin - 26.02.2020 00:31

I did this not to the sales page but to the contact page just like you shown in another video. Although I see the new Patient Name at the end of the contact form that field is just a text field but has no reference to the current patient names. What do I need to check that I did wrong? Because in other video I see that your field is a drop down list instead.

Ответить
@meassinal
@meassinal - 18.02.2020 12:13

I have a question regarding add new field with Unicode. Is it possible to do with technique explained? Appreciate your help !

Ответить
@MuhammadImranSarwar-dh4rv
@MuhammadImranSarwar-dh4rv - 16.12.2019 11:09

It's very nice video sir when i try to inherit. It's working but one thing is missing in this here is my code <record id="product_template_sale" model="ir.ui.view">
<field name="name">product.tamplate.tab</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<notebook>
<page string="Barcode">
<filed name="field_name1"/>
</page>
</notebook>
</field>
</record> it's showing tab with the name of barcode and it's showing in product but when i try to add fields in this tab it's nothing appear there.this code i have added in my module class producttemplateinherit(models.Model):
_inherit = 'product.template'
field_name1 = fields.Char(string="label for the field"). Please Help me where i have did wrong.

Ответить
@omkardeekonda2687
@omkardeekonda2687 - 30.11.2019 11:57

First of all thanks for a lot for the videos; very informative.
Question: to inherit a field from om_hospital in sale order view, one has to make changes in om_hospital rather than in sales module ? is it not counter-intuitive ? or am I missing something

Ответить
@osamakhalid5237
@osamakhalid5237 - 27.11.2019 12:23

hi can u plz tell how to add in sale.order.line?? i don't know how to give xpath for that?

Ответить
@vineetsingh1872
@vineetsingh1872 - 05.11.2019 11:54

Very informative video.
Now, if i use 'replace' in position , is the field from base module gets deleted ?

Ответить
@carlitosmelgar5310
@carlitosmelgar5310 - 03.11.2019 02:34

I have a requirement that requires 2 invoice types. The difference is that one has tax included prices and the other one is without taxes. Both documents should have different numbering sequences. How would you recommend on going though this? Maybe easiest to handle in one form? Or better to do in 2 forms?

Ответить