Merge branch 'dev_odex25_purchase' of https://github.com/expsa/odex25-standard-modules into dev_odex25_purchase

This commit is contained in:
Mazen Abdo 2025-07-30 15:46:13 +03:00
commit 69facfa1c4
3 changed files with 23 additions and 6 deletions

View File

@ -372,4 +372,14 @@ msgstr "الكمية"
#. module: odex25_purchase_coc
#: model:ir.model,name:odex25_purchase_coc.model_reject_wizard_coc
msgid "reject.wizard.coc"
msgstr ""
msgstr ""
#. module: odex25_purchase_coc
#: model_terms:ir.ui.view,arch_db:odex25_purchase_coc.report_purchasequotation_document_inherit_description
msgid "Item"
msgstr "المنتج"
#. module: odex25_purchase_coc
#: model_terms:ir.ui.view,arch_db:odex25_purchase_coc.report_purchasequotation_document_inherit_description
msgid "<strong>Description</strong>"
msgstr "<strong>الوصف</strong>"

View File

@ -62,8 +62,8 @@ class PurchaseOrderLine(models.Model):
_inherit = 'purchase.order.line'
coc_id = fields.Many2one('purchase.coc')
description = fields.Text(string="Description")
name = fields.Text(string='Item')
description = fields.Text(string="Order description")
name = fields.Text(string='Product description')
class AccountInvoiceCustom(models.Model):

View File

@ -1,8 +1,11 @@
<odoo>
<template id="report_purchasequotation_document_inherit_description" inherit_id="purchase.report_purchasequotation_document">
<template id="report_purchasequotation_document_inherit_description"
inherit_id="purchase.report_purchasequotation_document">
<xpath expr="//thead/tr/th[@name='th_description']" position="after">
<th name="th_details"><strong>Description</strong></th>
<xpath expr="//thead/tr/th[@name='th_description']" position="after">
<th name="th_details">
<strong>Description</strong>
</th>
</xpath>
<xpath expr="//tbody/t/tr/t[not(@t-else)]/td[@id='product']" position="after">
@ -11,6 +14,10 @@
</td>
</xpath>
<xpath expr="//thead/tr/th[@name='th_description']/strong" position="replace">
<strong t-translate="off">Item</strong>
</xpath>
</template>
</odoo>