Yenthe666 / Odoo_Samples

This repository contains samples with Odoo code
GNU Affero General Public License v3.0
242 stars 306 forks source link

Attribute not registered #6

Open jiaxiong0226 opened 8 years ago

jiaxiong0226 commented 8 years ago

Hi,

I am new to odoo modules development. I tried to add new fields and new method action into button_action_demo but it seems like it always give men attribute error, attribute not registered issues. are you able to let me know on what is my issues or is there anywhere i need to register?

Thanks. Regards, Ferry

Yenthe666 commented 8 years ago

Hi @jiaxiong0226,

Can you post your code here?

jiaxiong0226 commented 8 years ago

Hi yenthe,

I manage to get the register working, i realised that i need to create new folder as new modules for new fields if it was added before first installation. Thanks a lot.

However i modified your button action demo to develop for basic calculation module. but it seems like button click and on change method doesnt seems to trigger. Hope you can help me on this. Thanks. image image