Odoo Help

0

How I can create an internal note in odoo by code?

By
Michael Marroquin
on 11/1/16, 10:49 PM 234 views

How I can create an internal note in odoo by code python in model stock.picking ?

7

Cybrosys Technologies

--Cybrosys Technologies--
987
| 2 2 3
Calicut, India
--Cybrosys Technologies--

Cybrosys is a well known and highly flourished software development company in India, which provides various services in the IT industry. We are mainly dealing with ERP implementation in both Odoo and .Net, Source Code sale offer for various products and Employee Staffing solutions.

Odoo is the Key service of our company and we have cultivated many potential partners and clients in Europe, Asia, Middle East and Africa within a short span of time. We are really glad to be a part of Odoo and to provide the quality services without any compromise. You can manage the entire project by choosing our experienced and talented developers whenever required. You can feel free to have direct communication with our experts and can assign tasks according to your project plan, the developer will be yours till the end of the work.

Hold your hand with cybrosians to make your Odoo dreams comes true.

Cybrosys Technologies
On 11/2/16, 5:25 AM

1- Create a string for 'Internal note' using string functions and the data you need to include in 'internal note'
2- Assign the string to internal note field (self.note = <your string>)

2

Nilmar Shereef

--Nilmar Shereef--
1423
| 4 4 7
Calicut, India
--Nilmar Shereef--

Python Developer. Android Developer. .Net Developer

Nilmar Shereef
On 11/2/16, 2:44 AM

If you are trying to give some values to notes automatically in every records, Then please try code  below:


@api.one   

@api.depends('mention_here_the depends_fields')   

def _stuff_note(self):

     <Write stuff method here, say x & y>
     stuff_to_notes = str(x) + str(y)
     self.note = stuff_to_notes


Hope this may help you. Thanks.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/1/16, 10:49 PM
Seen: 234 times
Last updated: 11/11/16, 6:59 AM