Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
tpv_correcciones
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 9a4d9f3d
authored
2021-03-06 18:01:55 -0300
by
adrian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Se pasa a productivo
1 parent
a1e87b05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
security/ir.model.access.csv
views/comprobante.xml
security/ir.model.access.csv
View file @
9a4d9f3
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_asw_referencias,access_asw_referencias,model_asw_referencias,,1,1,1,0
\ No newline at end of file
\ No newline at end of file
access_asw_referencias,access_asw_referencias,model_asw_referencias,asw_tpv.module_category_asw_falange_usuario,1,1,1,0
access_hgt_refcompra,access_hgt_refcompra,model_hgt_refcompra,asw_tpv.module_category_asw_falange_usuario,1,1,1,0
\ No newline at end of file
\ No newline at end of file
views/comprobante.xml
View file @
9a4d9f3
...
@@ -10,24 +10,26 @@
...
@@ -10,24 +10,26 @@
<button
name=
"abrir_wizard_ppf"
class=
'btn btn-primary'
string=
"+ Producto por precio final"
type=
"object"
attrs=
"{'invisible':[('comp_estado','!=','b')]}"
/>
<button
name=
"abrir_wizard_ppf"
class=
'btn btn-primary'
string=
"+ Producto por precio final"
type=
"object"
attrs=
"{'invisible':[('comp_estado','!=','b')]}"
/>
</xpath>
</xpath>
<xpath
expr=
"//group[1]"
position=
"after"
>
<xpath
expr=
"//group[1]"
position=
"after"
>
<group
string=
"Referencias"
col=
"
4
"
>
<group
string=
"Referencias"
col=
"
2
"
>
<
field
name=
"referencia_corr"
widget=
"many2many_tags"
/
>
<
!--<field name="referencia_corr" widget="many2many_tags" />--
>
<field
name=
"referencia_compras_corr"
widget=
"many2many_tags"
/>
<field
name=
"referencia_compras_corr"
widget=
"many2many_tags"
/>
</group>
</group>
</xpath>
</xpath>
</data>
</data>
</field>
</field>
</record>
</record>
<!--
<record id="view_form_inherit_comprobante_ui" model="ir.ui.view">
<record id="view_form_inherit_comprobante_ui" model="ir.ui.view">
<field name="name">Comprobante</field>
<field name="name">Comprobante</field>
<field name="model">asw.comprobante</field>
<field name="model">asw.comprobante</field>
<field name="inherit_id" ref="asw_tpv.view_form_comprobante_ui"/>
<field name="inherit_id" ref="asw_tpv.view_form_comprobante_ui"/>
<field name="arch" type="xml">
<field name="arch" type="xml">
<data>
<data>
<xpath expr="//button[@name='imprimir']" position="before">
<xpath expr="//button[@name='imprimir']" position="before">
<button name="abrir_wizard_ppf" class='btn btn-primary' string="+ Producto por precio final" type="object" attrs="{'invisible':[('comp_estado','!=','b')]}"/>
<button name="abrir_wizard_ppf" class='btn btn-primary' string="+ Producto por precio final" type="object" attrs="{'invisible':[('comp_estado','!=','b')]}"/>
</xpath>
</xpath>
<xpath expr="//group[1]" position="after">
<xpath expr="//group[1]" position="after">
<group string="Referencia" col="2">
<group string="Referencia" col="2">
<field name="referencia_corr" colspan="1" nolabel="1" widget="many2many_tags" />
<field name="referencia_corr" colspan="1" nolabel="1" widget="many2many_tags" />
...
@@ -36,8 +38,8 @@
...
@@ -36,8 +38,8 @@
</data>
</data>
</field>
</field>
</record>
</record>
-->
<record
id=
"view_form_inherit_comprobante_afip_ui"
model=
"ir.ui.view"
>
<record
id=
"view_form_inherit_comprobante_afip_ui"
model=
"ir.ui.view"
>
<field
name=
"name"
>
Comprobante
</field>
<field
name=
"name"
>
Comprobante
</field>
<field
name=
"model"
>
asw.comprobante
</field>
<field
name=
"model"
>
asw.comprobante
</field>
<field
name=
"inherit_id"
ref=
"asw_afipws_fe.view_invoice_afipws_fe_form"
/>
<field
name=
"inherit_id"
ref=
"asw_afipws_fe.view_invoice_afipws_fe_form"
/>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment