forked from OCA/l10n-italy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX l10n_it_withholding_tax metadata
FIX l10n_it_withholding_tax (OCA#416) Gli oggetti withholding.tax.move, withholding.tax.statement e withholding.tax.move.payment si possono eliminare dalla vista elendo dei relativi menu
- Loading branch information
1 parent
76d9ddc
commit 4ca940e
Showing
10 changed files
with
63 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright © 2015 Alessandro Camilli (<http://www.openforce.it>) | ||
# Copyright 2015 Alessandro Camilli (<http://www.openforce.it>) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models, wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<odoo noupdate="1"> | ||
|
||
<record id="seq_wt_move_payment" model="ir.sequence"> | ||
<field name="name">Withholding Tax Move Payment Number</field> | ||
<field name="code">withholding.tax.move.payment</field> | ||
<field eval="4" name="padding"/> | ||
<field name="prefix">WTMP/</field> | ||
<field name="company_id" eval="False"/> | ||
</record> | ||
|
||
</data> | ||
</odoo> | ||
<record id="seq_wt_move_payment" model="ir.sequence"> | ||
<field name="name">Withholding Tax Move Payment Number</field> | ||
<field name="code">withholding.tax.move.payment</field> | ||
<field eval="4" name="padding"/> | ||
<field name="prefix">WTMP/</field> | ||
<field name="company_id" eval="False"/> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<!-- WT move --> | ||
<!-- Workflow definition --> | ||
<odoo> | ||
<!-- WT move --> | ||
<!-- Workflow definition --> | ||
|
||
<record id="wkf_wt_move_payment" model="workflow"> | ||
<field name="name">withholding.tax.move.payment.wkf</field> | ||
<field name="osv">withholding.tax.move.payment</field> | ||
<field name="on_create">True</field> | ||
</record> | ||
<record id="wkf_wt_move_payment" model="workflow"> | ||
<field name="name">withholding.tax.move.payment.wkf</field> | ||
<field name="osv">withholding.tax.move.payment</field> | ||
<field name="on_create">True</field> | ||
</record> | ||
|
||
<record id="act_draft" model="workflow.activity"> | ||
<field name="wkf_id" ref="wkf_wt_move_payment"/> | ||
<field name="name">draft</field> | ||
<field name="kind">function</field> | ||
<field name="action"> | ||
move_payment_to_draft() | ||
</field> | ||
<field name="flow_start">True</field> | ||
</record> | ||
<record id="act_draft" model="workflow.activity"> | ||
<field name="wkf_id" ref="wkf_wt_move_payment"/> | ||
<field name="name">draft</field> | ||
<field name="kind">function</field> | ||
<field name="action"> | ||
move_payment_to_draft() | ||
</field> | ||
<field name="flow_start">True</field> | ||
</record> | ||
|
||
<record id="act_confirmed" model="workflow.activity"> | ||
<field name="wkf_id" ref="wkf_wt_move_payment"/> | ||
<field name="name">confirmed</field> | ||
<field name="kind">function</field> | ||
<field name="action"> | ||
move_payment_confirmed() | ||
</field> | ||
</record> | ||
<record id="act_confirmed" model="workflow.activity"> | ||
<field name="wkf_id" ref="wkf_wt_move_payment"/> | ||
<field name="name">confirmed</field> | ||
<field name="kind">function</field> | ||
<field name="action"> | ||
move_payment_confirmed() | ||
</field> | ||
</record> | ||
|
||
|
||
<!-- transitions --> | ||
<record id="rec_move_payment_t1" model="workflow.transition"> | ||
<field name="act_from" ref="act_draft"/> | ||
<field name="act_to" ref="act_confirmed"/> | ||
<field name="signal">confirmed</field> | ||
<field name="group_id" ref="base.group_user"/> | ||
</record> | ||
<!-- transitions --> | ||
<record id="rec_move_payment_t1" model="workflow.transition"> | ||
<field name="act_from" ref="act_draft"/> | ||
<field name="act_to" ref="act_confirmed"/> | ||
<field name="signal">confirmed</field> | ||
<field name="group_id" ref="base.group_user"/> | ||
</record> | ||
|
||
<record id="rec_move_payment_t3" model="workflow.transition"> | ||
<field name="act_from" ref="act_confirmed"/> | ||
<field name="act_to" ref="act_draft"/> | ||
<field name="signal">cancel</field> | ||
</record> | ||
</data> | ||
<record id="rec_move_payment_t3" model="workflow.transition"> | ||
<field name="act_from" ref="act_confirmed"/> | ||
<field name="act_to" ref="act_draft"/> | ||
<field name="signal">cancel</field> | ||
</record> | ||
|
||
</openerp> | ||
</odoo> |