odoo clone product categories to POS categories

insert into pos_category(id,name,parent_id)
select id,name,parent_id from product_category;
update pos_category set create_uid=2;
update pos_category set create_date='2021-09-02 02:52:17.914874';
update pos_category set write_uid=2;
update pos_category set write_date='2021-09-02 02:52:17.914874';
update product_template set pos_categ_id=categ_id;
clone_product_categories_pos_odoo.txt · Last modified: 2021/09/01 21:02
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain