odoo

How to remove the Powered by Odoo #1 Open Source eCommerce footer from front end of Odoo 8?

橙三吉。 提交于 2021-02-06 12:56:40
问题 How do you remove the backlinks from the public front end of Odoo 8? Location: lower right corner of the page, in the footer. HTML Code: <div class="pull-right"> Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>, the #1 <a href="http://www.odoo.com/page/e-commerce">Open Source eCommerce</a>. </div> These backlinks are shown to all search engines, and to anybody visiting the site, who is not logged in to the site!! And when you log in, Odoo

How to remove the Powered by Odoo #1 Open Source eCommerce footer from front end of Odoo 8?

江枫思渺然 提交于 2021-02-06 12:56:10
问题 How do you remove the backlinks from the public front end of Odoo 8? Location: lower right corner of the page, in the footer. HTML Code: <div class="pull-right"> Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>, the #1 <a href="http://www.odoo.com/page/e-commerce">Open Source eCommerce</a>. </div> These backlinks are shown to all search engines, and to anybody visiting the site, who is not logged in to the site!! And when you log in, Odoo

How to print a POS receipt from Sale Order?

馋奶兔 提交于 2021-02-04 19:42:32
问题 I need to print POS receipt from sale order with same products qty etc. In Sale order I have created a button "Print POS receIpt". with this button I want to trigger a method that prints out a receipt with sale order lines on it. So I need to find the method that creates POS receipts and pass the sale order line values to it. So which method is printing receipts in POS and how can I trigger it? Is it in models.js ? 回答1: In those Odoo versions, the receipts that are being printed in the POS

How to print a POS receipt from Sale Order?

ⅰ亾dé卋堺 提交于 2021-02-04 19:41:00
问题 I need to print POS receipt from sale order with same products qty etc. In Sale order I have created a button "Print POS receIpt". with this button I want to trigger a method that prints out a receipt with sale order lines on it. So I need to find the method that creates POS receipts and pass the sale order line values to it. So which method is printing receipts in POS and how can I trigger it? Is it in models.js ? 回答1: In those Odoo versions, the receipts that are being printed in the POS

ODOO - How to update two levels o2m fileds relation

你离开我真会死。 提交于 2021-01-29 22:40:31
问题 Odoo community version 11.0-20190311 I have a parent class (dt_tst001) with a o2m field (itens) related to a class (dt_tst002), with another o2m field (tributos) related to a third class (dt_tst003). In the parent class there is another field (seguro_total) and when its value is changed I need to start a recalculation (_upd_seguro) of field (seguro) in the second class and fields (base_calculo, valor_tributo) in the third class. The recalculation in the second class is working, but not in the

odoo 12 error - You don't have the permission to access the requested resource. It is either read-protected or not readable by the server

北战南征 提交于 2021-01-29 07:53:07
问题 I'm getting following error while loading my odoo 12 server on windows 7 You don't have the permission to access the requested resource. It is either read-protected or not readable by the server. But while loading through private window, it is loading!. Even though not able to create a database there.I'm getting following error at that time. Database creation error: relation "ir_model" does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^ I have installed postgresql 9.2 which I

Added users to Many2many field disappear after click save

久未见 提交于 2021-01-29 04:10:28
问题 I try to add users to many2many field. It's working to moment before clicking save. When i click save it's disappear. But if i before add some extra element do this field, other element stay after clicking save. Code: @api.multi @api.onchange('partner_id') def find_projects(self): mail_followers = self.env["mail.followers"] projects_follower_id = mail_followers.search([('partner_id', '=', self.partner_id.id), ('res_model', '=', 'project.project')]) projects_list = [] for x in range(len

Is there a way to add an extra action to the action menu in tree view in Odoo 12?

假如想象 提交于 2021-01-28 19:53:04
问题 i am searchin to add a new button that displays my wizard to the action button display in the tree view My wizard works because i tested it individually, but i need to add it to the action button on the top and i do not know how I tried to use the action.server but did not find any example that helped me Thanks Also i know that from Odoo 10 to Odoo 12 changed, thats why i have not found any clue. Next are the examples i tried but not succed <record model="ir.actions.act_window" id="enviar

Add logo to the backend top navbar

早过忘川 提交于 2021-01-28 18:44:09
问题 I'm trying to add my logo to the top navbar like this: I modified the xml file addons\web\static\src\xml\menu.xml and added this div: <div style="height: 100%;display: block;float: left;margin-right: 15px;margin-left: 15px;"> <img src="https://www.clubsportive.nl/wp-content/uploads/2018/12/logo-example.jpg" height=100%/> </div> inside the header like this: <header t-name="Menu" style="background-color: #4c4c4c;"> <nav class="o_main_navbar"> <ul class="o_menu_apps"/> <div style="height: 100%

Add logo to the backend top navbar

北慕城南 提交于 2021-01-28 18:34:40
问题 I'm trying to add my logo to the top navbar like this: I modified the xml file addons\web\static\src\xml\menu.xml and added this div: <div style="height: 100%;display: block;float: left;margin-right: 15px;margin-left: 15px;"> <img src="https://www.clubsportive.nl/wp-content/uploads/2018/12/logo-example.jpg" height=100%/> </div> inside the header like this: <header t-name="Menu" style="background-color: #4c4c4c;"> <nav class="o_main_navbar"> <ul class="o_menu_apps"/> <div style="height: 100%