-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module to import Account Moves #1022
base: 9.0
Are you sure you want to change the base?
Conversation
<field name="type">general</field> | ||
</record> | ||
</data> | ||
</openerp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm. I'm not sure the module should create journals.
What if they already have them? Or if they don't want them?
Also, if we were to load them.. this should be noupdate=1.
But I really think we shouldn't
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The creation of journals is a request in this task
_description = 'Import Account Moves import' | ||
|
||
file = fields.Binary('File', required=True) | ||
journal = fields.Selection(JOURNALS, 'Journal', required=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using a journal_id = fields.Many2one() field?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For making the import easy because there are 39 journals and we have 5 fils to import with only 5 journals.
Also, we need to retarget the PR to AwesomeFoodCoops:dev branch. In this project everything goes to |
No description provided.