15 lines
411 B
JavaScript
15 lines
411 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { registry } from "@web/core/registry";
|
|
import { Component } from "@odoo/owl";
|
|
import { standardFieldProps } from "@web/views/fields/standard_field_props";
|
|
|
|
class PublishField extends Component {
|
|
static template = "website.PublishField";
|
|
static props = {...standardFieldProps};
|
|
}
|
|
|
|
registry.category("fields").add("website_publish_button", {
|
|
component: PublishField,
|
|
});
|