-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[ROADMAP] Module prototyper #104
Comments
👍 thanks |
ping @bealdav @foutoucour |
We working at the moment on a module that it is able to export data in odoo-xml format, so that it is 'easy' to export demo data. At the moment it is highly experimental but before someone start working also on this topic get in touch. |
Hey @OSguard We planned to do it in csv actually as the export in xml is way harder but if you have something to handle the export, we'll more than happy to use it :) |
hey @foutoucour yes it is harder, |
Got it. Thanks for the explanation. On Sun, Feb 22, 2015, 16:14 Markus Schneider notifications@github.com
|
about csv -> xml. A quick and dirty script https://github.com/akretion/csv2xml4odoo To get less dirty it miss the connexion to odoo to define the real type of the column to avoid to guess column type with data. |
@blaggacao yes you can |
@max3903 I recently started actively using the module, so I come up with a "user story" here: |
@blaggacao Yes. I added this feature to the backlog. Can you review #107 so we can merge version 0.3 ? |
@blaggacao I'm not sure about the impacts of overriding copy() on fields and models, but it would indeed be a way to create new fields and models with the x_ prefix. If overriding it has impacts, perhaps a new action would be a good idea as well, e.g. "Copy as Prototype". |
@veloutin I'm glad you took my innocent pass to the next level, thank's for your response(s)! 😄 |
Hello, I've got another one. When exporting the module data, basic cleanup is easily done by a regex, but some stuff, such as relations (with the As for the regex, here is what I used: I was able to reorder and clean relational fields with this Also, it would be nice to have the external id named after the modules name: ordering hasn't been a problem so far, i think if the rule is one model one xml file, this should be fine, ordering then is probably a question of which order they are referenced with in the Update 1:
Update 2:
Update 3:
|
another learning, that we've had is, that if python code contains |
This is at very low scientific level, but I hope it to be useful as a template line of thought
cross model precedence would be a task of the openerp.py, I think... |
We can close as module is developed. |
@pedrobaeza Module is developed but not all the features are in it yet. |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Syncing from upstream OCA/server-tools (8.0)
Backlog
x_
Private suggestion by @blaggacao
Odoo scaffolding already constructs a basic template for a web interface in the controllers.py and the templates.xml in the sci/templates/default folder...
I think maybe it would be good practice to include such templates into the prototype module, even if they only have limited significance (like the listing of objects and fields in the offical templates). It would help to make people aware of the possibility to have some front-end part for a module...
We would like to export files attached to document pages (images for example, see OCA/knowledge#39), so that when we install the exported module, we have the document page content and its attachments.
The text was updated successfully, but these errors were encountered: