Skip to content
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

Open
wants to merge 1 commit into
base: 9.0
Choose a base branch
from

Conversation

psisoft
Copy link

@psisoft psisoft commented Mar 12, 2020

No description provided.

<field name="type">general</field>
</record>
</data>
</openerp>
Copy link
Contributor

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

Copy link
Author

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)
Copy link
Contributor

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?

Copy link
Author

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.

@ivantodorovich
Copy link
Contributor

Also, we need to retarget the PR to AwesomeFoodCoops:dev branch.

In this project everything goes to dev first, and then it's merged to 9.0 after customer validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants