8000 [FIX] l10n_uy_edi_stock: removed dependency to avoid migration problems by jue-adhoc · Pull Request #347 · ingadhoc/uruguay · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FIX] l10n_uy_edi_stock: removed dependency to avoid migration problems #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions l10n_uy_edi_stock/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": """Uruguay - E-Remitos""",
"version": "18.0.1.0.0",
"version": "18.0.1.1.0",
"category": "Accounting/Localizations/EDI",
"countries": ["uy"],
"sequence": 12,
"author": "ADHOC SA",
"depends": [
"l10n_uy_edi", # we needed because we extend views
"l10n_uy_ux",
"stock_account",
"sale_stock",
],
Expand Down
1 change: 0 additions & 1 deletion l10n_uy_edi_stock/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from . import l10n_latam_document_type
from . import l10n_uy_addenda
from . import l10n_uy_edi_document
from . import stock_move
from . import stock_picking
7 changes: 0 additions & 7 deletions l10n_uy_edi_stock/models/l10n_uy_addenda.py

This file was deleted.

1 change: 0 additions & 1 deletion l10n_uy_edi_stock/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ class StockMove(models.Model):
l10n_uy_edi_addenda_ids = fields.Many2many(
"l10n_uy_edi.addenda",
string="Mandatory Disclosures",
domain="[('type', '=', 'item'), ('apply_on', 'in', ['all', 'stock.picking'])]",
>
)
1 change: 0 additions & 1 deletion l10n_uy_edi_stock/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class StockPicking(models.Model):
l10n_uy_edi_addenda_ids = fields.Many2many(
"l10n_uy_edi.addenda",
string="Addenda & Disclosure",
domain="[('type', 'in', ['issuer', 'receiver', 'cfe_doc', 'addenda']), ('apply_on', 'in', ['all', 'stock.picking'])]",
help="Addendas and Mandatory Disclosure to add on the CFE. They can be added either to the issuer, receiver,"
" cfe doc additional info section or to the addenda section. However, the item type should not be set in"
" this field; instead, it should be specified in the invoice lines.",
Expand Down
2 changes: 1 addition & 1 deletion l10n_uy_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Localization",
"countries": ["uy"],
"license": "LGPL-3",
"version": "18.0.1.10.0",
"version": "18.0.1.11.0",
"depends": [
"l10n_uy_edi",
"certificate",
Expand Down
1 change: 1 addition & 0 deletions l10n_uy_ux/models/l10n_uy_addenda.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class L10nUyAddenda(models.Model):
[
("all", "All CFE"),
("account.move", "Invoices and Tickets"),
("stock.picking", "Delivery Guide"),
],
default="account.move",
)
0