Odoo Help

1
3 Answers
2
Avatar

NIKHIL KRISHNAN

--NIKHIL KRISHNAN--
--NIKHIL KRISHNAN--

-- Nikhilkrishnan --

Exploring new ways in odoo..!
And want to become a key to the new odoo trends.

-> Odoo Consultancy,
-> Functional and Technical Consultant,
-> Requirement Collection and Analysis,
-> Module Customization,
-> Odoo ERP Community Contributor,
-> Handling ERP/Odoo projects,
-> ERP Workshop Facilitator.
Feel happy working with best and good supporting team.

#PITS Family

Nikhil Krishnan

nikhilkrishnan0101@gmail.com

NIKHIL KRISHNAN
6/23/17, 2:52 AM
Hai  vootipong Limpanitivat,

You just try this, 
   "Lot": self.move_finished_ids.quant_ids.lot_id, 
or

 "Lot": self.move_finished_ids.quant_ids.lot_id.name,

Its may be help you,

thank you.

5 Comments
NIKHIL KRISHNAN
6/23/17, 2:55 AM

If its work just inform me, i will try to find the variants ids too.

Vootipong Limpanitivat
6/23/17, 3:38 AM

yes it works

=> self.move_finished_ids.quant_ids.lot_id.name for this it working

but => self.move_finished_ids.quant_ids.lot_id it says not serializable

i want to ask you that why we have add .name to get the lot number ??

Vootipong Limpanitivat
6/23/17, 4:11 AM

right now i am able to get weight of the product

by using this self.product_id.attribute_value_ids.name

just wondering how to get the attribute name such as KG, L

pleas help

NIKHIL KRISHNAN
6/23/17, 4:22 AM

This attribute_value)ids and lot_id are records, (.name) or (. id) we can get the exact value. thats all.

Vootipong Limpanitivat
6/29/17, 3:33 AM

can you locate variant_id i have been trying to find one

0

yes 

=> self.move_finished_ids.quant_ids.lot_id.name for this it working

but => self.move_finished_ids.quant_ids.lot_id it says not serializable

i want to ask you that why we have add .name to get the lot number ??

Ask a Question
Keep Informed
1 follower(s)
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