Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
vauxoo-dev
addons-vauxoo
Commits
14f1b234
Commit
14f1b234
authored
Aug 23, 2013
by
cuevasc79@gmail.com
Browse files
[MERGE] Merge serie 7 to add wizaard_audit in this serie
parents
55c4b269
3f0179c7
Changes
156
Expand all
Hide whitespace changes
Inline
Side-by-side
account_advance_payment/__init__.py
0 → 100644
View file @
14f1b234
# -*- encoding: utf-8 -*-
#
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
model
account_advance_payment/__openerp__.py
0 → 100644
View file @
14f1b234
# -*- encoding: utf-8 -*-
#
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
{
"name"
:
"Account Advance Payment"
,
"version"
:
"1.0"
,
"author"
:
"Vauxoo"
,
"category"
:
"Generic Modules"
,
"description"
:
"""
Account Advance Payment
=======================
This module you can help with advance payment of custom and suppliers.
This module adds the fields Account Supplier Advance, Account Customer Advance,
Total Customer Advance and Total Supplier Advance in the view form of the partner.
Also adds the field Transaction Type in the view payments of customs and suppliers.
"""
,
"website"
:
"http://www.vauxoo.com/"
,
"license"
:
"AGPL-3"
,
"depends"
:
[
"account"
,
"account_voucher"
,
],
"demo"
:
[
],
"data"
:
[
'view/res_partner_advance_payment_view.xml'
,
'view/account_voucher_advance_payment_view.xml'
,
],
"installable"
:
True
,
"active"
:
False
,
}
account_advance_payment/i18n/es.po
0 → 100644
View file @
14f1b234
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * account_advance_payment
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-25 20:41+0000\n"
"PO-Revision-Date: 2013-07-25 20:41+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: account_advance_payment
#: field:res.partner,property_account_customer_advance:0
msgid "Account Customer Advance"
msgstr "Cuenta anticipo clientes"
#. module: account_advance_payment
#: help:res.partner,property_account_supplier_advance:0
msgid "This account will be used for advance payment of suppliers"
msgstr "Esta cuenta se utilizara para los anticipos de los proveedores"
#. module: account_advance_payment
#: help:res.partner,property_account_customer_advance:0
msgid "This account will be used for advance payment of custom"
msgstr "Esta cuenta se utilizara para los anticipos de los clientes"
#. module: account_advance_payment
#: selection:account.voucher,trans_type:0
msgid "Advance"
msgstr "Anticipo"
#. module: account_advance_payment
#: model:ir.model,name:account_advance_payment.model_account_voucher
msgid "Accounting Voucher"
msgstr "Comprobantes contables"
#. module: account_advance_payment
#: field:res.partner,supplier_advance:0
msgid "Total Supplier Advance"
msgstr "Total anticipos proveedores"
#. module: account_advance_payment
#: help:res.partner,supplier_advance:0
msgid "Total amount of advance payment of suppliers."
msgstr "Monto total de avances de proveedores."
#. module: account_advance_payment
#: field:account.voucher,trans_type:0
msgid "Transaction Type"
msgstr "Tipo de transacción"
#. module: account_advance_payment
#: field:res.partner,property_account_supplier_advance:0
msgid "Account Supplier Advance"
msgstr "Cuenta anticipos de proveedores"
#. module: account_advance_payment
#: field:res.partner,customer_advance:0
msgid "Total Customer Advance"
msgstr "Total anticipo clientes"
#. module: account_advance_payment
#: selection:account.voucher,trans_type:0
msgid "Payments"
msgstr "Pagos"
#. module: account_advance_payment
#: help:account.voucher,trans_type:0
msgid "Payments.- Normal payment is made. \n"
"Advance.- Advance payment of custom or supplier"
msgstr "Pagos.- Se realiza el proceso normal de pagos. \n"
"Anticipos.- Se realiza un pago de cliente o proveedor"
#. module: account_advance_payment
#: model:ir.model,name:account_advance_payment.model_res_partner
msgid "Partner"
msgstr "Empresa"
#. module: account_advance_payment
#: help:res.partner,customer_advance:0
msgid "Total amount of advance payment of custom."
msgstr "Monto total de pagos de clientes."
account_advance_payment/i18n/es_MX.po
0 → 100644
View file @
14f1b234
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * account_advance_payment
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-25 20:41+0000\n"
"PO-Revision-Date: 2013-07-25 20:41+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"
account_advance_payment/i18n/es_VE.po
0 → 100644
View file @
14f1b234
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * account_advance_payment
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-25 20:41+0000\n"
"PO-Revision-Date: 2013-07-25 20:41+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"
account_advance_payment/model/__init__.py
0 → 100644
View file @
14f1b234
# -*- encoding: utf-8 -*-
#
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
import
res_partner
import
account_voucher
account_advance_payment/model/account_voucher.py
0 → 100644
View file @
14f1b234
# -*- encoding: utf-8 -*-
#
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
openerp.osv
import
osv
,
fields
class
account_voucher
(
osv
.
Model
):
_inherit
=
'account.voucher'
_columns
=
{
'trans_type'
:
fields
.
selection
([
(
'normal'
,
'Payments'
),
(
'advance'
,
'Advance'
),
],
'Transaction Type'
,
select
=
True
,
track_visibility
=
'always'
,
help
=
"""Payments.- Normal payment is made.
\n
Advance.- Advance payment of custom or supplier"""
),
}
_defaults
=
{
'trans_type'
:
'normal'
,
}
def
onchange_account_advance_payment
(
self
,
cr
,
uid
,
ids
,
trans_type
,
context
=
None
):
return
True
account_advance_payment/model/res_partner.py
0 → 100644
View file @
14f1b234
# -*- encoding: utf-8 -*-
#
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
openerp.osv
import
osv
,
fields
class
res_partner
(
osv
.
Model
):
_inherit
=
'res.partner'
def
_supplier_customer_advance_get
(
self
,
cr
,
uid
,
ids
,
field
,
arg
,
context
=
None
):
res
=
{}
for
id
in
ids
:
res
=
{
id
:
{
'customer_advance'
:
0.0
,
'supplier_advance'
:
0.0
}}
return
res
_columns
=
{
'property_account_supplier_advance'
:
fields
.
property
(
'account.account'
,
type
=
'many2one'
,
relation
=
'account.account'
,
string
=
"Account Supplier Advance"
,
view_load
=
True
,
domain
=
"[('type','=','receivable')]"
,
help
=
"This account will be used for advance payment of suppliers"
),
'property_account_customer_advance'
:
fields
.
property
(
'account.account'
,
type
=
'many2one'
,
relation
=
'account.account'
,
string
=
"Account Customer Advance"
,
view_load
=
True
,
domain
=
"[('type','=','payable')]"
,
help
=
"This account will be used for advance payment of custom"
),
'customer_advance'
:
fields
.
function
(
_supplier_customer_advance_get
,
type
=
'float'
,
string
=
'Total Customer Advance'
,
multi
=
'sc'
,
help
=
"Total amount of advance payment of custom."
),
'supplier_advance'
:
fields
.
function
(
_supplier_customer_advance_get
,
type
=
'float'
,
string
=
'Total Supplier Advance'
,
multi
=
'sc'
,
help
=
"Total amount of advance payment of suppliers."
),
}
account_advance_payment/view/account_voucher_advance_payment_view.xml
0 → 100644
View file @
14f1b234
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record
model=
"ir.ui.view"
id=
"account_voucher_advance_payment_receipt_view"
>
<field
name=
"name"
>
account.voucher.advance.payment.view
</field>
<field
name=
"model"
>
account.voucher
</field>
<field
name=
"inherit_id"
ref=
"account_voucher.view_vendor_receipt_form"
/>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='journal_id']"
position=
"after"
>
<field
name=
"trans_type"
on_change=
"onchange_account_advance_payment(trans_type)"
/>
</xpath>
</field>
</record>
<record
model=
"ir.ui.view"
id=
"account_voucher_advance_payment_payment_view"
>
<field
name=
"name"
>
account.voucher.advance.payment.view
</field>
<field
name=
"model"
>
account.voucher
</field>
<field
name=
"inherit_id"
ref=
"account_voucher.view_vendor_payment_form"
/>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='journal_id']"
position=
"after"
>
<field
name=
"trans_type"
on_change=
"onchange_account_advance_payment(trans_type)"
/>
</xpath>
</field>
</record>
</data>
</openerp>
account_advance_payment/view/res_partner_advance_payment_view.xml
0 → 100644
View file @
14f1b234
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record
model=
"ir.ui.view"
id=
"res_partner_advance_payment_view"
>
<field
name=
"name"
>
res.partner.advance.payment.view
</field>
<field
name=
"model"
>
res.partner
</field>
<field
name=
"inherit_id"
ref=
"base.view_partner_form"
/>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//field[@name='property_account_payable']"
position=
"after"
>
<field
name=
"property_account_supplier_advance"
/>
</xpath>
<xpath
expr=
"//field[@name='credit']"
position=
"after"
>
<field
name=
"customer_advance"
/>
</xpath>
<xpath
expr=
"//field[@name='property_account_receivable']"
position=
"after"
>
<field
name=
"property_account_customer_advance"
/>
</xpath>
<xpath
expr=
"//field[@name='debit']"
position=
"after"
>
<field
name=
"supplier_advance"
/>
</xpath>
</field>
</record>
</data>
</openerp>
account_closure_preparation/__init__.py
0 → 100755
View file @
14f1b234
#!/usr/bin/python
# -*- encoding: utf-8 -*-
###############################################################################
# Module Writen to OpenERP, Open Source Management Solution
# Copyright (C) Vauxoo (<http://www.vauxoo.com>).
# All Rights Reserved
# Credits######################################################
# Coded by: Humberto Arocha <humbertoarocha@gmail.com>
# Planified by: Moises Lopez <moylop260@gmail.com>
# Audited by: Nhomar Hernandez <nhomar@gmail.com>
###############################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
###############################################################################
import
model
account_closure_preparation/__openerp__.py
0 → 100644
View file @
14f1b234
#!/usr/bin/python
# -*- encoding: utf-8 -*-
###############################################################################
# Module Writen to OpenERP, Open Source Management Solution
# Copyright (C) Vauxoo (<http://www.vauxoo.com>).
# All Rights Reserved
# Credits######################################################
# Coded by: Humberto Arocha <humbertoarocha@gmail.com>
# Planified by: Moises Lopez <moylop260@gmail.com>
# Audited by: Nhomar Hernandez <nhomar@gmail.com>
###############################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
###############################################################################
{
"name"
:
"Accounting Closure Preparation"
,
"version"
:
"1.0"
,
"author"
:
"Vauxoo C.A"
,
"website"
:
"http://vauxoo.com"
,
"category"
:
'Accounting'
,
"description"
:
"""
Accounting Closure Preparation.
==============================
Let accounting people do a revision of the Chart of account, in order to avoid
undesirable outcomes when closing a fiscalyear, i.e., transferring balance from
a fiscalyear to be closed to another to be open.
"""
,
"depends"
:
[
'account'
],
"data"
:
[
'view/views.xml'
,
'view/menues_and_actions.xml'
,
],
"js"
:
[],
"qweb"
:
[],
"css"
:
[],
"demo"
:
[],
"test"
:
[],
"installable"
:
True
,
"active"
:
False
,
}
account_closure_preparation/model/__init__.py
0 → 100755
View file @
14f1b234
#!/usr/bin/python
# -*- encoding: utf-8 -*-
###############################################################################
# Module Writen to OpenERP, Open Source Management Solution
# Copyright (C) Vauxoo (<http://www.vauxoo.com>).
# All Rights Reserved
# Credits######################################################
# Coded by: Humberto Arocha <humbertoarocha@gmail.com>
# Planified by: Moises Lopez <moylop260@gmail.com>
# Audited by: Nhomar Hernandez <nhomar@gmail.com>
###############################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
###############################################################################
import
account_closure_preparation
account_closure_preparation/model/account_closure_preparation.py
0 → 100755
View file @
14f1b234
This diff is collapsed.
Click to expand it.
account_closure_preparation/view/menues_and_actions.xml
0 → 100644
View file @
14f1b234
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record
model=
"ir.actions.act_window"
id=
"closure_preparation_action"
>
<field
name=
"name"
>
Closure Preparation
</field>
<field
name=
"res_model"
>
account.closure.preparation
</field>
<field
name=
"type"
>
ir.actions.act_window
</field>
<field
name=
"view_type"
>
form
</field>
<field
name=
"view_mode"
>
tree,form
</field>
<field
name=
"target"
>
inline
</field>
<field
name=
"view_id"
ref=
"account_closure_preparation_view"
/>
</record>
<menuitem
id=
"closure_preparation_menu"
name=
"Closure Preparation"
parent=
"account.menu_account_end_year_treatments"
action=
"closure_preparation_action"
groups=
"account.group_account_manager"
/>
</data>
</openerp>
account_closure_preparation/view/views.xml
0 → 100644
View file @
14f1b234
This diff is collapsed.
Click to expand it.
account_invoice_line_currency/__init__.py
0 → 100644
View file @
14f1b234
#!/usr/bin/python
# -*- encoding: utf-8 -*-
###########################################################################
# Module Writen to OpenERP, Open Source Management Solution
# Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>).
# All Rights Reserved
###############Credits######################################################
# Coded by: Vauxoo C.A.
# Planified by: Humberto Arocha / Nhomar Hernandez
# Audited by: Vauxoo C.A.
#############################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import
model
account_invoice_line_currency/__openerp__.py
0 → 100644
View file @
14f1b234
#!/usr/bin/python
# -*- encoding: utf-8 -*-
###########################################################################
# Module Writen to OpenERP, Open Source Management Solution
# Copyright (C) Vauxoo (<http://vauxoo.com>).
# All Rights Reserved
###############Credits######################################################
# Coded by: Vauxoo C.A.
# Planified by: Humberto Arocha / Nhomar Hernandez
# Audited by: Vauxoo C.A.
#############################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
################################################################################
{
"name"
:
"Account Invoice Line Currency"
,
"version"
:
"1.0"
,
"author"
:
"Vauxoo"
,
"website"
:
"http://vauxoo.com"
,
"category"
:
'Generic Modules/Accounting'
,
"description"
:
"""
"""
,
'init_xml'
:
[],
"depends"
:
[
"account"
],
'update_xml'
:
[
"view/account_invoice_line_view.xml"
],
'demo_xml'
:
[],
'test'
:
[],
'installable'
:
True
,
'active'
:
False
,
}
<