Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Im literally begging for help, i get stuck and i cant see the light.
This is the situation:
In my country every electronic invoice needs to include a field called: "Control Code" this is for the local law.
The control code is obtainable by a series of calculations and algorithms using the invoice date, the invoice number and a few custom fields.
The problem is as follows.
Ive already have the SCRIPT in PYTHON that generates the "control code", but is a stand alone script, in which u manually insert the variables and you get the result.
I need advice in HOW to use this script inside an OpenERP module, the perfect result will be:
1.- Validate an Invoice (with all the required fields) 2.- The field "control code" (in the invoice form) is filled with the result of the "stand alone" Script. 3.- The invoice is validated and the Field Control Code is stored in the invoice.
Please this is having me crazy, can someone point me in the right direction??
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
|Asked: 9/30/13, 7:00 PM|
|Seen: 1121 times|
|Last updated: 3/16/15, 8:10 AM|