From ef9732f56c6ace2ce4cbf3a2eb2bdffa0cfbda38 Mon Sep 17 00:00:00 2001 From: janikvonrotz Date: Wed, 4 Jan 2023 16:55:36 +0100 Subject: [PATCH] sync from 15.0 --- .vuepress/sidebar_snippet.js | 2 +- README.md | 61 +- docker-compose.yml | 27 +- snippets.md | 5 + snippets/account.md | 236 ++++++-- ...count.report_invoice_document.add_iban.xml | 41 +- ...eport_invoice_document.add_sale_person.xml | 26 + ...report_invoice_document.custom_address.xml | 24 + ...count.view_move_form.edit_invoice_date.xml | 8 + ...count.view_move_form.x_duplicate_found.xml | 12 + snippets/account_asset.md | 27 + ...ccount_asset_form.account_ids_optional.xml | 16 + snippets/account_followup.md | 31 + ...e_followup_report.padding_before_table.xml | 8 + ...owup_report.remove_summary_placeholder.xml | 6 + snippets/account_sale_timesheet_report.md | 45 ++ ....report_invoice_document.add_pagebreak.xml | 10 + ...timesheet_table.add_start_and_end_hour.xml | 17 + ...on_view_tree.show_ir_actions_server_id.xml | 8 + snippets/base.md | 16 + ..._view_form.show_number_of_hours_always.xml | 8 + ...r_holidays.hr_leave_view_tree.x_synced.xml | 2 +- snippets/hr_holidays.md | 61 +- ...s.view_holiday_pivot.x_number_of_hours.xml | 8 + snippets/hr_payroll.md | 222 +++++++ ...roll.report_payslip.gio_custom_payroll.xml | 215 +++++++ ...r_timesheet_line_tree.disable_editable.xml | 8 + ...r_timesheet_line_tree.taks_id_required.xml | 8 + snippets/hr_timesheet.md | 30 + ...r_model.account_move.x_duplicate_found.xml | 30 + .../ir_model.hr_leave.x_number_of_hours.xml | 19 + snippets/ir_model.md | 239 +++++++- ....product_template.x_hide_on_sale_order.xml | 16 + ...project_task.x_business_requirement_id.xml | 11 +- snippets/ir_model.project_task.x_lead_id.xml | 21 + ...t_order_line.x_product_uom_category_id.xml | 18 + ...del.sale_order_line.x_weight_delivered.xml | 2 +- ...odel.stock_location.x_should_be_valued.xml | 20 + ...ck_valuation_layer.x_quant_location_id.xml | 27 + ..._ch_swissqr_template.add_title_padding.xml | 12 + snippets/l10n_ch.md | 18 + .../mail.mail_notification_light.debrand.xml | 6 + ...mail_notification_light.set_model_name.xml | 8 + ...ail_notification_paynow.set_model_name.xml | 8 + snippets/mail.md | 60 ++ ...assigned.set_access_link_my_activities.xml | 13 + .../mrp.label_production_view_pdf.trimada.xml | 4 +- snippets/mrp.md | 4 +- snippets/product.md | 73 ++- ...product_normal_form_view.add_feeder_id.xml | 7 + ...uct_normal_form_view.hide_default_code.xml | 6 + ...duct_normal_form_view.relocate_barcode.xml | 10 + ...te_only_form_view.x_hide_on_sale_order.xml | 8 + ...oduct_template_search_view.modify_name.xml | 8 + ...ct.report_producttemplatelabel.trimada.xml | 3 +- snippets/project.md | 92 +++ ...t.view_task_form2.remove_timer_buttons.xml | 10 + ....view_task_form2.show_allow_timesheets.xml | 8 + ...ask_form2.show_analytic_account_active.xml | 8 + ...ask_form2.show_display_timesheet_timer.xml | 8 + ...iew_task_form2.show_encode_uom_in_days.xml | 8 + .../project.view_task_form2.x_lead_id.xml | 8 + snippets/purchase.md | 179 +++--- ...purchase_order_form.add_qty_to_invoice.xml | 8 + ...t_purchaseorder_document.add_infotable.xml | 66 +- ...rchasequotation_document.add_infotable.xml | 98 +-- snippets/purchase_requisition.md | 572 +++++++++++++++--- ...purchaserequisitions.add_address_block.xml | 28 +- ...t_purchaserequisitions.add_description.xml | 12 +- ...ort_purchaserequisitions.add_infotable.xml | 24 +- ...urchaserequisitions.add_price_subtotal.xml | 16 + ...rt_purchaserequisitions.add_price_unit.xml | 20 +- ...eport_purchaserequisitions.add_summary.xml | 45 ++ ...serequisitions.format_qty_with_decimal.xml | 6 +- ...port_purchaserequisitions.hide_details.xml | 5 - ...urchaserequisitions.hide_schedule_date.xml | 7 + ...urchaserequisitions.hide_title_details.xml | 6 + ...urchaserequisitions.hide_title_product.xml | 5 - ...quisitions.replace_product_description.xml | 8 +- ...ort_purchaserequisitions.replace_title.xml | 2 +- ...report_purchaserequisitions.second_row.xml | 55 +- ...on.report_purchaserequisitions.set_ids.xml | 25 +- ...eport_purchaserequisitions.style_gelso.xml | 24 +- ...ort_purchaserequisitions.style_trimada.xml | 3 + ...hase_requisition_filter.replace_filter.xml | 37 ++ ...tion_form.date_end_attributes_readonly.xml | 8 + ...tion_form.date_end_attributes_required.xml | 8 + ...chase_requisition_form.modify_readonly.xml | 8 + ...urchase_requisition_form.modify_states.xml | 8 + ...equisition_form.modify_status_workflow.xml | 29 + ...form.ordering_date_attributes_required.xml | 8 + ...e_requisition_form.relocate_price_unit.xml | 9 + ..._requisition_form.relocate_qty_ordered.xml | 9 + ...urchase_requisition_form.replace_title.xml | 9 + ..._purchase_requisition_tree.add_comment.xml | 8 + ...chase_requisition_tree.add_partner_ref.xml | 8 + ...urchase_requisition_tree.add_vendor_id.xml | 8 + ...hase_requisition_tree.relocate_user_id.xml | 11 + snippets/purchase_requisition_send.md | 21 + ..._requisition_form.relocate_send_button.xml | 10 + snippets/sale.md | 73 ++- ...eport_saleorder_document.add_infotable.xml | 40 +- ...order_document.show_partner_contact_id.xml | 13 + ...aleorder_document.x_hide_on_sale_order.xml | 8 + snippets/sale_blanket_order.md | 124 +++- ...ort_blanketorder_document.add_discount.xml | 21 + ...rt_blanketorder_document.add_infotable.xml | 30 +- ...anketorder_document.hide_date_schedule.xml | 7 + ...anketorder_document.replace_partner_id.xml | 8 +- ..._blanketorder_document.replace_summary.xml | 4 +- ...r.report_blanketorder_document.set_ids.xml | 4 + ...t_order_form.x_product_uom_category_id.xml | 12 + ...ew_blanket_order_search.replace_filter.xml | 2 +- ...m.modify_attributes_blanket_order_line.xml | 12 + ...k.label_transfer_template_view.trimada.xml | 3 +- snippets/stock.md | 397 +++++++++++- ...earch_form_view_stock.hide_location_id.xml | 7 + ...arch_form_view_stock.hide_pricelist_id.xml | 7 + ...arch_form_view_stock.hide_warehouse_id.xml | 7 + snippets/stock.report_bordero.basis57.xml | 10 +- .../stock.report_certificatecofc.tissa.xml | 189 ++++++ ...port_picking.add_mrp_production_x_note.xml | 10 + ...ort_picking.modify_no_reserved_product.xml | 2 +- ...stock.report_picking.relocate_quantity.xml | 20 +- snippets/stock.report_picking.set_ids.xml | 4 + .../stock.report_picking.style_trimada.xml | 11 +- ...very_has_serial_move_line.get_position.xml | 12 + ...stock.view_move_form.show_picking_code.xml | 8 + ...ve_form.show_stock_valuation_layer_ids.xml | 8 + ...stock.view_move_line_form.show_move_id.xml | 8 + ...al_search.filter_groupby_expected_date.xml | 8 + ..._line_operation_tree.edit_reserved_qty.xml | 8 + snippets/stock_account.md | 48 ++ ...valuation_layer_tree.add_stock_move_id.xml | 8 + ...ion_layer_tree.add_x_quant_location_id.xml | 8 + ...on_search.group_by_x_quant_location_id.xml | 8 + .../web.assets_common.set_chatter_width.xml | 14 + snippets/web.assets_common.set_form_width.xml | 14 + ...xternal_layout_standard.remove_contact.xml | 1 + ...b.external_layout_standard.replace_url.xml | 1 + snippets/web.md | 42 ++ task | 101 ++-- task.md | 5 +- template/ms_custom_module/__manifest__.py | 4 +- .../invoice_document.xml} | 0 .../views/{views.xml => sale_order.xml} | 0 146 files changed, 4150 insertions(+), 575 deletions(-) create mode 100644 snippets/account.report_invoice_document.add_sale_person.xml create mode 100644 snippets/account.report_invoice_document.custom_address.xml create mode 100644 snippets/account.view_move_form.edit_invoice_date.xml create mode 100644 snippets/account.view_move_form.x_duplicate_found.xml create mode 100644 snippets/account_asset.md create mode 100644 snippets/account_asset.view_account_asset_form.account_ids_optional.xml create mode 100644 snippets/account_followup.md create mode 100644 snippets/account_followup.template_followup_report.padding_before_table.xml create mode 100644 snippets/account_followup.template_followup_report.remove_summary_placeholder.xml create mode 100644 snippets/account_sale_timesheet_report.md create mode 100644 snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml create mode 100644 snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml create mode 100644 snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml create mode 100644 snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml create mode 100644 snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml create mode 100644 snippets/hr_payroll.report_payslip.gio_custom_payroll.xml create mode 100644 snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml create mode 100644 snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml create mode 100644 snippets/ir_model.account_move.x_duplicate_found.xml create mode 100644 snippets/ir_model.hr_leave.x_number_of_hours.xml create mode 100644 snippets/ir_model.product_template.x_hide_on_sale_order.xml create mode 100644 snippets/ir_model.project_task.x_lead_id.xml create mode 100644 snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml create mode 100644 snippets/ir_model.stock_location.x_should_be_valued.xml create mode 100644 snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml create mode 100644 snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml create mode 100644 snippets/mail.mail_notification_light.debrand.xml create mode 100644 snippets/mail.mail_notification_light.set_model_name.xml create mode 100644 snippets/mail.mail_notification_paynow.set_model_name.xml create mode 100644 snippets/mail.message_activity_assigned.set_access_link_my_activities.xml create mode 100644 snippets/product.product_normal_form_view.add_feeder_id.xml create mode 100644 snippets/product.product_normal_form_view.hide_default_code.xml create mode 100644 snippets/product.product_normal_form_view.relocate_barcode.xml create mode 100644 snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml create mode 100644 snippets/product.product_template_search_view.modify_name.xml create mode 100644 snippets/project.view_task_form2.remove_timer_buttons.xml create mode 100644 snippets/project.view_task_form2.show_allow_timesheets.xml create mode 100644 snippets/project.view_task_form2.show_analytic_account_active.xml create mode 100644 snippets/project.view_task_form2.show_display_timesheet_timer.xml create mode 100644 snippets/project.view_task_form2.show_encode_uom_in_days.xml create mode 100644 snippets/project.view_task_form2.x_lead_id.xml create mode 100644 snippets/purchase.purchase_order_form.add_qty_to_invoice.xml create mode 100644 snippets/purchase_requisition.report_purchaserequisitions.add_price_subtotal.xml create mode 100644 snippets/purchase_requisition.report_purchaserequisitions.add_summary.xml create mode 100644 snippets/purchase_requisition.report_purchaserequisitions.hide_schedule_date.xml create mode 100644 snippets/purchase_requisition.report_purchaserequisitions.hide_title_details.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_filter.replace_filter.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.date_end_attributes_readonly.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.date_end_attributes_required.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.modify_readonly.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.modify_states.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.modify_status_workflow.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.ordering_date_attributes_required.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.relocate_price_unit.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.relocate_qty_ordered.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_form.replace_title.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_tree.add_comment.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_tree.add_partner_ref.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_tree.add_vendor_id.xml create mode 100644 snippets/purchase_requisition.view_purchase_requisition_tree.relocate_user_id.xml create mode 100644 snippets/purchase_requisition_send.md create mode 100644 snippets/purchase_requisition_send.view_purchase_requisition_form.relocate_send_button.xml create mode 100644 snippets/sale.report_saleorder_document.show_partner_contact_id.xml create mode 100644 snippets/sale.report_saleorder_document.x_hide_on_sale_order.xml create mode 100644 snippets/sale_blanket_order.report_blanketorder_document.add_discount.xml create mode 100644 snippets/sale_blanket_order.report_blanketorder_document.hide_date_schedule.xml create mode 100644 snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml create mode 100644 snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml create mode 100644 snippets/stock.product_template_search_form_view_stock.hide_location_id.xml create mode 100644 snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml create mode 100644 snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml create mode 100644 snippets/stock.report_certificatecofc.tissa.xml create mode 100644 snippets/stock.report_picking.add_mrp_production_x_note.xml create mode 100644 snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml create mode 100644 snippets/stock.view_move_form.show_picking_code.xml create mode 100644 snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml create mode 100644 snippets/stock.view_move_line_form.show_move_id.xml create mode 100644 snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml create mode 100644 snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml create mode 100644 snippets/stock_account.md create mode 100644 snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml create mode 100644 snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml create mode 100644 snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml create mode 100644 snippets/web.assets_common.set_chatter_width.xml create mode 100644 snippets/web.assets_common.set_form_width.xml rename template/ms_custom_module/{views/report_invoice_document.xml => report/invoice_document.xml} (100%) rename template/ms_custom_module/views/{views.xml => sale_order.xml} (100%) diff --git a/.vuepress/sidebar_snippet.js b/.vuepress/sidebar_snippet.js index e2443ddd..670d0bf3 100644 --- a/.vuepress/sidebar_snippet.js +++ b/.vuepress/sidebar_snippet.js @@ -1 +1 @@ -module.exports = ['/snippets/account.md','/snippets/account_budget.md','/snippets/agreement.md','/snippets/agreement_legal.md','/snippets/base.md','/snippets/business_requirement.md','/snippets/calendar.md','/snippets/certificate_planer.md','/snippets/contract.md','/snippets/crm.md','/snippets/crm_iap_lead_enrich.md','/snippets/delivery.md','/snippets/digest.md','/snippets/fleet.md','/snippets/gio_payroll_custom.md','/snippets/helpdesk.md','/snippets/hr.md','/snippets/hr_attendance.md','/snippets/hr_contract.md','/snippets/hr_holidays.md','/snippets/hr_holidays_delegations.md','/snippets/hr_payroll.md','/snippets/hr_recruitment.md','/snippets/hr_timesheet.md','/snippets/ir_model.md','/snippets/ir_ui_view.md','/snippets/l10n_ch.md','/snippets/l10n_ch_qr_isr_invoice_import.md','/snippets/mail.md','/snippets/mail_activity_board.md','/snippets/mrp.md','/snippets/mrp_workorder.md','/snippets/printnode_base.md','/snippets/product.md','/snippets/project.md','/snippets/purchase.md','/snippets/purchase_requisition.md','/snippets/res_groups.md','/snippets/sale.md','/snippets/sale_blanket_order.md','/snippets/sale_management.md','/snippets/sale_margin.md','/snippets/sale_order_contact_person.md','/snippets/sale_order_line_date.md','/snippets/sale_order_picking_note.md','/snippets/sale_partner_incoterm.md','/snippets/sale_product_set.md','/snippets/sale_subscription.md','/snippets/stock.md','/snippets/stock_delivery_note.md','/snippets/timesheet_grid.md','/snippets/web.md','/snippets/website_discount_voucher.md','/snippets/website_sale.md',] +module.exports = ['/snippets/account.md','/snippets/account_asset.md','/snippets/account_budget.md','/snippets/account_followup.md','/snippets/account_sale_timesheet_report.md','/snippets/agreement.md','/snippets/agreement_legal.md','/snippets/base.md','/snippets/business_requirement.md','/snippets/calendar.md','/snippets/certificate_planer.md','/snippets/contract.md','/snippets/crm.md','/snippets/crm_iap_lead_enrich.md','/snippets/delivery.md','/snippets/digest.md','/snippets/fleet.md','/snippets/gio_payroll_custom.md','/snippets/helpdesk.md','/snippets/hr.md','/snippets/hr_attendance.md','/snippets/hr_contract.md','/snippets/hr_holidays.md','/snippets/hr_holidays_delegations.md','/snippets/hr_payroll.md','/snippets/hr_recruitment.md','/snippets/hr_timesheet.md','/snippets/ir_model.md','/snippets/ir_ui_view.md','/snippets/l10n_ch.md','/snippets/l10n_ch_qr_isr_invoice_import.md','/snippets/mail.md','/snippets/mail_activity_board.md','/snippets/mrp.md','/snippets/mrp_workorder.md','/snippets/printnode_base.md','/snippets/product.md','/snippets/project.md','/snippets/purchase.md','/snippets/purchase_requisition.md','/snippets/purchase_requisition_send.md','/snippets/res_groups.md','/snippets/sale.md','/snippets/sale_blanket_order.md','/snippets/sale_management.md','/snippets/sale_margin.md','/snippets/sale_order_contact_person.md','/snippets/sale_order_line_date.md','/snippets/sale_order_picking_note.md','/snippets/sale_partner_incoterm.md','/snippets/sale_product_set.md','/snippets/sale_subscription.md','/snippets/stock.md','/snippets/stock_account.md','/snippets/stock_delivery_note.md','/snippets/timesheet_grid.md','/snippets/web.md','/snippets/website_discount_voucher.md','/snippets/website_sale.md',] diff --git a/README.md b/README.md index 0d5d46a6..4f02dfd2 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,65 @@ task stop task drop-db ``` +## Mail + +### Setup mail server and client + +Start mail server. + +``` +task start mail +``` + +Create a new account `odoo@example.com` and set `odoo` as password.\ +Create a new account `test@example.com` and set `test` as password. + +Install a simple mail client such as [Claws Mail](https://www.claws-mail.org/) and connect with credentials: + +host: `localhost`\ +port: `25`\ +username: `odoo@example.com`\ +password: `test` + +For incoming mails use these informations: + +server type: `IMAP` +host: `localhost`\ +port: `143`\ +username: `odoo@example.com`\ +password: `test` + +Repeat the same for `test@example.com`. + +### Setup incoming and outgoing mail for Odoo + +Activate mail sever option with `example.com` domain. + +For outgoing mails use these informations: + +host: `localhost`\ +port: `25`\ +username: `odoo@example.com`\ +password: `odoo` + +For incoming mails use these informations: + +server type: `IMAP` +host: `localhost`\ +port: `143`\ +username: `odoo@example.com`\ +password: `odoo` + +### Test mail exchange + +Follow these steps to test a mail exchange: + +* Send mail in Odoo to `test@example.com` +* In mail client create reply to the mail and save as draft +* Copy the mail to the inbox of `odoo@example.com` +* Trigger fetchmail in Odoo +* Check if reply has been processed + ## Troubleshooting ### inotify instance limit reached @@ -178,4 +237,4 @@ Increase ifnotify watch limit. ```bash sudo sysctl fs.inotify.max_user_watches=52428800 -``` \ No newline at end of file +``` diff --git a/docker-compose.yml b/docker-compose.yml index bfa33e76..b1beae8c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,14 +12,14 @@ services: ports: - "127.0.0.1:8069:8069" volumes: - - odoo-odoo-data:/var/lib/odoo + - odoo-data:/var/lib/odoo - ./config:/etc/odoo - ./addons:/mnt/addons - ./oca:/mnt/oca - ./enterprise:/mnt/enterprise - ./themes:/mnt/themes - pgadmin: - container_name: pgadmin + admin: + container_name: admin image: dpage/pgadmin4:6 depends_on: - db @@ -29,7 +29,7 @@ services: PGADMIN_DEFAULT_EMAIL: admin@example.com PGADMIN_DEFAULT_PASSWORD: admin volumes: - - odoo-pgadmin-data:/var/lib/pgadmin + - admin-data:/var/lib/pgadmin - ./config/servers.json:/pgadmin4/servers.json db: container_name: db @@ -41,8 +41,19 @@ services: POSTGRES_PASSWORD: odoo PGDATA: /var/lib/postgresql/data/pgdata volumes: - - odoo-db-data:/var/lib/postgresql/data/pgdata + - db-data:/var/lib/postgresql/data/pgdata + mail: + image: docker.io/mailserver/docker-mailserver:latest + container_name: mail + hostname: mail + domainname: localhost + ports: + - "25:25" + - "143:143" + - "587:587" + - "993:993" volumes: - odoo-odoo-data: - odoo-db-data: - odoo-pgadmin-data: + odoo-data: + db-data: + admin-data: + mail-data: diff --git a/snippets.md b/snippets.md index 85af87b3..bc6571ec 100644 --- a/snippets.md +++ b/snippets.md @@ -1,7 +1,10 @@ # Snippets In Odoo everything is described as an XML document. Snippets are modifications (edits) for these XML documents. With a snippet you can e.g. hide a field on the contact form. A snippet name is unique and follows the `$COMPANY.$MODULE.$XML_ID.$DESCRIPTION` schema. ## [Account](snippets/account.md) +## [Account Asset](snippets/account_asset.md) ## [Account Budget](snippets/account_budget.md) +## [Account Followup](snippets/account_followup.md) +## [Account Sale Timesheet Report](snippets/account_sale_timesheet_report.md) ## [Agreement](snippets/agreement.md) ## [Agreement Legal](snippets/agreement_legal.md) ## [Base](snippets/base.md) @@ -37,6 +40,7 @@ In Odoo everything is described as an XML document. Snippets are modificatio ## [Project](snippets/project.md) ## [Purchase](snippets/purchase.md) ## [Purchase Requisition](snippets/purchase_requisition.md) +## [Purchase Requisition Send](snippets/purchase_requisition_send.md) ## [Res Groups](snippets/res_groups.md) ## [Sale](snippets/sale.md) ## [Sale Blanket Order](snippets/sale_blanket_order.md) @@ -49,6 +53,7 @@ In Odoo everything is described as an XML document. Snippets are modificatio ## [Sale Product Set](snippets/sale_product_set.md) ## [Sale Subscription](snippets/sale_subscription.md) ## [Stock](snippets/stock.md) +## [Stock Account](snippets/stock_account.md) ## [Stock Delivery Note](snippets/stock_delivery_note.md) ## [Timesheet Grid](snippets/timesheet_grid.md) ## [Web](snippets/web.md) diff --git a/snippets/account.md b/snippets/account.md index 17548c23..70210347 100644 --- a/snippets/account.md +++ b/snippets/account.md @@ -61,28 +61,25 @@ ID: `mint_system.account.report_invoice_document.add_iban` - - -
-
- IBAN: - -
-
-
- -
-
- Bank/BIC: - -
-
-
-
-
+ + + +

+ IBAN: + + + +
+ Bank/BIC: + + + +

+
+
- - +
- ``` Source: [snippets/account.report_invoice_document.add_iban.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_iban.xml) @@ -120,6 +116,38 @@ ID: `mint_system.account.report_invoice_document.add_percentage_sign` ``` Source: [snippets/account.report_invoice_document.add_percentage_sign.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_percentage_sign.xml) +### Add Sale Person +ID: `mint_system.account.report_invoice_document.add_sale_person` +```xml + + + + + + + + + +
+ Salesperson: +

+

+
+ + + +
+
+ Reference: +

+

+
+
+ +
+``` +Source: [snippets/account.report_invoice_document.add_sale_person.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_sale_person.xml) + ### Add Salesperson ID: `mint_system.account.report_invoice_document.add_salesperson` ```xml @@ -208,6 +236,36 @@ ID: `mint_system.account.report_invoice_document.bank_account` ``` Source: [snippets/account.report_invoice_document.bank_account.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.bank_account.xml) +### Custom Address +ID: `mint_system.account.report_invoice_document.custom_address` +```xml + + + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+``` +Source: [snippets/account.report_invoice_document.custom_address.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.custom_address.xml) + ### Custom Taxes ID: `mint_system.account.report_invoice_document.custom_taxes` ```xml @@ -1872,28 +1930,25 @@ ID: `mint_system.account.report_invoice_document.add_iban` - - -
-
- IBAN: - -
-
-
- -
-
- Bank/BIC: - -
-
-
-
-
+ + + +

+ IBAN: + + + +
+ Bank/BIC: + + + +

+
+
- - +
- ``` Source: [snippets/account.report_invoice_document.add_iban.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_iban.xml) @@ -1931,6 +1985,38 @@ ID: `mint_system.account.report_invoice_document.add_percentage_sign` ``` Source: [snippets/account.report_invoice_document.add_percentage_sign.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_percentage_sign.xml) +### Add Sale Person +ID: `mint_system.account.report_invoice_document.add_sale_person` +```xml + + + + + + + + + +
+ Salesperson: +

+

+
+ + + +
+
+ Reference: +

+

+
+
+ +
+``` +Source: [snippets/account.report_invoice_document.add_sale_person.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_sale_person.xml) + ### Add Salesperson ID: `mint_system.account.report_invoice_document.add_salesperson` ```xml @@ -2019,6 +2105,36 @@ ID: `mint_system.account.report_invoice_document.bank_account` ``` Source: [snippets/account.report_invoice_document.bank_account.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.bank_account.xml) +### Custom Address +ID: `mint_system.account.report_invoice_document.custom_address` +```xml + + + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+``` +Source: [snippets/account.report_invoice_document.custom_address.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.custom_address.xml) + ### Custom Taxes ID: `mint_system.account.report_invoice_document.custom_taxes` ```xml @@ -3840,6 +3956,20 @@ ID: `mint_system.account.view_move_form.domain_partner_bank_ids` ``` Source: [snippets/account.view_move_form.domain_partner_bank_ids.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.domain_partner_bank_ids.xml) +### Edit Invoice Date +ID: `mint_system.account.view_move_form.edit_invoice_date` +```xml + + + + + {} + + + +``` +Source: [snippets/account.view_move_form.edit_invoice_date.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.edit_invoice_date.xml) + ### Hide Payment Reference ID: `mint_system.account.view_move_form.hide_payment_reference` ```xml @@ -4004,6 +4134,24 @@ ID: `mint_system.account.view_move_form.show_user_id` ``` Source: [snippets/account.view_move_form.show_user_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.show_user_id.xml) +### X Duplicate Found +ID: `mint_system.account.view_move_form.x_duplicate_found` +```xml + + + +
+ + +
+ +
+``` +Source: [snippets/account.view_move_form.x_duplicate_found.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.x_duplicate_found.xml) + ### X Recurring Inverval ID: `mint_system.account.view_move_form.x_recurring_inverval` ```xml diff --git a/snippets/account.report_invoice_document.add_iban.xml b/snippets/account.report_invoice_document.add_iban.xml index bd325c34..31bb194b 100644 --- a/snippets/account.report_invoice_document.add_iban.xml +++ b/snippets/account.report_invoice_document.add_iban.xml @@ -1,28 +1,25 @@ - - -
-
- IBAN: - -
-
-
- -
-
- Bank/BIC: - -
-
-
-
-
+ + + +

+ IBAN: + + + +
+ Bank/BIC: + + + +

+
+
- - + -
+ \ No newline at end of file diff --git a/snippets/account.report_invoice_document.add_sale_person.xml b/snippets/account.report_invoice_document.add_sale_person.xml new file mode 100644 index 00000000..a4c29dc9 --- /dev/null +++ b/snippets/account.report_invoice_document.add_sale_person.xml @@ -0,0 +1,26 @@ + + + + + + + + + +
+ Salesperson: +

+

+
+ + + +
+
+ Reference: +

+

+
+
+ +
\ No newline at end of file diff --git a/snippets/account.report_invoice_document.custom_address.xml b/snippets/account.report_invoice_document.custom_address.xml new file mode 100644 index 00000000..04fb942a --- /dev/null +++ b/snippets/account.report_invoice_document.custom_address.xml @@ -0,0 +1,24 @@ + + + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
\ No newline at end of file diff --git a/snippets/account.view_move_form.edit_invoice_date.xml b/snippets/account.view_move_form.edit_invoice_date.xml new file mode 100644 index 00000000..ddb2792d --- /dev/null +++ b/snippets/account.view_move_form.edit_invoice_date.xml @@ -0,0 +1,8 @@ + + + + + {} + + + \ No newline at end of file diff --git a/snippets/account.view_move_form.x_duplicate_found.xml b/snippets/account.view_move_form.x_duplicate_found.xml new file mode 100644 index 00000000..c3084d58 --- /dev/null +++ b/snippets/account.view_move_form.x_duplicate_found.xml @@ -0,0 +1,12 @@ + + + +
+ + +
+ +
\ No newline at end of file diff --git a/snippets/account_asset.md b/snippets/account_asset.md new file mode 100644 index 00000000..cc36a3b1 --- /dev/null +++ b/snippets/account_asset.md @@ -0,0 +1,27 @@ +--- +prev: ./snippets.md +--- +# Account Asset +## View Account Asset Form +### Account Ids Optional +ID: `mint_system.account_asset.view_account_asset_form.account_ids_optional` +```xml + + + + + {'invisible': ['|', ('display_account_asset_id', '=', False), ('asset_type', '!=', 'purchase')]} + + + + 0 + + + + 0 + + + +``` +Source: [snippets/account_asset.view_account_asset_form.account_ids_optional.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account_asset.view_account_asset_form.account_ids_optional.xml) + diff --git a/snippets/account_asset.view_account_asset_form.account_ids_optional.xml b/snippets/account_asset.view_account_asset_form.account_ids_optional.xml new file mode 100644 index 00000000..0ed475e4 --- /dev/null +++ b/snippets/account_asset.view_account_asset_form.account_ids_optional.xml @@ -0,0 +1,16 @@ + + + + + {'invisible': ['|', ('display_account_asset_id', '=', False), ('asset_type', '!=', 'purchase')]} + + + + 0 + + + + 0 + + + \ No newline at end of file diff --git a/snippets/account_followup.md b/snippets/account_followup.md new file mode 100644 index 00000000..f8066f4b --- /dev/null +++ b/snippets/account_followup.md @@ -0,0 +1,31 @@ +--- +prev: ./snippets.md +--- +# Account Followup +## Template Followup Report +### Padding Before Table +ID: `mint_system.account_followup.template_followup_report.padding_before_table` +```xml + + + + + padding-top: 2rem + + + +``` +Source: [snippets/account_followup.template_followup_report.padding_before_table.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account_followup.template_followup_report.padding_before_table.xml) + +### Remove Summary Placeholder +ID: `mint_system.account_followup.template_followup_report.remove_summary_placeholder` +```xml + + + + + + +``` +Source: [snippets/account_followup.template_followup_report.remove_summary_placeholder.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account_followup.template_followup_report.remove_summary_placeholder.xml) + diff --git a/snippets/account_followup.template_followup_report.padding_before_table.xml b/snippets/account_followup.template_followup_report.padding_before_table.xml new file mode 100644 index 00000000..75c44f92 --- /dev/null +++ b/snippets/account_followup.template_followup_report.padding_before_table.xml @@ -0,0 +1,8 @@ + + + + + padding-top: 2rem + + + \ No newline at end of file diff --git a/snippets/account_followup.template_followup_report.remove_summary_placeholder.xml b/snippets/account_followup.template_followup_report.remove_summary_placeholder.xml new file mode 100644 index 00000000..44345d2a --- /dev/null +++ b/snippets/account_followup.template_followup_report.remove_summary_placeholder.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/snippets/account_sale_timesheet_report.md b/snippets/account_sale_timesheet_report.md new file mode 100644 index 00000000..7f7df7f7 --- /dev/null +++ b/snippets/account_sale_timesheet_report.md @@ -0,0 +1,45 @@ +--- +prev: ./snippets.md +--- +# Account Sale Timesheet Report +## Report Invoice Document +### Add Pagebreak +ID: `mint_system.account_sale_timesheet_report.report_invoice_document.add_pagebreak` +```xml + + + + + +

+ + + + +``` +Source: [snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml) + +## Timesheet Table +### Add Start And End Hour +ID: `mint_system.account_sale_timesheet_report.timesheet_table.add_start_and_end_hour` +```xml + + + + + Datum und Uhrzeit + + + + +
+ + - + + +
+ +
+``` +Source: [snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml) + diff --git a/snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml b/snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml new file mode 100644 index 00000000..a3c7cf8e --- /dev/null +++ b/snippets/account_sale_timesheet_report.report_invoice_document.add_pagebreak.xml @@ -0,0 +1,10 @@ + + + + + +

+ + + + \ No newline at end of file diff --git a/snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml b/snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml new file mode 100644 index 00000000..e5532221 --- /dev/null +++ b/snippets/account_sale_timesheet_report.timesheet_table.add_start_and_end_hour.xml @@ -0,0 +1,17 @@ + + + + + Datum und Uhrzeit + + + + +
+ + - + + +
+ +
\ No newline at end of file diff --git a/snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml b/snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml new file mode 100644 index 00000000..69fd5a47 --- /dev/null +++ b/snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/snippets/base.md b/snippets/base.md index c8c9e1d5..e17a3b0f 100644 --- a/snippets/base.md +++ b/snippets/base.md @@ -30,6 +30,22 @@ ID: `mint_system.base.contact_name.modify_name` ``` Source: [snippets/base.contact_name.modify_name.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.contact_name.modify_name.xml) +## Ir Cron View Tree +### Show Ir Actions Server Id +ID: `mint_system.base.ir_cron_view_tree.show_ir_actions_server_id` +```xml + + + + + + + + + +``` +Source: [snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.ir_cron_view_tree.show_ir_actions_server_id.xml) + ## Ir Filters View Form ### Remove Domain Widget ID: `mint_system.base.ir_filters_view_form.remove_domain_widget` diff --git a/snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml b/snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml new file mode 100644 index 00000000..b2e5fa1f --- /dev/null +++ b/snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml @@ -0,0 +1,8 @@ + + + + + {} + + + diff --git a/snippets/hr_holidays.hr_leave_view_tree.x_synced.xml b/snippets/hr_holidays.hr_leave_view_tree.x_synced.xml index 0ee3db9c..7d4ab9d5 100644 --- a/snippets/hr_holidays.hr_leave_view_tree.x_synced.xml +++ b/snippets/hr_holidays.hr_leave_view_tree.x_synced.xml @@ -1,5 +1,5 @@ - + diff --git a/snippets/hr_holidays.md b/snippets/hr_holidays.md index 95c728bb..17b4399c 100644 --- a/snippets/hr_holidays.md +++ b/snippets/hr_holidays.md @@ -36,6 +36,22 @@ ID: `mint_system.hr_holidays.hr_leave_view_form_manager_approve.report_note_grou ``` Source: [snippets/hr_holidays.hr_leave_view_form_manager_approve.report_note_group.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_form_manager_approve.report_note_group.xml) +## Hr Leave View Form +### Show Number Of Hours Always +ID: `mint_system.hr_holidays.hr_leave_view_form.show_number_of_hours_always` +```xml + + + + + {} + + + + +``` +Source: [snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_form.show_number_of_hours_always.xml) + ## Hr Leave View Timeline ### View ID: `mint_system.hr_holidays.hr_leave_view_timeline.view` @@ -58,21 +74,6 @@ ID: `mint_system.hr_holidays.hr_leave_view_timeline.view` Source: [snippets/hr_holidays.hr_leave_view_timeline.view.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_timeline.view.xml) ## Hr Leave View Tree -### Add Synced Field -ID: `mint_system.hr_holidays.hr_leave_view_tree.add_synced_field` -```xml - - - - - - - - - -``` -Source: [snippets/hr_holidays.hr_leave_view_tree.add_synced_field.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_tree.add_synced_field.xml) - ### Remove Payslip ID: `mint_system.hr_holidays.hr_leave_view_tree.remove_payslip` ```xml @@ -102,3 +103,33 @@ ID: `mint_system.hr_holidays.hr_leave_view_tree.show_days` ``` Source: [snippets/hr_holidays.hr_leave_view_tree.show_days.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_tree.show_days.xml) +### X Synced +ID: `mint_system.hr_holidays.hr_leave_view_tree.x_synced` +```xml + + + + + + + + +``` +Source: [snippets/hr_holidays.hr_leave_view_tree.x_synced.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.hr_leave_view_tree.x_synced.xml) + +## View Holiday Pivot +### X Number Of Hours +ID: `mint_system.hr_holidays.view_holiday_pivot.x_number_of_hours` +```xml + + + + + + + + + +``` +Source: [snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml) + diff --git a/snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml b/snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml new file mode 100644 index 00000000..0dc956bb --- /dev/null +++ b/snippets/hr_holidays.view_holiday_pivot.x_number_of_hours.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/snippets/hr_payroll.md b/snippets/hr_payroll.md index 8f15b5cb..1450f672 100644 --- a/snippets/hr_payroll.md +++ b/snippets/hr_payroll.md @@ -57,6 +57,228 @@ ID: `mint_system.hr_payroll.hr_salary_rule_form.switch_account` ``` Source: [snippets/hr_payroll.hr_salary_rule_form.switch_account.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_payroll.hr_salary_rule_form.switch_account.xml) +## Report Payslip +### Gio Custom Payroll +ID: `mint_system.hr_payroll.report_payslip.gio_custom_payroll` +```xml + + + + + + +``` +Source: [snippets/hr_payroll.report_payslip.gio_custom_payroll.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_payroll.report_payslip.gio_custom_payroll.xml) + ## View Hr Payslip Form ### Show Gio Amount ID: `mint_system.hr_payroll.view_hr_payslip_form.show_gio_amount` diff --git a/snippets/hr_payroll.report_payslip.gio_custom_payroll.xml b/snippets/hr_payroll.report_payslip.gio_custom_payroll.xml new file mode 100644 index 00000000..7cedbf60 --- /dev/null +++ b/snippets/hr_payroll.report_payslip.gio_custom_payroll.xml @@ -0,0 +1,215 @@ + + + + + + \ No newline at end of file diff --git a/snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml b/snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml new file mode 100644 index 00000000..b8a5d201 --- /dev/null +++ b/snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml b/snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml new file mode 100644 index 00000000..3c4bc63c --- /dev/null +++ b/snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml @@ -0,0 +1,8 @@ + + + + + 1 + + + diff --git a/snippets/hr_timesheet.md b/snippets/hr_timesheet.md index 934fdece..b07c2bdc 100644 --- a/snippets/hr_timesheet.md +++ b/snippets/hr_timesheet.md @@ -3,6 +3,21 @@ prev: ./snippets.md --- # Hr Timesheet ## Hr Timesheet Line Tree +### Disable Editable +ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.disable_editable` +```xml + + + + + + + + + +``` +Source: [snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_timesheet.hr_timesheet_line_tree.disable_editable.xml) + ### Invoice Details ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.invoice_details` ```xml @@ -38,6 +53,21 @@ ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.show_partner_id` ``` Source: [snippets/hr_timesheet.hr_timesheet_line_tree.show_partner_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_timesheet.hr_timesheet_line_tree.show_partner_id.xml) +### Taks Id Required +ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.taks_id_required` +```xml + + + + + 1 + + + + +``` +Source: [snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/hr_timesheet.hr_timesheet_line_tree.taks_id_required.xml) + ## Portal My Timesheets ### Show Billable ID: `mint_system.hr_timesheet.portal_my_timesheets.show_billable` diff --git a/snippets/ir_model.account_move.x_duplicate_found.xml b/snippets/ir_model.account_move.x_duplicate_found.xml new file mode 100644 index 00000000..5b0c2b3e --- /dev/null +++ b/snippets/ir_model.account_move.x_duplicate_found.xml @@ -0,0 +1,30 @@ + + + + + [] + Duplikat Gefunden + account.move + + x_duplicate_found + + + + boolean + partner_id,amount_total,state + for rec in self: + if rec.state == 'draft' and rec.move_type == 'in_invoice': + invoice_id = self.env['account.move'].search([ + ('state', '=', 'posted'), + ('partner_id', '=', rec.partner_id.id), + ('amount_total', '=', rec.amount_total) + ], limit=1) + if invoice_id: + rec['x_duplicate_found'] = True + else: + rec['x_duplicate_found'] = False + else: + rec['x_duplicate_found'] = False + + + diff --git a/snippets/ir_model.hr_leave.x_number_of_hours.xml b/snippets/ir_model.hr_leave.x_number_of_hours.xml new file mode 100644 index 00000000..63c1317d --- /dev/null +++ b/snippets/ir_model.hr_leave.x_number_of_hours.xml @@ -0,0 +1,19 @@ + + + + + [] + Dauer (Stunden) + hr.leave + + x_number_of_hours + + + + float + number_of_hours_display + for leave in self: + leave['x_number_of_hours'] = round(leave.number_of_hours_display, 2)ld> + + + diff --git a/snippets/ir_model.md b/snippets/ir_model.md index 2c254b31..98c49bbb 100644 --- a/snippets/ir_model.md +++ b/snippets/ir_model.md @@ -142,6 +142,43 @@ ID: `mint_system.ir_model.account_move.x_date_done` ``` Source: [snippets/ir_model.account_move.x_date_done.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_date_done.xml) +### X Duplicate Found +ID: `mint_system.ir_model.account_move.x_duplicate_found` +```xml + + + + + [] + Duplikat Gefunden + account.move + + x_duplicate_found + + + + boolean + partner_id,amount_total,state + for rec in self: + if rec.state == 'draft' and rec.move_type == 'in_invoice': + invoice_id = self.env['account.move'].search([ + ('state', '=', 'posted'), + ('partner_id', '=', rec.partner_id.id), + ('amount_total', '=', rec.amount_total) + ], limit=1) + if invoice_id: + rec['x_duplicate_found'] = True + else: + rec['x_duplicate_found'] = False + else: + rec['x_duplicate_found'] = False + + + + +``` +Source: [snippets/ir_model.account_move.x_duplicate_found.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_duplicate_found.xml) + ### X Picking List ID: `mint_system.ir_model.account_move.x_picking_list` ```xml @@ -553,6 +590,33 @@ ID: `mint_system.ir_model.hr_contract.x_struct_id` ``` Source: [snippets/ir_model.hr_contract.x_struct_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.hr_contract.x_struct_id.xml) +## Hr Leave +### X Number Of Hours +ID: `mint_system.ir_model.hr_leave.x_number_of_hours` +```xml + + + + + [] + Dauer (Stunden) + hr.leave + + x_number_of_hours + + + + float + number_of_hours_display + for leave in self: + leave['x_number_of_hours'] = round(leave.number_of_hours_display, 2)ld> + + + + +``` +Source: [snippets/ir_model.hr_leave.x_number_of_hours.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.hr_leave.x_number_of_hours.xml) + ## Hr Payslip Line ### X Code Name ID: `mint_system.ir_model.hr_payslip_line.x_code_name` @@ -873,6 +937,29 @@ ID: `mint_system.ir_model.product_template.x_hide_on_delivery` ``` Source: [snippets/ir_model.product_template.x_hide_on_delivery.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.product_template.x_hide_on_delivery.xml) +### X Hide On Sale Order +ID: `mint_system.ir_model.product_template.x_hide_on_sale_order` +```xml + + + + + [] + Auf Verkaufsangebot ausblenden + product.template + + x_hide_on_sale_order + + + + boolean + + + + +``` +Source: [snippets/ir_model.product_template.x_hide_on_sale_order.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.product_template.x_hide_on_sale_order.xml) + ### X Product Label ID: `mint_system.ir_model.product_template.x_product_label` ```xml @@ -965,14 +1052,13 @@ ID: `mint_system.ir_model.project_task.x_business_requirement_id` x_business_requirement_id manual - - + + many2one business.requirement - project_id,name - for record in self: - record['x_business_requirement_id'] = self.env['business.requirement'].search([('x_task_id', '=', record.id)], limit=1) - + project_id,name,partner_id + for rec in self: + rec['x_business_requirement_id'] = self.env['business.requirement'].search([('x_task_id', '=', rec.id)], limit=1) @@ -980,6 +1066,33 @@ ID: `mint_system.ir_model.project_task.x_business_requirement_id` ``` Source: [snippets/ir_model.project_task.x_business_requirement_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.project_task.x_business_requirement_id.xml) +### X Lead Id +ID: `mint_system.ir_model.project_task.x_lead_id` +```xml + + + + + [] + Lead + crm.lead + + x_lead_id + manual + + + + many2one + crm.lead + project_id,name,partner_id + for rec in self: + rec['x_lead_id'] = self.env['crm.lead'].search([('x_task_id', '=', rec.id)], limit=1) + + + +``` +Source: [snippets/ir_model.project_task.x_lead_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.project_task.x_lead_id.xml) + ### X Vehicle Id ID: `mint_system.ir_model.project_task.x_vehicle_id` ```xml @@ -1245,6 +1358,32 @@ ID: `mint_system.ir_model.res_partner.x_stock_move_ids` ``` Source: [snippets/ir_model.res_partner.x_stock_move_ids.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.res_partner.x_stock_move_ids.xml) +## Sale Blanket Order Line +### X Product Uom Category Id +ID: `mint_system.ir_model.sale_blanket_order_line.x_product_uom_category_id` +```xml + + + + + [] + Kategorie + sale.blanket.order.line + + x_product_uom_category_id + + + + Many2One + uom.category + product_id.uom_id.category_id + + + + +``` +Source: [snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml) + ## Sale Order Line ### X Categ Id ID: `mint_system.ir_model.sale_order_line.x_categ_id` @@ -1511,7 +1650,7 @@ ID: `mint_system.ir_model.sale_order_line.x_weight_delivered` float - qty_delivered + qty_delivered,product_id.weight for rec in self: rec['x_weight_delivered'] = rec.product_id.weight * rec.qty_delivered @@ -1572,6 +1711,58 @@ ID: `mint_system.ir_model.sale_order.x_studio_description` ``` Source: [snippets/ir_model.sale_order.x_studio_description.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.sale_order.x_studio_description.xml) +## Stock Location +### X Should Be Valued +ID: `mint_system.ir_model.stock_location.x_should_be_valued` +```xml + + + + + [] + Should be valued + stock.location + + x_should_be_valued + + + + boolean + usage + for rec in self: + rec['x_should_be_valued'] = rec._should_be_valued() + + + + +``` +Source: [snippets/ir_model.stock_location.x_should_be_valued.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.stock_location.x_should_be_valued.xml) + +## Stock Move Line +### X Position +ID: `mint_system.ir_model.stock_move_line.x_position` +```xml + + + + + [] + Pos + stock.move.line + + x_position + + + + many2one + stock.move + move_id + + + +``` +Source: [snippets/ir_model.stock_move_line.x_position.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.stock_move_line.x_position.xml) + ## Stock Move ### X Count Boxes ID: `mint_system.ir_model.stock_move.x_count_boxes` @@ -1898,3 +2089,37 @@ ID: `mint_system.ir_model.stock_quant.x_last_delivery_partner_id` ``` Source: [snippets/ir_model.stock_quant.x_last_delivery_partner_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.stock_quant.x_last_delivery_partner_id.xml) +## Stock Valuation Layer +### X Quant Location Id +ID: `mint_system.ir_model.stock_valuation_layer.x_quant_location_id` +```xml + + + + + [] + Lagerort Bestand + stock.valuation.layer + + x_quant_location_id + manual + + + + many2one + stock.location + stock_move_id.location_id,stock_move_id.location_dest_id + for record in self: + if (record.stock_move_id.picking_code == "outgoing"): + record['x_quant_location_id'] = record.stock_move_id.location_id.id + elif (record.stock_move_id.picking_code == "incoming"): + record['x_quant_location_id'] = record.stock_move_id.location_dest_id.id + else: + record['x_quant_location_id'] = record.stock_move_id.location_dest_id.id + + + + +``` +Source: [snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml) + diff --git a/snippets/ir_model.product_template.x_hide_on_sale_order.xml b/snippets/ir_model.product_template.x_hide_on_sale_order.xml new file mode 100644 index 00000000..37e8f216 --- /dev/null +++ b/snippets/ir_model.product_template.x_hide_on_sale_order.xml @@ -0,0 +1,16 @@ + + + + + [] + Auf Verkaufsangebot ausblenden + product.template + + x_hide_on_sale_order + + + + boolean + + + diff --git a/snippets/ir_model.project_task.x_business_requirement_id.xml b/snippets/ir_model.project_task.x_business_requirement_id.xml index 75b69a01..d8327982 100644 --- a/snippets/ir_model.project_task.x_business_requirement_id.xml +++ b/snippets/ir_model.project_task.x_business_requirement_id.xml @@ -9,14 +9,13 @@ x_business_requirement_id manual - - + + many2one business.requirement - project_id,name - for record in self: - record['x_business_requirement_id'] = self.env['business.requirement'].search([('x_task_id', '=', record.id)], limit=1) - + project_id,name,partner_id + for rec in self: + rec['x_business_requirement_id'] = self.env['business.requirement'].search([('x_task_id', '=', rec.id)], limit=1) diff --git a/snippets/ir_model.project_task.x_lead_id.xml b/snippets/ir_model.project_task.x_lead_id.xml new file mode 100644 index 00000000..42b64b9d --- /dev/null +++ b/snippets/ir_model.project_task.x_lead_id.xml @@ -0,0 +1,21 @@ + + + + + [] + Lead + crm.lead + + x_lead_id + manual + + + + many2one + crm.lead + project_id,name,partner_id + for rec in self: + rec['x_lead_id'] = self.env['crm.lead'].search([('x_task_id', '=', rec.id)], limit=1) + + + \ No newline at end of file diff --git a/snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml b/snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml new file mode 100644 index 00000000..7556bb43 --- /dev/null +++ b/snippets/ir_model.sale_blanket_order_line.x_product_uom_category_id.xml @@ -0,0 +1,18 @@ + + + + + [] + Kategorie + sale.blanket.order.line + + x_product_uom_category_id + + + + Many2One + uom.category + product_id.uom_id.category_id + + + diff --git a/snippets/ir_model.sale_order_line.x_weight_delivered.xml b/snippets/ir_model.sale_order_line.x_weight_delivered.xml index 4b93df58..8662dce2 100644 --- a/snippets/ir_model.sale_order_line.x_weight_delivered.xml +++ b/snippets/ir_model.sale_order_line.x_weight_delivered.xml @@ -11,7 +11,7 @@ float - qty_delivered + qty_delivered,product_id.weight for rec in self: rec['x_weight_delivered'] = rec.product_id.weight * rec.qty_delivered diff --git a/snippets/ir_model.stock_location.x_should_be_valued.xml b/snippets/ir_model.stock_location.x_should_be_valued.xml new file mode 100644 index 00000000..19258aa4 --- /dev/null +++ b/snippets/ir_model.stock_location.x_should_be_valued.xml @@ -0,0 +1,20 @@ + + + + + [] + Should be valued + stock.location + + x_should_be_valued + + + + boolean + usage + for rec in self: + rec['x_should_be_valued'] = rec._should_be_valued() + + + + \ No newline at end of file diff --git a/snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml b/snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml new file mode 100644 index 00000000..1b438635 --- /dev/null +++ b/snippets/ir_model.stock_valuation_layer.x_quant_location_id.xml @@ -0,0 +1,27 @@ + + + + + [] + Lagerort Bestand + stock.valuation.layer + + x_quant_location_id + manual + + + + many2one + stock.location + stock_move_id.location_id,stock_move_id.location_dest_id + for record in self: + if (record.stock_move_id.picking_code == "outgoing"): + record['x_quant_location_id'] = record.stock_move_id.location_id.id + elif (record.stock_move_id.picking_code == "incoming"): + record['x_quant_location_id'] = record.stock_move_id.location_dest_id.id + else: + record['x_quant_location_id'] = record.stock_move_id.location_dest_id.id + + + + \ No newline at end of file diff --git a/snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml b/snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml new file mode 100644 index 00000000..1b097123 --- /dev/null +++ b/snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/snippets/l10n_ch.md b/snippets/l10n_ch.md index 46fe9cc7..530fc948 100644 --- a/snippets/l10n_ch.md +++ b/snippets/l10n_ch.md @@ -18,6 +18,24 @@ ID: `mint_system.l10n_ch.isr_invoice_form.disable_print_buttons` Source: [snippets/l10n_ch.isr_invoice_form.disable_print_buttons.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/l10n_ch.isr_invoice_form.disable_print_buttons.xml) ## L10n Ch Swissqr Template +### Add Title Padding +ID: `mint_system.l10n_ch.l10n_ch_swissqr_template.add_title_padding` +```xml + + + + + + + + +``` +Source: [snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/l10n_ch.l10n_ch_swissqr_template.add_title_padding.xml) + ### Modify Header Style ID: `mint_system.l10n_ch.l10n_ch_swissqr_template.modify_header_style` ```xml diff --git a/snippets/mail.mail_notification_light.debrand.xml b/snippets/mail.mail_notification_light.debrand.xml new file mode 100644 index 00000000..2db46789 --- /dev/null +++ b/snippets/mail.mail_notification_light.debrand.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/snippets/mail.mail_notification_light.set_model_name.xml b/snippets/mail.mail_notification_light.set_model_name.xml new file mode 100644 index 00000000..1e584f44 --- /dev/null +++ b/snippets/mail.mail_notification_light.set_model_name.xml @@ -0,0 +1,8 @@ + + + + +
+
+ +
\ No newline at end of file diff --git a/snippets/mail.mail_notification_paynow.set_model_name.xml b/snippets/mail.mail_notification_paynow.set_model_name.xml new file mode 100644 index 00000000..47bd3d44 --- /dev/null +++ b/snippets/mail.mail_notification_paynow.set_model_name.xml @@ -0,0 +1,8 @@ + + + + +
+
+ +
\ No newline at end of file diff --git a/snippets/mail.md b/snippets/mail.md index 9db83862..7adaaeb3 100644 --- a/snippets/mail.md +++ b/snippets/mail.md @@ -138,6 +138,19 @@ ID: `mint_system.mail.mail_notification_light.align_left` ``` Source: [snippets/mail.mail_notification_light.align_left.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.align_left.xml) +### Debrand +ID: `mint_system.mail.mail_notification_light.debrand` +```xml + + + + + + + +``` +Source: [snippets/mail.mail_notification_light.debrand.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.debrand.xml) + ### Reduce To Content ID: `mint_system.mail.mail_notification_light.reduce_to_content` ```xml @@ -207,6 +220,20 @@ ID: `mint_system.mail.mail_notification_light.replace_footer` ``` Source: [snippets/mail.mail_notification_light.replace_footer.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.replace_footer.xml) +### Set Model Name +ID: `mint_system.mail.mail_notification_light.set_model_name` +```xml + + + + +
+
+ +
+``` +Source: [snippets/mail.mail_notification_light.set_model_name.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.set_model_name.xml) + ### White Background ID: `mint_system.mail.mail_notification_light.white_background` ```xml @@ -320,6 +347,20 @@ ID: `mint_system.mail.mail_notification_paynow.replace_footer` ``` Source: [snippets/mail.mail_notification_paynow.replace_footer.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_paynow.replace_footer.xml) +### Set Model Name +ID: `mint_system.mail.mail_notification_paynow.set_model_name` +```xml + + + + +
+
+ +
+``` +Source: [snippets/mail.mail_notification_paynow.set_model_name.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_paynow.set_model_name.xml) + ### White Background ID: `mint_system.mail.mail_notification_paynow.white_background` ```xml @@ -368,3 +409,22 @@ ID: `mint_system.mail.message_activity_assigned.remove_access_link` ``` Source: [snippets/mail.message_activity_assigned.remove_access_link.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.message_activity_assigned.remove_access_link.xml) +### Set Access Link My Activities +ID: `mint_system.mail.message_activity_assigned.set_access_link_my_activities` +```xml + + + + +

+ + My Activities + + +

+
+ +
+``` +Source: [snippets/mail.message_activity_assigned.set_access_link_my_activities.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.message_activity_assigned.set_access_link_my_activities.xml) + diff --git a/snippets/mail.message_activity_assigned.set_access_link_my_activities.xml b/snippets/mail.message_activity_assigned.set_access_link_my_activities.xml new file mode 100644 index 00000000..c736e013 --- /dev/null +++ b/snippets/mail.message_activity_assigned.set_access_link_my_activities.xml @@ -0,0 +1,13 @@ + + + + +

+ + My Activities + + +

+
+ +
\ No newline at end of file diff --git a/snippets/mrp.label_production_view_pdf.trimada.xml b/snippets/mrp.label_production_view_pdf.trimada.xml index 252d4a31..63bbb8c1 100644 --- a/snippets/mrp.label_production_view_pdf.trimada.xml +++ b/snippets/mrp.label_production_view_pdf.trimada.xml @@ -19,7 +19,7 @@ font-weight: bold; text-align: center; border-bottom: solid 1px; - line-height: 30mm; + line-height: 1; } .description { font-size: 9mm; @@ -64,7 +64,7 @@
-
+
diff --git a/snippets/mrp.md b/snippets/mrp.md index 02018fee..781cfeff 100644 --- a/snippets/mrp.md +++ b/snippets/mrp.md @@ -248,7 +248,7 @@ ID: `mint_system.mrp.label_production_view_pdf.trimada` font-weight: bold; text-align: center; border-bottom: solid 1px; - line-height: 30mm; + line-height: 1; } .description { font-size: 9mm; @@ -293,7 +293,7 @@ ID: `mint_system.mrp.label_production_view_pdf.trimada`
-
+
diff --git a/snippets/product.md b/snippets/product.md index fb7fca82..78757e70 100644 --- a/snippets/product.md +++ b/snippets/product.md @@ -2,6 +2,48 @@ prev: ./snippets.md --- # Product +## Product Normal Form View +### Add Feeder Id +ID: `mint_system.product.product_normal_form_view.add_feeder_id` +```xml + + + + + + + +``` +Source: [snippets/product.product_normal_form_view.add_feeder_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_normal_form_view.add_feeder_id.xml) + +### Hide Default Code +ID: `mint_system.product.product_normal_form_view.hide_default_code` +```xml + + + + + + +``` +Source: [snippets/product.product_normal_form_view.hide_default_code.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_normal_form_view.hide_default_code.xml) + +### Relocate Barcode +ID: `mint_system.product.product_normal_form_view.relocate_barcode` +```xml + + + + + + + + + + +``` +Source: [snippets/product.product_normal_form_view.relocate_barcode.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_normal_form_view.relocate_barcode.xml) + ## Product Normal Only Form View ### Add X Product Label ID: `mint_system.product.product_normal_only_form_view.add_x_product_label` @@ -318,6 +360,20 @@ ID: `mint_system.product.product_template_only_form_view.x_hide_on_delivery` ``` Source: [snippets/product.product_template_only_form_view.x_hide_on_delivery.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_only_form_view.x_hide_on_delivery.xml) +### X Hide On Sale Order +ID: `mint_system.product.product_template_only_form_view.x_hide_on_sale_order` +```xml + + + + + + + + +``` +Source: [snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml) + ### X Storage Temperature ID: `mint_system.product.product_template_only_form_view.x_storage_temperature` ```xml @@ -348,6 +404,20 @@ ID: `mint_system.product.product_template_search_view.add_type_description` ``` Source: [snippets/product.product_template_search_view.add_type_description.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_search_view.add_type_description.xml) +### Modify Name +ID: `mint_system.product.product_template_search_view.modify_name` +```xml + + + + + + + + +``` +Source: [snippets/product.product_template_search_view.modify_name.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_search_view.modify_name.xml) + ## Product Template Tree View ### Add Default Code And Type Description ID: `mint_system.product.product_template_tree_view.add_default_code_and_type_description` @@ -482,6 +552,7 @@ ID: `mint_system.product.report_producttemplatelabel.trimada` font-weight: bold; text-align: center; border-bottom: solid 1px; + line-height: 1; } .frame { border-bottom: solid 1px; @@ -522,7 +593,7 @@ ID: `mint_system.product.report_producttemplatelabel.trimada`
-
+
diff --git a/snippets/product.product_normal_form_view.add_feeder_id.xml b/snippets/product.product_normal_form_view.add_feeder_id.xml new file mode 100644 index 00000000..a764461c --- /dev/null +++ b/snippets/product.product_normal_form_view.add_feeder_id.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/snippets/product.product_normal_form_view.hide_default_code.xml b/snippets/product.product_normal_form_view.hide_default_code.xml new file mode 100644 index 00000000..3c4f71a6 --- /dev/null +++ b/snippets/product.product_normal_form_view.hide_default_code.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/snippets/product.product_normal_form_view.relocate_barcode.xml b/snippets/product.product_normal_form_view.relocate_barcode.xml new file mode 100644 index 00000000..b9af9e69 --- /dev/null +++ b/snippets/product.product_normal_form_view.relocate_barcode.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml b/snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml new file mode 100644 index 00000000..cc1fa3be --- /dev/null +++ b/snippets/product.product_template_only_form_view.x_hide_on_sale_order.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/snippets/product.product_template_search_view.modify_name.xml b/snippets/product.product_template_search_view.modify_name.xml new file mode 100644 index 00000000..de053cf5 --- /dev/null +++ b/snippets/product.product_template_search_view.modify_name.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/snippets/product.report_producttemplatelabel.trimada.xml b/snippets/product.report_producttemplatelabel.trimada.xml index 0c44465a..0d09f76f 100644 --- a/snippets/product.report_producttemplatelabel.trimada.xml +++ b/snippets/product.report_producttemplatelabel.trimada.xml @@ -21,6 +21,7 @@ font-weight: bold; text-align: center; border-bottom: solid 1px; + line-height: 1; } .frame { border-bottom: solid 1px; @@ -61,7 +62,7 @@
-
+
diff --git a/snippets/project.md b/snippets/project.md index d425e7fd..5b3fa9d1 100644 --- a/snippets/project.md +++ b/snippets/project.md @@ -50,6 +50,83 @@ ID: `mint_system.project.view_task_form2.parent_domain` ``` Source: [snippets/project.view_task_form2.parent_domain.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/project.view_task_form2.parent_domain.xml) +### Remove Timer Buttons +ID: `mint_system.project.view_task_form2.remove_timer_buttons` +```xml + + + + +