mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-26 16:42:06 +02:00
19.0 vanilla
This commit is contained in:
parent
7dc55599c6
commit
7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions
|
|
@ -10,38 +10,15 @@ pip install odoo-bringout-oca-ocb-l10n_in_stock
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- l10n_in
|
||||
- stock
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Indian - Stock Report(GST)
|
||||
- **Version**: 1.0
|
||||
- **Category**: Accounting/Localizations
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: True
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_in_stock`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_in_stock
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
This package preserves the original LGPL-3 license.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
{
|
||||
'name': 'Indian - Stock Report(GST)',
|
||||
'icon': '/l10n_in/static/description/icon.png',
|
||||
'version': '1.0',
|
||||
'description': """GST Stock Report""",
|
||||
'category': 'Accounting/Localizations',
|
||||
|
|
@ -19,5 +18,6 @@
|
|||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'author': 'Odoo S.A.',
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
<odoo>
|
||||
<data noupdate="1">
|
||||
<record id="stock.product_cable_management_box" model="product.product">
|
||||
<field name="l10n_in_hsn_code">4819.60.00</field>
|
||||
<field name="l10n_in_hsn_description">Box files, letter trays, storage boxes and similar articles, of a kind used in offices, shops or the like</field>
|
||||
<field name="l10n_in_hsn_code">48196000</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
50
odoo-bringout-oca-ocb-l10n_in_stock/l10n_in_stock/i18n/hi.po
Normal file
50
odoo-bringout-oca-ocb-l10n_in_stock/l10n_in_stock/i18n/hi.po
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_in_stock
|
||||
#
|
||||
# Weblate <noreply-mt-weblate@weblate.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 19.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-12-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2025-11-17 03:12+0000\n"
|
||||
"Last-Translator: Weblate <noreply-mt-weblate@weblate.org>\n"
|
||||
"Language-Team: Hindi <https://translate.odoo.com/projects/odoo-19-l10n/"
|
||||
"l10n_in_stock/hi/>\n"
|
||||
"Language: hi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n==0 || n==1);\n"
|
||||
"X-Generator: Weblate 5.12.2\n"
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_in_stock.gst_report_picking_inherit
|
||||
msgid "<strong class=\"ml16\">HSN/SAC Code:</strong>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_move__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_picking__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "डिस्प्ले का नाम"
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_move__id
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_picking__id
|
||||
msgid "ID"
|
||||
msgstr "आईडी"
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model,name:l10n_in_stock.model_stock_move
|
||||
msgid "Stock Move Ewaybill"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model,name:l10n_in_stock.model_stock_picking
|
||||
msgid "Stock Picking - Delivery Guide (Uruguay)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Transfer"
|
||||
#~ msgstr "स्थानांतरण"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_in_stock
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 19.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-12-30 19:07+0000\n"
|
||||
"PO-Revision-Date: 2025-12-30 19:07+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_in_stock.gst_report_picking_inherit
|
||||
msgid "<strong class=\"ml16\">HSN/SAC Code:</strong>"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_move__display_name
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_picking__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_move__id
|
||||
#: model:ir.model.fields,field_description:l10n_in_stock.field_stock_picking__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model,name:l10n_in_stock.model_stock_move
|
||||
msgid "Stock Move Ewaybill"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_in_stock
|
||||
#: model:ir.model,name:l10n_in_stock.model_stock_picking
|
||||
msgid "Stock Picking - Delivery Guide (Uruguay)"
|
||||
msgstr ""
|
||||
|
|
@ -2,3 +2,4 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import stock_picking
|
||||
from . import stock_move
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class StockMove(models.Model):
|
||||
_inherit = "stock.move"
|
||||
|
||||
def _l10n_in_get_product_price_unit(self):
|
||||
self.ensure_one()
|
||||
return self.product_id.uom_id._compute_price(
|
||||
self.product_id.with_company(self.company_id).standard_price, self.product_uom
|
||||
)
|
||||
|
||||
def _l10n_in_get_product_tax(self):
|
||||
self.ensure_one()
|
||||
return {
|
||||
'is_from_order': False,
|
||||
'taxes': (
|
||||
self.picking_code == "incoming" and
|
||||
self.product_id.supplier_taxes_id or self.product_id.taxes_id
|
||||
),
|
||||
}
|
||||
|
|
@ -10,3 +10,24 @@ class StockPicking(models.Model):
|
|||
def _should_generate_commercial_invoice(self):
|
||||
super(StockPicking, self)._should_generate_commercial_invoice()
|
||||
return True
|
||||
|
||||
def _get_l10n_in_dropship_dest_partner(self):
|
||||
"""
|
||||
To be overriden by `l10n_in_purchase_stock` will be ideal to use it for `l10n_in_ewaybill_stock`
|
||||
returns destination partner from purchase_id
|
||||
"""
|
||||
pass
|
||||
|
||||
def _l10n_in_get_invoice_partner(self):
|
||||
"""
|
||||
To be overriden by `l10n_in_sale_stock` will be ideal to use it for `l10n_in_ewaybill_stock`
|
||||
returns invoice partner from sale_id
|
||||
"""
|
||||
pass
|
||||
|
||||
def _l10n_in_get_fiscal_position(self):
|
||||
"""
|
||||
To be inherited by `l10n_in_*_stock` will be ideal to use it for `l10n_in_ewaybill_stock`
|
||||
returns fiscal position from order
|
||||
"""
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@
|
|||
<odoo>
|
||||
|
||||
<template id="gst_report_picking_inherit" inherit_id="stock.report_picking">
|
||||
<xpath expr="//span[@t-field='ml.product_id.description_picking']" position="after">
|
||||
<t t-if="ml.product_id and ml.product_id.l10n_in_hsn_code and o.company_id.account_fiscal_country_id.code == 'IN'"><h6><strong class="ml16">HSN/SAC Code:</strong> <span t-field="ml.product_id.l10n_in_hsn_code"/></h6></t>
|
||||
<xpath expr="//span[@t-out='move.description_picking']" position="after">
|
||||
<h6 t-if="move.product_id and move.product_id.l10n_in_hsn_code and o.company_id.account_fiscal_country_id.code == 'IN'">
|
||||
<strong class="ml16">HSN/SAC Code:</strong> <span t-field="move.product_id.l10n_in_hsn_code"/>
|
||||
</h6>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_in_stock"
|
||||
version = "16.0.0"
|
||||
description = "Indian - Stock Report(GST) - Odoo addon"
|
||||
description = "Indian - Stock Report(GST) -
|
||||
Odoo addon
|
||||
"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-l10n_in>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-stock>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-l10n_in>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-stock>=19.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
|
|
@ -17,7 +19,7 @@ classifiers = [
|
|||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue