Odoo 도움말

0

0
2 응답
0
Avatar

Niyas Raphy India

--Niyas Raphy--
27456
| 7 7 11
Wayanad, Kerala, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy India
19. 9. 7. 오전 7:03

Hi,

First of all this is not recommended way. Instead of creating the app using the studio and exporting it to community, you can directly create your own custom module for the same. Now coming to the question, once you export the studio customization, you will get the studio customization as a module. In the exported module you have to remove the dependency of the studio first from the manifest file. 

Then if there is any customization done over the models and views which is only in enterprise edition. You have to remove those codes from this exported module or make necessary changes in it by adding such views or model in the community edition.


For Exporting Studio Customization:  https://www.youtube.com/watch?v=hzRk8UzJ_rs

Thanks

-1
ano Sri Lanka
19. 9. 7. 오후 2:34

Dear @Niyas 

Getting this error when install the module 





Error:
Odoo Server Error

Traceback (most recent call last):
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 758, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 584, in _tag_record
self._test_xml_id(rec_id)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 259, in _test_xml_id
assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,)
AssertionError: The ID "studio_customization.purchase_order_387bf05e-af5d-48c6-8e48-de99fa871fce" refers to an uninstalled module

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/anojan/odoo1/odoo/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/anojan/odoo1/odoo/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/anojan/odoo1/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/anojan/odoo1/odoo/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/home/anojan/odoo1/odoo/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/anojan/odoo1/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/anojan/odoo1/odoo/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/home/anojan/odoo1/odoo/odoo/http.py", line 941, in __call__
return self.method(*args, **kw)
File "/home/anojan/odoo1/odoo/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/home/anojan/odoo1/odoo/addons/web/controllers/main.py", line 966, in call_button
action = self._call_kw(model, method, args, {})
File "/home/anojan/odoo1/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/anojan/odoo1/odoo/odoo/api.py", line 749, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/home/anojan/odoo1/odoo/odoo/api.py", line 736, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-61>", line 2, in button_immediate_install
File "/home/anojan/odoo1/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/home/anojan/odoo1/odoo/odoo/addons/base/models/ir_module.py", line 445, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/home/anojan/odoo1/odoo/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/home/anojan/odoo1/odoo/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/anojan/odoo1/odoo/odoo/modules/loading.py", line 421, in load_modules
loaded_modules, update_module, models_to_check)
File "/home/anojan/odoo1/odoo/odoo/modules/loading.py", line 313, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/home/anojan/odoo1/odoo/odoo/modules/loading.py", line 222, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package, report=report)
File "/home/anojan/odoo1/odoo/odoo/modules/loading.py", line 68, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 802, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 865, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 764, in parse
exc_info[2]
File "/home/anojan/odoo1/odoo/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 758, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 584, in _tag_record
self._test_xml_id(rec_id)
File "/home/anojan/odoo1/odoo/odoo/tools/convert.py", line 259, in _test_xml_id
assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,)
odoo.tools.convert.ParseError: "The ID "studio_customization.purchase_order_387bf05e-af5d-48c6-8e48-de99fa871fce" refers to an uninstalled module" while parsing /home/anojan/odoo1/odoo/addons/studio_test1/data/ir_model.xml:3, near
<record id="studio_customization.purchase_order_387bf05e-af5d-48c6-8e48-de99fa871fce" model="ir.model" context="{'studio': True}">
<field name="info"> Main super-class for regular database-persisted Odoo models.

Odoo models are created by inheriting from this class::

class user(Model):
...

The system will later instantiate the class once per database (on
which the class' module is installed).
</field>
<field name="is_mail_thread" eval="False"/>
<field name="model">x_purchase_order</field>
<field name="name">Purchase Order</field>
<field name="state">manual</field>
<field name="transient" eval="False"/>
</record>

질문하기
Writer
Keep Informed
2 팔로워
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