Skip to content

[14.0][REM] l10n_br_delivery: remove useless proxy field #3755

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 1 commit into
base: 14.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
1 change: 0 additions & 1 deletion l10n_br_delivery/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import account_move
from . import delivery_carrier
from . import vehicle
from . import sale_order
Expand Down
12 changes: 0 additions & 12 deletions l10n_br_delivery/models/account_move.py

This file was deleted.

7 changes: 0 additions & 7 deletions l10n_br_delivery/models/document_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ def _get_default_incoterm(self):
" transactions.",
)

# proxy fields to enable writing the related (shadowed) fields
# to the fiscal doc line from the aml through the _inherits system
# despite they have the same names.
fiscal_proxy_incoterm_id = fields.Many2one(
string="Fiscal Proxy Incoterm", related="incoterm_id"
)

carrier_id = fields.Many2one(
comodel_name="delivery.carrier",
string="Carrier",
Expand Down