Odoo Help
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.
How to make new default data if year of periode changed ?
i have a code of periode
'periode' : fields.many2one('account.period','Periode'),
and default
def default_abcd(self, cr, uid, context={}):
return '12'
_defaults = {
'abcd' : default_abcd,
}
and 1 function fields to accomodate (abcd + another fields.float)
and how if i want to abcd return back into '12' when periode change from 2013 to 2014
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 2/10/14, 11:01 PM |
Seen: 985 times |
Last updated: 3/16/15, 8:10 AM |
Hi Dion Martin, to create a new period you enter Accounting --> configuration --> periode --> fiscal years