Files
web/web_widget_darkroom/wizards/darkroom_modal.xml
Oleg Bulkin 12242024d2 [FIX] web_widget_darkroom: Modal, fixes, cleanup
* Fix bugs involving the crop and pan functionality by modifying crop and zoom
plugins and Darkroom widget
* Add Darkroom modal to normal image widget, using darkroom.modal wizard model
to provide backend support for modal view
* Remove res.users view changes introduced for demo purposes (not needed due
to modal functionality)
* Clean up existing code, removing many unnecessary DarkroomJS files
2017-03-28 09:00:01 -07:00

28 lines
933 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<odoo>
<record id="darkroom_modal_view_form" model="ir.ui.view">
<field name="name">Darkroom Modal Wizard</field>
<field name="model">darkroom.modal</field>
<field name="arch" type="xml">
<form string="Darkroom Modal">
<header />
<sheet>
<group name="data">
<field name="image" widget="darkroom" nolabel="1"/>
</group>
</sheet>
<footer>
<button special="cancel" string="Cancel" class="pull-left"/>
<button name="action_save" type="object" string="Save" class="oe_highlight pull-right"/>
</footer>
</form>
</field>
</record>
</odoo>