File tree Expand file tree Collapse file tree 9 files changed +28
-22
lines changed
Expand file tree Collapse file tree 9 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Maintenance Account
77 !! This file is generated by oca-gen-addon-readme !!
88 !! changes will be overwritten. !!
99 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10- !! source digest: sha256:4ea4d1ebecd2ebd0575d12df83833d26aa1b2f612897206ceec4f4aaa8382059
10+ !! source digest: sha256:f9abd934016a986a5b9dd883b08f6af2e4a5f728f3ea4f4fe0b1ad56ff996d7c
1111 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313.. |badge1 | image :: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -77,6 +77,10 @@ Contributors
7777 - Pedro M. Baeza
7878 - Carolina Fernandez
7979
80+ - `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io >`__
81+
82+ - Bhavesh Heliconia
83+
8084Maintainers
8185-----------
8286
Original file line number Diff line number Diff line change 11# Copyright 2022 Tecnativa - Víctor Martínez
2+ # Copyright 2024 Tecnativa - Carolina Fernandez
23# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
34{
45 "name" : "Maintenance Account" ,
5- "version" : "16 .0.1.1 .0" ,
6+ "version" : "18 .0.1.0 .0" ,
67 "category" : "Maintenance" ,
78 "website" : "https://github.com/OCA/maintenance" ,
89 "author" : "Tecnativa, Odoo Community Association (OCA)" ,
Original file line number Diff line number Diff line change @@ -65,7 +65,5 @@ msgstr "Asiento"
6565msgid "Move line"
6666msgstr "Apunte"
6767
68- #. module: maintenance_account
69- #: model:ir.model.fields,help: maintenance_account.field_maintenance_equipment__move_id
70- msgid "The move of this entry line."
71- msgstr "El movimiento de esta línea de entrada."
68+ #~ msgid "The move of this entry line."
69+ #~ msgstr "El movimiento de esta línea de entrada."
Original file line number Diff line number Diff line change @@ -64,7 +64,5 @@ msgstr "Movimento"
6464msgid "Move line"
6565msgstr "Riga movimento"
6666
67- #. module: maintenance_account
68- #: model:ir.model.fields,help: maintenance_account.field_maintenance_equipment__move_id
69- msgid "The move of this entry line."
70- msgstr "Il movimento per questa riga di registrazione."
67+ #~ msgid "The move of this entry line."
68+ #~ msgstr "Il movimento per questa riga di registrazione."
Original file line number Diff line number Diff line change 44#
55msgid ""
66msgstr ""
7- "Project-Id-Version : Odoo Server 16 .0\n "
7+ "Project-Id-Version : Odoo Server 17 .0\n "
88"Report-Msgid-Bugs-To : \n "
99"Last-Translator : \n "
1010"Language-Team : \n "
Original file line number Diff line number Diff line change 33 - Víctor Martínez
44 - Pedro M. Baeza
55 - Carolina Fernandez
6+ - [ Heliconia Solutions Pvt. Ltd.] ( https://www.heliconia.io )
7+ - Bhavesh Heliconia
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ <h1 class="title">Maintenance Account</h1>
367367!! This file is generated by oca-gen-addon-readme !!
368368!! changes will be overwritten. !!
369369!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370- !! source digest: sha256:4ea4d1ebecd2ebd0575d12df83833d26aa1b2f612897206ceec4f4aaa8382059
370+ !! source digest: sha256:f9abd934016a986a5b9dd883b08f6af2e4a5f728f3ea4f4fe0b1ad56ff996d7c
371371!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372< p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/maintenance/tree/18.0/maintenance_account "> < img alt ="OCA/maintenance " src ="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_account "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=18.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373373< p > This module automatically creates the equipment when validating the
@@ -424,6 +424,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
424424< li > Carolina Fernandez</ li >
425425</ ul >
426426</ li >
427+ < li > < a class ="reference external " href ="https://www.heliconia.io "> Heliconia Solutions Pvt. Ltd.</ a > < ul >
428+ < li > Bhavesh Heliconia</ li >
429+ </ ul >
430+ </ li >
427431</ ul >
428432</ div >
429433< div class ="section " id ="maintainers ">
Original file line number Diff line number Diff line change 33# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
44
55from odoo import fields
6- from odoo .tests import Form , common , new_test_user
6+ from odoo .tests import Form , new_test_user
77from odoo .tests .common import users
88
9- from odoo .addons .base .tests .common import DISABLED_MAIL_CONTEXT
9+ from odoo .addons .base .tests .common import BaseCommon
1010
1111
12- class TestAccountMove (common . TransactionCase ):
12+ class TestAccountMove (BaseCommon ):
1313 @classmethod
1414 def setUpClass (cls ):
1515 super ().setUpClass ()
16- cls .env = cls .env (context = dict (cls .env .context , ** DISABLED_MAIL_CONTEXT ))
1716 new_test_user (
1817 cls .env , login = "test-account-user" , groups = "account.group_account_invoice"
1918 )
Original file line number Diff line number Diff line change 1111 type =" object"
1212 class =" oe_stat_button"
1313 icon =" fa-cubes"
14- attrs = " {'invisible': [(' equipment_count', '=', 0)]} "
14+ invisible = " not equipment_count"
1515 groups =" account.group_account_invoice"
1616 >
1717 <field
2323 </button >
2424 </xpath >
2525 <xpath
26- expr =" //field[@name='invoice_line_ids']/tree /field[@name='quantity']"
26+ expr =" //field[@name='invoice_line_ids']/list /field[@name='quantity']"
2727 position =" before"
2828 >
2929 <field
3030 name =" equipment_category_id"
31- attrs = " {'column_invisible': [(' parent.move_type', '!=', 'in_invoice')]} "
31+ column_invisible = " parent.move_type != 'in_invoice'"
3232 optional =" hide"
3333 groups =" account.group_account_invoice"
3434 />
3535 <field
3636 name =" equipment_ids"
37- invisible =" 1"
37+ column_invisible =" 1"
3838 groups =" account.group_account_invoice"
3939 />
4040 </xpath >
4141 <xpath
42- expr =" //notebook//field[@name='line_ids']/tree /field[@name='date_maturity']"
42+ expr =" //notebook//field[@name='line_ids']/list /field[@name='date_maturity']"
4343 position =" after"
4444 >
4545 <field
5050 />
5151 <field
5252 name =" equipment_ids"
53- invisible =" 1"
53+ column_invisible =" 1"
5454 groups =" account.group_account_invoice"
5555 />
5656 </xpath >
You can’t perform that action at this time.
0 commit comments